diff --git a/.github/scripts/get-hugo-module.sh b/.github/scripts/get-hugo-module.sh index e9597304..b05e88d3 100755 --- a/.github/scripts/get-hugo-module.sh +++ b/.github/scripts/get-hugo-module.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash #sed -i "s/title = .*$/title = \"Bilberry v3 Sandbox\"/" hugo.toml -sed -i "s/theme = .*$/theme = \"github.com\/Lednerb\/bilberry-hugo-theme\/v4\"/" hugo.toml +sed -i "s/path = .*$/path = \"github.com\/Lednerb\/bilberry-hugo-theme\/v4\"/" hugo.toml hugo mod get version=$(grep -Po "(?<=v4\s)[^\s//]+" go.mod) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 35b06032..692aa23b 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -29,7 +29,7 @@ jobs: build: runs-on: ubuntu-latest env: - HUGO_VERSION: 0.110.0 + HUGO_VERSION: 0.125.7 steps: - name: Install Hugo CLI run: | diff --git a/.github/workflows/upload-data-to-algolia-index.yml b/.github/workflows/upload-data-to-algolia-index.yml index 88a349fc..bacf6701 100644 --- a/.github/workflows/upload-data-to-algolia-index.yml +++ b/.github/workflows/upload-data-to-algolia-index.yml @@ -9,7 +9,7 @@ jobs: upload_data: runs-on: ubuntu-latest env: - HUGO_VERSION: 0.110.0 + HUGO_VERSION: 0.125.7 steps: - name: Install Hugo CLI run: | diff --git a/content/article/open-graph-metadata-for-single-page-article-with-extra-front-matter-variables.md b/content/article/open-graph-metadata-for-single-page-article-with-extra-front-matter-variables.md index be9d617e..e733c20b 100644 --- a/content/article/open-graph-metadata-for-single-page-article-with-extra-front-matter-variables.md +++ b/content/article/open-graph-metadata-for-single-page-article-with-extra-front-matter-variables.md @@ -4,7 +4,7 @@ date: 2022-12-19T19:00:00-05:00 publishDate: 2022-12-19T20:00:00-05:00 lastmod: 2022-12-19T21:00:00-05:00 images: ["/img/content/article/open-graph-metadata-for-single-page-article-with-extra-front-matter-variables/thumbnail.jpg"] -audio: "/audio/icq-remix.mp3" +audio: ["/audio/icq-remix.mp3"] videos: ["/video/test_mp4_video.mp4"] categories: ["Open Graph"] diff --git a/go.mod b/go.mod index 3e9e8d5d..a4546f4b 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/igor-baiborodine/bilberry-hugo-theme-sandbox -go 1.19 +go 1.21 diff --git a/hugo.toml b/hugo.toml index ebb17795..4811ad14 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,6 +1,14 @@ title = "Bilberry v4 Sandbox" baseURL = "https://www.bilberry-sandbox.kiroule.com/" -theme = "bilberry-hugo-theme/v4" + +[module] + [[module.imports]] + # Option 1 (recommended): adding the theme as a Hugo module + # path = "github.com/Lednerb/bilberry-hugo-theme/v4" + + # Options 2 and 3: cloning/copying the theme files + path = "bilberry-hugo-theme/v4" + canonifyurls = true # Generate the robots.txt file for SEO @@ -154,14 +162,15 @@ disqusShortname = "" giscusCrossOrigin = "anonymous" # customize your available languages for your multi-langual site -# or delete the [Languages] blog to use the theme with only one supported language -[Languages] - [Languages.en] +# or delete the [languages] blog to use the theme with only one supported language +[languages] + [languages.en] weight = 1 - [Languages.ru] + [languages.ru] weight = 1 title = "Черничная Песочница" - subtitle = "Необработанный HTML активирован!" + [languages.ru.params] + subtitle = "Необработанный HTML активирован!" [markup] defaultMarkdownHandler = 'goldmark' diff --git a/netlify.toml b/netlify.toml index 7c10020f..3517cb2a 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,7 +3,7 @@ command = "hugo" [build.environment] - HUGO_VERSION = "0.110.0" + HUGO_VERSION = "0.125.7" # URL: https://bilberry-sandbox.kiroule.com/ [context.production.environment] diff --git a/themes/bilberry-hugo-theme b/themes/bilberry-hugo-theme index 3b2deb26..bb0b67bf 160000 --- a/themes/bilberry-hugo-theme +++ b/themes/bilberry-hugo-theme @@ -1 +1 @@ -Subproject commit 3b2deb264d6b01ce490e5171e65052e8931903f2 +Subproject commit bb0b67bfa884e806432ec10e225ed94f3985a25d