Merge pull request #108 from 0ge/master
Fix compatibility with Hugo v0.125.0
This commit is contained in:
commit
a1ecb22846
|
@ -29,6 +29,9 @@ $ git clone https://github.com/athul/archie.git
|
||||||
Edit the `config.toml` file with `theme="archie"`
|
Edit the `config.toml` file with `theme="archie"`
|
||||||
For more information read the official [setup guide](https://gohugo.io/installation/) of Hugo.
|
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
|
## Writing Posts
|
||||||
Create a new `.md` file in the *content/posts* folder
|
Create a new `.md` file in the *content/posts* folder
|
||||||
```yml
|
```yml
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
{{ if not .Site.IsServer }}
|
{{ if not .Site.IsServer }}
|
||||||
{{ template "_internal/google_analytics_async.html" . }}
|
{{ template "_internal/google_analytics.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{- if (isset .Site.Params "social") -}}
|
{{- if (isset .Site.Params "social") -}}
|
||||||
|
|
Loading…
Reference in a new issue