Skip to content

Commit

Permalink
chore: update theme to latest release (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-baiborodine authored Jun 17, 2024
1 parent 864b996 commit 1ff9001
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/get-hugo-module.sh
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload-data-to-algolia-index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/igor-baiborodine/bilberry-hugo-theme-sandbox

go 1.19
go 1.21
21 changes: 15 additions & 6 deletions hugo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 1ff9001

Please sign in to comment.