Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mismith0227/hugo_theme_pickles.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/footer.html')
-rwxr-xr-xlayouts/partials/footer.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index dd717a6..e4efdc0 100755
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -7,11 +7,11 @@
{{ with .Site.Copyright | safeHTML }}
{{ . }}
{{ else }}
- {{ if .Site.Params.author }}
- {{ if .Site.Params.authorwebsite }}
- <a href="{{ .Site.Params.authorwebsite }}">{{ .Site.Params.author }}</a>
+ {{ if ($.Param "author") }}
+ {{ if ($.Param "authorwebsite") }}
+ <a href="{{ $.Param "authorwebsite" }}">{{ $.Param "author" }}</a>
{{ else }}
- {{ .Site.Params.author }}
+ {{ $.Param "author" }}
{{ end }}
{{ end }}
&nbsp;&bull;&nbsp;
@@ -26,7 +26,7 @@
</footer>
{{ if not .Site.IsServer }}
- {{ with .Site.Params.ga_api_key }}
+ {{ with ($.Param "ga_api_key") }}
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),