Skip to content

Commit

Permalink
bump Hugo version (#2853)
Browse files Browse the repository at this point in the history
* bump Hugo version

* use 0.139.2 version
  • Loading branch information
mikhail-tokarev authored Nov 27, 2024
1 parent a813c9b commit 1046d5d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- run: curl --location https://github.com/gohugoio/hugo/releases/download/v0.85.0/hugo_extended_0.85.0_Linux-64bit.tar.gz | tar -vxzO hugo > hugo && chmod a+x hugo
- run: curl --location https://github.com/gohugoio/hugo/releases/download/v0.139.2/hugo_extended_0.139.2_Linux-64bit.tar.gz | tar -vxzO hugo > hugo && chmod a+x hugo
- run: ./hugo --environment production --minify
- run: ./hugo deploy --environment production --invalidateCDN true --maxDeletes -1

Expand Down
1 change: 0 additions & 1 deletion config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@ mediaTypes:
title: Codemagic Docs
disableKinds:
- taxonomy
- taxonomyTerm
- section

deployment:
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/opengraph.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@
{{ end }}

{{/* Facebook Page Admin ID for Domain Insights */}}
{{ with site.Social.facebook_admin }}
{{ with site.Params.Social.facebook_admin }}
<meta property="fb:admins" content="{{ . }}" />
{{ end }}
2 changes: 1 addition & 1 deletion layouts/partials/twitter_cards.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<meta property="twitter:image" content="{{ . | absURL }}" />
{{ end }}

{{ with .Site.Social.twitter }}
{{ with .Site.Params.Social.twitter }}
<meta name="twitter:site" content="@{{ . }}" />
{{ end }}

Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ Development requires [Hugo static site generator](https://gohugo.io). It can be
brew install hugo
```

Note that Hugo extended v0.85.0 is used in production. This Hugo version can be downloaded from [releases page](https://github.com/gohugoio/hugo/releases/tag/v0.85.0).
Note that Hugo extended v0.139.2 is used in production. This Hugo version can be downloaded from [releases page](https://github.com/gohugoio/hugo/releases/tag/v0.139.2).

Windows users can install [Chocolatey](https://chocolatey.org/install). After that Hugo can be installed with

```
choco install hugo-extended --version 0.85.0
choco install hugo-extended
```

For general info see [Hugo documentation](https://gohugo.io/documentation/).
Expand Down

0 comments on commit 1046d5d

Please sign in to comment.