mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-04-20 18:41:53 +02:00
change default for zen mode
This commit is contained in:
parent
8ecb97dc29
commit
697dbc9b27
4 changed files with 7 additions and 3 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hugo-blowfish-theme",
|
||||
"version": "2.50.0",
|
||||
"version": "2.49.1",
|
||||
"description": "Blowfish theme for Hugo",
|
||||
"scripts": {
|
||||
"postinstall": "vendor-copy",
|
||||
|
|
Loading…
Add table
Reference in a new issue