瀏覽代碼

Use Hugo's built in Site Config for copyright according to PR #199 (#240)

tags/v2.5.6
Giacomo Tenaglia 5 年之前
父節點
當前提交
f10f4d4165
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      layouts/partials/site-footer.html

+ 1
- 1
layouts/partials/site-footer.html 查看文件

@@ -1,7 +1,7 @@
<footer class="{{ .Site.Params.background_color_class | default "bg-black" }} bottom-0 w-100 pa3" role="contentinfo">
<div class="flex justify-between">
<a class="f4 fw4 hover-white no-underline white-70 dn dib-ns pv2 ph3" href="{{ .Site.BaseURL }}" >
&copy; {{ now.Format "2006" }} {{ .Site.Title }}
&copy; {{ with .Site.Copyright | default .Site.Title }} {{ . | safeHTML }} {{ now.Format "2006"}} {{ end }}
</a>
<div>{{ partial "social-follow.html" . }}</div>
</div>

Loading…
取消
儲存