1
0
mirror of https://github.com/PrivSec-dev/privsec.dev synced 2024-12-21 20:31:33 -05:00

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"
title: PrivSec.dev
theme: PaperMod
copyright: '[CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)'
enableRobotsTXT: true

View File

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