first commit
This commit is contained in:
commit
8c4dcae475
89 changed files with 24623 additions and 0 deletions
25
templates/changelog.html
Normal file
25
templates/changelog.html
Normal 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" . }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue