mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

diamon
01.11.2021 597a631988526380e81061f778f85eff43653a5d
add default author (#408)

2 files modified
3 ■■■■ changed files
exampleSite/config.toml 1 ●●●● patch | view | raw | blame | history
layouts/_default/single.html 2 ●●● patch | view | raw | blame | history
exampleSite/config.toml
@@ -27,6 +27,7 @@
  filename = "sitemap.xml"
[params]
  author = ""
  favicon = ""
  site_logo = ""
  description = "The last theme you'll ever need. Maybe."
layouts/_default/single.html
@@ -18,7 +18,7 @@
      <h1 class="f1 athelas mt3 mb1">
        {{- .Title -}}
      </h1>
      {{ with .Params.author }}
      {{ with .Params.author | default .Site.Params.author }}
      <p class="tracked">
          By <strong>
          {{ if reflect.IsSlice . }}