Merge pull request #108 from 0ge/master

Fix compatibility with Hugo v0.125.0
This commit is contained in:
Athul Cyriac Ajay 2024-04-21 00:43:09 +05:30 committed by GitHub
commit a1ecb22846
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View file

@ -29,6 +29,9 @@ $ git clone https://github.com/athul/archie.git
Edit the `config.toml` file with `theme="archie"`
For more information read the official [setup guide](https://gohugo.io/installation/) of Hugo.
If you encounter any issues with Google Analytics, update Hugo to v0.125.0 or
later and make sure your using the latest version of the theme.
## Writing Posts
Create a new `.md` file in the *content/posts* folder
```yml

View file

@ -11,7 +11,7 @@
</div>
</footer>
{{ if not .Site.IsServer }}
{{ template "_internal/google_analytics_async.html" . }}
{{ template "_internal/google_analytics.html" . }}
{{ end }}
{{- if (isset .Site.Params "social") -}}