mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-01-22 14:35:43 -06:00
commit
0b8df7ea18
9 changed files with 7 additions and 43 deletions
|
@ -54,6 +54,10 @@ function _registerZendModeButtonClick(zendModeButton) {
|
||||||
const zendModeButton = document.getElementById('zen-mode-button');
|
const zendModeButton = document.getElementById('zen-mode-button');
|
||||||
if(zendModeButton !== null && zendModeButton !== undefined) {
|
if(zendModeButton !== null && zendModeButton !== undefined) {
|
||||||
_registerZendModeButtonClick(zendModeButton);
|
_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.
|
// 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
|
showAuthorsBadges = false
|
||||||
showWordCount = true
|
showWordCount = true
|
||||||
# sharingLinks = [ "linkedin", "twitter", "reddit", "pinterest", "facebook", "email", "whatsapp", "telegram"]
|
# sharingLinks = [ "linkedin", "twitter", "reddit", "pinterest", "facebook", "email", "whatsapp", "telegram"]
|
||||||
showZenMode = true
|
showZenMode = false
|
||||||
|
|
||||||
[list]
|
[list]
|
||||||
showHero = false
|
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.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.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.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
|
### List
|
||||||
|
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 6.6 KiB |
|
@ -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
|
|
||||||
---
|
|
Binary file not shown.
Before Width: | Height: | Size: 121 KiB |
|
@ -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
|
|
||||||
---
|
|
|
@ -98,13 +98,6 @@
|
||||||
"Personal site"
|
"Personal site"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"title": "tabletopflore.com",
|
|
||||||
"url": "https://www.tabletopflore.com",
|
|
||||||
"tags": [
|
|
||||||
"Personal site"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"title": "omarohn.de",
|
"title": "omarohn.de",
|
||||||
"url": "https://omarohn.de",
|
"url": "https://omarohn.de",
|
||||||
|
@ -112,13 +105,6 @@
|
||||||
"Personal site"
|
"Personal site"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"title": "spelucin.me",
|
|
||||||
"url": "https://spelucin.me",
|
|
||||||
"tags": [
|
|
||||||
"Personal site"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"title": "insidemordecai.com",
|
"title": "insidemordecai.com",
|
||||||
"url": "https://insidemordecai.com",
|
"url": "https://insidemordecai.com",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "hugo-blowfish-theme",
|
"name": "hugo-blowfish-theme",
|
||||||
"version": "2.49.0",
|
"version": "2.49.1",
|
||||||
"description": "Blowfish theme for Hugo",
|
"description": "Blowfish theme for Hugo",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postinstall": "vendor-copy",
|
"postinstall": "vendor-copy",
|
||||||
|
|
Loading…
Reference in a new issue