fix(update): compatibility issues such as google analytics and deprecated Go methods
This commit is contained in:
@@ -43,7 +43,6 @@
|
|||||||
<script defer src="{{ $script.Permalink }}" {{ printf "integrity=%q" $script.Data.Integrity | safeHTMLAttr }} crossorigin="anonymous"></script>
|
<script defer src="{{ $script.Permalink }}" {{ printf "integrity=%q" $script.Data.Integrity | safeHTMLAttr }} crossorigin="anonymous"></script>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{- partial "analytics.html" . }}
|
|
||||||
{{- if templates.Exists "partials/extra-foot.html" -}}
|
{{- if templates.Exists "partials/extra-foot.html" -}}
|
||||||
{{ partial "extra-foot.html" . }}
|
{{ partial "extra-foot.html" . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
{{ template "_internal/google_analytics_async.html" . }}
|
|
||||||
@@ -1,3 +1,5 @@
|
|||||||
<footer id="site-footer" class="section-inner thin animated fadeIn faster">
|
<footer id="site-footer" class="section-inner thin animated fadeIn faster">
|
||||||
<p>© {{ now.Format "2006" }} <a href="{{ .Site.BaseURL }}">{{ .Site.Author.name }}</a>{{ .Site.Params.footerCopyright | safeHTML }}{{ with (not (in (.Site.Language.Get "disableKinds") "RSS")) }} · <a href="{{ "index.xml" | absLangURL }}" target="_blank" title="rss"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-rss"><path d="M4 11a9 9 0 0 1 9 9"></path><path d="M4 4a16 16 0 0 1 16 16"></path><circle cx="5" cy="19" r="1"></circle></svg></a>{{ end }}</p>
|
<p>
|
||||||
|
© {{ now.Format "2006" }} <a href="{{ .Site.BaseURL }}">{{ .Site.Author.name }}</a>{{ .Site.Params.footerCopyright | safeHTML }}
|
||||||
|
</p>
|
||||||
</footer>
|
</footer>
|
||||||
|
|||||||
Reference in New Issue
Block a user