Show copyright years only when the site is older

Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
Juraj Oravec 2022-04-30 22:56:27 +02:00
parent 20dcd73340
commit eb7e0aa978
Signed by: SGOrava
GPG Key ID: 13660A3F1D9F093B

View File

@ -1,7 +1,7 @@
<footer> <footer>
<div class="copyright"> The content of this website is licensed under <a href="https://creativecommons.org/licenses/by-nc/3.0/">CC BY-NC 3.0</a>. The <a href="https://git.sgorava.xyz/Websites/falkon.sgorava.xyz">code of this website</a> is under <a href="https://opensource.org/licenses/MIT">MIT</a> </div> <div class="copyright"> The content of this website is licensed under <a href="https://creativecommons.org/licenses/by-nc/3.0/">CC BY-NC 3.0</a>. The <a href="https://git.sgorava.xyz/Websites/falkon.sgorava.xyz">code of this website</a> is under <a href="https://opensource.org/licenses/MIT">MIT</a> </div>
<div class="copyright"> Copyright @ Juraj Oravec {{ .Site.Params.year }}-{{ now.Year }} </div> <div class="copyright"> Copyright @ Juraj Oravec {{ .Site.Params.year }}{{ if ne .Site.Params.year now.Year }}-{{ now.Year }}{{ end }} </div>
</footer> </footer>