1
0
mirror of https://github.com/PrivSec-dev/privsec.dev synced 2024-12-22 12:51:34 -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" 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 }}