mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-12-27 20:44:30 +01:00
Compare commits
3 Commits
131b869f89
...
84563cbe01
Author | SHA1 | Date | |
---|---|---|---|
|
84563cbe01 | ||
5fd2964427 | |||
233e715e78 |
@ -13,6 +13,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Support for Bootstrap table classes (#145)
|
- Support for Bootstrap table classes (#145)
|
||||||
- i18n language keys for Danish (@schack, #146)
|
- i18n language keys for Danish (@schack, #146)
|
||||||
|
|
||||||
|
## Fixed
|
||||||
|
- Deprecations from Hugo (DisqusShortname and GoogleAnalytics)
|
||||||
|
|
||||||
## [[ 1.6.0 ]] - 2020-12-05
|
## [[ 1.6.0 ]] - 2020-12-05
|
||||||
### Changed
|
### Changed
|
||||||
- Migrate to dart sass from node-sass (see [LibSass is Deprecated](https://sass-lang.com/blog/libsass-is-deprecated))
|
- Migrate to dart sass from node-sass (see [LibSass is Deprecated](https://sass-lang.com/blog/libsass-is-deprecated))
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
||||||
{{ if .Site.GoogleAnalytics }}
|
{{ if .Site.Config.Services.GoogleAnalytics.ID }}
|
||||||
{{ partial "cookie-consent.html" . }}
|
{{ partial "cookie-consent.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
@ -83,7 +83,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if or (ne ($.Param "sharingicons") false) (.Site.DisqusShortname) }}
|
{{ if or (ne ($.Param "sharingicons") false) (.Site.Config.Services.Disqus.Shortname) }}
|
||||||
<hr>
|
<hr>
|
||||||
<footer>
|
<footer>
|
||||||
|
|
||||||
@ -91,7 +91,7 @@
|
|||||||
{{ partial "sharing-icons.html" . }}
|
{{ partial "sharing-icons.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if and (.Site.DisqusShortname) (ne .Params.comments false) }}
|
{{ if and (.Site.Config.Services.Disqus.Shortname) (ne .Params.comments false) }}
|
||||||
{{ template "_internal/disqus.html" . }}
|
{{ template "_internal/disqus.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</footer>
|
</footer>
|
||||||
|
@ -28,7 +28,7 @@ Haven.create({
|
|||||||
{
|
{
|
||||||
name: 'google-analytics',
|
name: 'google-analytics',
|
||||||
options: {
|
options: {
|
||||||
id: {{ .Site.GoogleAnalytics }},
|
id: {{ .Site.Config.Services.GoogleAnalytics.ID }},
|
||||||
},
|
},
|
||||||
purposes: ['analytics'],
|
purposes: ['analytics'],
|
||||||
inject: true,
|
inject: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user