1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-18 22:15:32 -04:00

add simple license and privacy policy pages

silly but certain things require these. also added some sitemap priorities to other miscellaneous pages.
This commit is contained in:
2020-04-28 18:53:15 -04:00
parent e478c76e2d
commit 17501e8c34
19 changed files with 250 additions and 405 deletions

View File

@@ -256,7 +256,7 @@
</article>
<footer>
<div class="left">Content by <a href="{{ .Site.BaseURL }}">{{ .Site.Author.name }}</a>, licensed under <a class="no-underline" href="{{ .Site.Params.licenseURL }}" {{ with .Site.Params.licenseFull }} title="{{ . }}" {{ end }}target="_blank" rel="noopener">{{ .Site.Params.license }}</a>.</div>
<div class="left">Content by <a href="{{ .Site.BaseURL }}">{{ .Site.Author.name }}</a>, licensed under <a class="no-underline" href="{{ "license/" | absURL }}"{{ with .Site.Params.licenseFull }} title="{{ . }}"{{ end }}>{{ .Site.Params.license }}</a>.</div>
<div class="right"><a class="back-to-top" href="#top">↑ Back to top.</a></div>
</footer>

View File

@@ -1,6 +1,6 @@
<footer>
<div id="row">
<div id="copyright">Content licensed under <a class="no-underline" href="{{ .Site.Params.licenseURL }}" {{ with .Site.Params.licenseFull }} title="{{ . }}" {{ end }}target="_blank" rel="noopener">{{ .Site.Params.license }}</a>, {{ with .Site.Params.copyrightFirstYear }}<a class="no-underline" href="{{ "previously/" | absURL }}" title="Previously on...">{{ . }} &ndash;</a>{{ end }} {{ now.Format "2006" }}.</div>
<div id="copyright">Content <a class="no-underline" href="{{ "license/" | absURL }}"{{ with .Site.Params.licenseFull }} title="{{ . }}"{{ end }}>licensed under {{ .Site.Params.license }}</a>, {{ with .Site.Params.copyrightFirstYear }}<a class="no-underline" href="{{ "previously/" | absURL }}" title="Previously on...">{{ . }} &ndash;</a>{{ end }} {{ now.Format "2006" }}.</div>
<div id="panda"><a class="no-underline" href="https://nationalzoo.si.edu/webcams/panda-cam" title="Live Panda Party!!!11" target="_blank" rel="noopener"><span>&#x1F43C;</span></a></div>

View File

@@ -1,13 +1,14 @@
User-Agent: *
{{- if eq hugo.Environment "production" }}
Allow: /.well-known/amphtml/apikey.pub
Disallow: /privacy/
Disallow: /license/
Disallow: /humans.txt
Disallow: /403.html
Disallow: /404.html
Disallow: /y2k/
Disallow: /candies/
Disallow: /comp20/
Sitemap: {{ "sitemap.xml" | absURL }}
{{- else }}
Disallow: /