Display content license (#25)

This commit is contained in:
Wonderfall 2022-07-23 00:13:13 +02:00 committed by tommytran732
parent 3962545b39
commit ea68688b0d
No known key found for this signature in database
GPG Key ID: 060B29EB996BD9F2
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
baseURL: "https://privsec.dev" baseURL: "https://privsec.dev"
title: PrivSec.dev title: PrivSec.dev
theme: PaperMod theme: PaperMod
copyright: '[CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)'
enableRobotsTXT: true enableRobotsTXT: true

View File

@ -1,7 +1,7 @@
{{- if not (.Param "hideFooter") }} {{- if not (.Param "hideFooter") }}
<footer class="footer"> <footer class="footer">
{{- if site.Copyright }} {{- if site.Copyright }}
<span>{{ site.Copyright | markdownify }}</span> <span>{{ site.Copyright | markdownify }} ·</span>
{{- else }} {{- else }}
<span>&copy; {{ now.Year }} <a href="{{ "" | absLangURL }}">{{ site.Title }}</a></span> <span>&copy; {{ now.Year }} <a href="{{ "" | absLangURL }}">{{ site.Title }}</a></span>
{{- end }} {{- end }}