diff --git a/assets/js/zen-mode.js b/assets/js/zen-mode.js index ec6cabdb..ff6acefe 100644 --- a/assets/js/zen-mode.js +++ b/assets/js/zen-mode.js @@ -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. diff --git a/config/_default/params.toml b/config/_default/params.toml index cd20b1e4..4ec4494b 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -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 diff --git a/exampleSite/content/docs/configuration/index.md b/exampleSite/content/docs/configuration/index.md index de661e7b..003974c0 100644 --- a/exampleSite/content/docs/configuration/index.md +++ b/exampleSite/content/docs/configuration/index.md @@ -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 diff --git a/exampleSite/content/users/spelucin.me/feature.jpg b/exampleSite/content/users/spelucin.me/feature.jpg deleted file mode 100644 index 76975111..00000000 Binary files a/exampleSite/content/users/spelucin.me/feature.jpg and /dev/null differ diff --git a/exampleSite/content/users/spelucin.me/index.md b/exampleSite/content/users/spelucin.me/index.md deleted file mode 100644 index 16ee2e29..00000000 --- a/exampleSite/content/users/spelucin.me/index.md +++ /dev/null @@ -1,13 +0,0 @@ ---- - title: "spelucin.me" - tags: [Personal site] - externalUrl: "https://spelucin.me" - date: 9983-08-08 - showDate: false - showAuthor: false - showReadingTime: false - showEdit: false - showLikes: false - showViews: false - layoutBackgroundHeaderSpace: false - --- diff --git a/exampleSite/content/users/tabletopflore.com/feature.jpg b/exampleSite/content/users/tabletopflore.com/feature.jpg deleted file mode 100644 index ef4897de..00000000 Binary files a/exampleSite/content/users/tabletopflore.com/feature.jpg and /dev/null differ diff --git a/exampleSite/content/users/tabletopflore.com/index.md b/exampleSite/content/users/tabletopflore.com/index.md deleted file mode 100644 index 03dc8fda..00000000 --- a/exampleSite/content/users/tabletopflore.com/index.md +++ /dev/null @@ -1,13 +0,0 @@ ---- - title: "tabletopflore.com" - tags: [Personal site] - externalUrl: "https://www.tabletopflore.com" - date: 9985-08-08 - showDate: false - showAuthor: false - showReadingTime: false - showEdit: false - showLikes: false - showViews: false - layoutBackgroundHeaderSpace: false - --- diff --git a/exampleSite/content/users/users.json b/exampleSite/content/users/users.json index 312ee5bd..391de9a3 100644 --- a/exampleSite/content/users/users.json +++ b/exampleSite/content/users/users.json @@ -98,13 +98,6 @@ "Personal site" ] }, - { - "title": "tabletopflore.com", - "url": "https://www.tabletopflore.com", - "tags": [ - "Personal site" - ] - }, { "title": "omarohn.de", "url": "https://omarohn.de", @@ -112,13 +105,6 @@ "Personal site" ] }, - { - "title": "spelucin.me", - "url": "https://spelucin.me", - "tags": [ - "Personal site" - ] - }, { "title": "insidemordecai.com", "url": "https://insidemordecai.com", diff --git a/package.json b/package.json index e0786125..55611954 100644 --- a/package.json +++ b/package.json @@ -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",