first commit

This commit is contained in:
libroot 2026-11-19 04:40:59 +02:00
commit 8c4dcae475
Signed by: libroot
GPG key ID: 2AC68C029EBE9ACE
89 changed files with 24623 additions and 0 deletions

25
templates/changelog.html Normal file
View file

@ -0,0 +1,25 @@
{{ define "title" }}Changelog - Snowden Archive{{ end }}
{{ define "content" }}
<h1>Changelog
{{ if .Total }}<small class="count-note">{{ .Total }} entries</small>{{ end }}
</h1>
{{ if .Entries }}
<ul class="changelog-list">
{{ range .Entries }}
<li class="changelog-entry">
<span class="changelog-date faint">{{ if ge (len .Date) 10 }}{{ slice .Date 0 10 }}{{ else }}{{ .Date }}{{ end }}</span>
<span class="changelog-type changelog-type-{{ .Type }}">{{ .Type }}</span>
{{ if and .ID (ne .Type "removed") }}
<a href="{{ .DocURL }}">{{ .Headline }}</a>
{{ else }}
{{ .Headline }}
{{ end }}
</li>
{{ end }}
</ul>
{{ else }}
<p class="muted">No changes recorded.</p>
{{ end }}
{{ end }}
{{ template "base.html" . }}