diff --git a/.github/workflows/firebase-preview.yml b/.github/workflows/firebase-preview.yml index 8f40a12a..bfdcee2e 100644 --- a/.github/workflows/firebase-preview.yml +++ b/.github/workflows/firebase-preview.yml @@ -7,7 +7,7 @@ jobs: steps: - name: Hugo setup - uses: peaceiris/actions-hugo@v2.4.12 + uses: peaceiris/actions-hugo@v2.6.0 env: ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true' diff --git a/.github/workflows/firebase-production.yml b/.github/workflows/firebase-production.yml index a12b1896..17e6d680 100644 --- a/.github/workflows/firebase-production.yml +++ b/.github/workflows/firebase-production.yml @@ -9,7 +9,7 @@ jobs: steps: - name: Hugo setup - uses: peaceiris/actions-hugo@v2.4.12 + uses: peaceiris/actions-hugo@v2.6.0 env: ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8a343bfe..25e3dd9e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,7 @@ jobs: fetch-depth: 0 - name: Setup Hugo - uses: peaceiris/actions-hugo@v2 + uses: peaceiris/actions-hugo@v2.6.0 with: hugo-version: "latest" diff --git a/config/_default/config.toml b/config/_default/config.toml index 6c232d4f..3a0a8bea 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -6,6 +6,8 @@ # baseURL = "https://your_domain.com/" defaultContentLanguage = "en" +# pluralizeListTitles = "true" # hugo function useful for non-english languages, find out more in https://gohugo.io/getting-started/configuration/#pluralizelisttitles + enableRobotsTXT = true paginate = 20 summaryLength = 30 diff --git a/config/_default/params.toml b/config/_default/params.toml index c5d2631c..e36329e2 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -65,7 +65,7 @@ enableCodeCopy = true showAuthorsBadges = false showWordCount = true showSummary = true - sharingLinks = [ "linkedin", "twitter", "whatsapp", "pinterest", "reddit", "facebook", "email"] + sharingLinks = [ "linkedin", "twitter", "reddit", "pinterest", "facebook", "email"] [list] #showHero = true diff --git a/data/sharing.json b/data/sharing.json index 7a43b491..5c89852b 100644 --- a/data/sharing.json +++ b/data/sharing.json @@ -1,34 +1,32 @@ { - "links": { - "email": { - "icon": "email", - "title": "sharing.email", - "url": "mailto:?body=%s&subject=%s" - }, - "facebook": { - "icon": "facebook", - "title": "sharing.facebook", - "url": "https://www.facebook.com/sharer/sharer.php?u=%s"e=%s" - }, - "linkedin": { - "icon": "linkedin", - "title": "sharing.linkedin", - "url": "https://www.linkedin.com/shareArticle?mini=true&url=%s&title=%s" - }, - "pinterest": { - "icon": "pinterest", - "title": "sharing.pinterest", - "url": "https://pinterest.com/pin/create/bookmarklet/?url=%s&description=%s" - }, - "reddit": { - "icon": "reddit", - "title": "sharing.reddit", - "url": "https://reddit.com/submit/?url=%s&resubmit=true&title=%s" - }, - "twitter": { - "icon": "twitter", - "title": "sharing.twitter", - "url": "https://twitter.com/intent/tweet/?url=%s&text=%s" - } + "email": { + "icon": "email", + "title": "sharing.email", + "url": "mailto:?body=%s&subject=%s" + }, + "facebook": { + "icon": "facebook", + "title": "sharing.facebook", + "url": "https://www.facebook.com/sharer/sharer.php?u=%s"e=%s" + }, + "linkedin": { + "icon": "linkedin", + "title": "sharing.linkedin", + "url": "https://www.linkedin.com/shareArticle?mini=true&url=%s&title=%s" + }, + "pinterest": { + "icon": "pinterest", + "title": "sharing.pinterest", + "url": "https://pinterest.com/pin/create/bookmarklet/?url=%s&description=%s" + }, + "reddit": { + "icon": "reddit", + "title": "sharing.reddit", + "url": "https://reddit.com/submit/?url=%s&resubmit=true&title=%s" + }, + "twitter": { + "icon": "twitter", + "title": "sharing.twitter", + "url": "https://twitter.com/intent/tweet/?url=%s&text=%s" } -} +} \ No newline at end of file diff --git a/exampleSite/config/_default/config.toml b/exampleSite/config/_default/config.toml index 9af54860..668d0d88 100644 --- a/exampleSite/config/_default/config.toml +++ b/exampleSite/config/_default/config.toml @@ -6,6 +6,8 @@ theme = "blowfish" baseURL = "https://nunocoracao.github.io/blowfish" defaultContentLanguage = "en" +# pluralizeListTitles = "true" # hugo function useful for non-english languages, find out more in https://gohugo.io/getting-started/configuration/#pluralizelisttitles + enableRobotsTXT = true paginate = 20 summaryLength = 30 diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml index 13d0d64c..efe3a93d 100644 --- a/exampleSite/config/_default/params.toml +++ b/exampleSite/config/_default/params.toml @@ -64,7 +64,7 @@ defaultBackgroundImage = "/img/iceland.jpg" showAuthorsBadges = true showWordCount = false showSummary = true - sharingLinks = [ "linkedin", "twitter", "whatsapp", "pinterest", "reddit", "facebook", "email"] + sharingLinks = [ "linkedin", "twitter", "reddit", "pinterest", "facebook", "email"] [list] showHero = true diff --git a/exampleSite/content/users/index.md b/exampleSite/content/users/index.md index d2580b7f..966ff6fd 100644 --- a/exampleSite/content/users/index.md +++ b/exampleSite/content/users/index.md @@ -53,6 +53,7 @@ Real websites that are built with Blowfish. | [sdehm.dev](https://sdehm.dev) | Personal site | | [dizzytech.de](https://dizzytech.de) | Personal site | | [blog.rotrixx.eu](https://blog.rotrixx.eu) | Personal site | +| [hexwiki.cz](https://hexwiki.cz/) | Personal site | diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index fff19a32..ce87099c 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -25,7 +25,7 @@