files/saves.tmpl.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{{ define "saves" }} {{ template "head" . }} {{ template "nav" . }} {{ $length := len .Data }} {{ if eq $length 0 }} {{ if .LoggedIn }} <p> you haven't saved anything yet. :( use the "save" button to save posts that you like! vore's save system is unique: when you click the "save" button, vore will: - submit an https://archive.org request on your behalf for the linked page - store the article + archive link together this ensures that all saved articles will remain accessible forever! it also means that you may save the same article more than once, if you'd like! currently, saves cannot be deleted. </p> {{ end }} {{ end }} <ul> {{ range .Data }} <li> <a href="{{ .ItemURL }}">{{ .ItemTitle }}</a> <span class=puny> (<a href="{{ .ArchiveURL }}">archived</a>) </span> <br> <span class=puny>saved {{ .CreatedAt }} via <a href="//{{ .ItemURL | printDomain }}">{{ .ItemURL | printDomain }}</a></span> </li> {{ end }} </ul> {{ template "tail" . }} {{ end }}