aboutsummaryrefslogtreecommitdiffstats
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/single.html2
-rw-r--r--layouts/partials/footer.html8
-rw-r--r--layouts/partials/hero.html4
3 files changed, 7 insertions, 7 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 24bcffb..57010cc 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -25,7 +25,7 @@
{{ end }}
<div class="f5 f4-ns lh-copy pv2">
{{ if in (slice "post" "talk") .Section }}
- {{ partial "author_card" .Site.Author }}
+ {{ partial "author_card" .Site.Params.Author }}
{{ end }}
{{ partial "post_pager" . }}
</div>
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index a0e4472..d9e6ccc 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -35,17 +35,17 @@
>
<span property="dct:title">The content in this website</span>
by
- {{ with .Site.Author.homepage }}
+ {{ with .Site.Params.Author.homepage }}
<a
rel="cc:attributionURL dct:creator"
property="cc:attributionName"
href="{{ . }}"
class="link dim"
>
- {{ $.Site.Author.name }}
+ {{ $.Site.Params.Author.name }}
</a>
{{ else }}
- {{ $.Site.Author.name }}
+ {{ $.Site.Params.Author.name }}
{{ end }}
is licensed under a
@@ -84,7 +84,7 @@
{{ else }}
Copyright &copy;
{{ now.Format "2006" }}
- {{ .Site.Author.name }}
+ {{ .Site.Params.Author.name }}
{{ end }}
</div>
diff --git a/layouts/partials/hero.html b/layouts/partials/hero.html
index 7823a62..3008ef2 100644
--- a/layouts/partials/hero.html
+++ b/layouts/partials/hero.html
@@ -22,7 +22,7 @@
{{ if .Params.personal }}
<h2 class="f3 tc fw3 mv1">
- {{ .Site.Author.role | markdownify }}
+ {{ .Site.Params.Author.role | markdownify }}
</h2>
{{ end }}
@@ -35,7 +35,7 @@
<div class="f2 mt3 tc">
{{ if .Params.personal }}
- {{ partial "social_links" .Site.Author }}
+ {{ partial "social_links" .Site.Params.Author }}
{{ else }}
{{ partial "social_links" .Site.Params }}
{{ end }}