Skip to content

Commit

Permalink
Merge pull request #1145 from nunocoracao/dev
Browse files Browse the repository at this point in the history
🔖 v2.49.1
  • Loading branch information
nunocoracao authored Jan 4, 2024
2 parents 96cbca1 + 697dbc9 commit 0b8df7e
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 43 deletions.
4 changes: 4 additions & 0 deletions assets/js/zen-mode.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ function _registerZendModeButtonClick(zendModeButton) {
const zendModeButton = document.getElementById('zen-mode-button');
if(zendModeButton !== null && zendModeButton !== undefined) {
_registerZendModeButtonClick(zendModeButton);
console.log('[DEBUG] Zen-mode button found');

}else{
console.log('[DEBUG] Zen-mode button not found');
}

// Initialize localstorage option 'blowfish-zen-mode-enabled' to false, if it does not exist, otherwise enable it.
Expand Down
2 changes: 1 addition & 1 deletion config/_default/params.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ disableTextInHeader = false
showAuthorsBadges = false
showWordCount = true
# sharingLinks = [ "linkedin", "twitter", "reddit", "pinterest", "facebook", "email", "whatsapp", "telegram"]
showZenMode = true
showZenMode = false

[list]
showHero = false
Expand Down
2 changes: 1 addition & 1 deletion exampleSite/content/docs/configuration/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ Many of the article defaults here can be overridden on a per article basis by sp
| `article.showWordCount` | `false` | Whether or not article word counts are displayed. |
| `article.showComments` | `false` | Whether or not the [comments partial]({{< ref "partials#comments" >}}) is included after the article footer. |
| `article.sharingLinks` | _Not set_ | Which sharing links to display at the end of each article. When not provided, or set to `false` no links will be displayed. Available values are: "linkedin", "twitter", "reddit", "pinterest", "facebook", "email", "whatsapp", and "telegram" |
| `article.showZenMode` | `true` | Flag to activate Zen Mode reading feature for articles. |
| `article.showZenMode` | `false` | Flag to activate Zen Mode reading feature for articles. |

### List

Expand Down
Binary file removed exampleSite/content/users/spelucin.me/feature.jpg
Binary file not shown.
13 changes: 0 additions & 13 deletions exampleSite/content/users/spelucin.me/index.md

This file was deleted.

Binary file not shown.
13 changes: 0 additions & 13 deletions exampleSite/content/users/tabletopflore.com/index.md

This file was deleted.

14 changes: 0 additions & 14 deletions exampleSite/content/users/users.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,27 +98,13 @@
"Personal site"
]
},
{
"title": "tabletopflore.com",
"url": "https://www.tabletopflore.com",
"tags": [
"Personal site"
]
},
{
"title": "omarohn.de",
"url": "https://omarohn.de",
"tags": [
"Personal site"
]
},
{
"title": "spelucin.me",
"url": "https://spelucin.me",
"tags": [
"Personal site"
]
},
{
"title": "insidemordecai.com",
"url": "https://insidemordecai.com",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hugo-blowfish-theme",
"version": "2.49.0",
"version": "2.49.1",
"description": "Blowfish theme for Hugo",
"scripts": {
"postinstall": "vendor-copy",
Expand Down

0 comments on commit 0b8df7e

Please sign in to comment.