files/settings.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{{ define "settings" }} {{ template "head" . }} {{ template "nav" . }} <h3>Settings</h3> <p>your public homepage: <a href="/{{ .Username }}">vore.website/{{ .Username }}</a> {{ len .Data }} subscriptions: </p> <form method="POST" action="/settings/submit"> <textarea name="submit" rows="10" cols="50"> {{ range .Data -}} {{ .UpdateURL }} {{ end -}} </textarea> <br> <input type="submit" value="subscribe"> </form> {{ $length := len .Data }} {{ if eq $length 0 }} <p> ‼️ tutorial ‼️ once you have subscribed to some feeds, their posts will appear chronologically on your homepage. note that vore homepages are public ‼️ here are some feed urls to play with copy them into the text box above and press [subscribe] https://100r.co/links/rss.xml https://begriffs.com/atom.xml https://blog.passtheballsocrates.com/feed/ https://facklambda.dev/atom.xml https://herman.bearblog.dev/feed/ https://j3s.sh/feed.atom https://katherine.cox-buday.com/rss.xml https://sequentialread.com/rss /)/) ( . .) ( づ♡ </p> {{ else if gt $length 0 }} <p>feed details 👁️👄👁️</p> {{ end }} <p> {{ range .Data -}} <a href="/feeds/{{ .UpdateURL | escapeURL }}">{{ .UpdateURL }}</a> {{ end -}} </p> {{ template "tail" . }} {{ end }}