aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2024-12-19 01:10:07 +0100
committerOscar Najera <hi@oscarnajera.com>2024-12-19 01:10:07 +0100
commitc043b199eb247638a08945b88d76601c99e737b6 (patch)
tree66bcc40aab1093af7a1eabfb5664bca56ce9bee4 /layouts/partials
parent94df2b0216f75a09b95c2938ae6d5b56f39fbebf (diff)
downloadhugo-minimalist-theme-c043b199eb247638a08945b88d76601c99e737b6.tar.gz
hugo-minimalist-theme-c043b199eb247638a08945b88d76601c99e737b6.tar.bz2
hugo-minimalist-theme-c043b199eb247638a08945b88d76601c99e737b6.zip
author params
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/footer.html8
-rw-r--r--layouts/partials/hero.html4
2 files changed, 6 insertions, 6 deletions
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 }}