beebo
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

dont archive when unlogged in

authored by

Ángel Carbajal-Castañeda and committed by
Jes Olson
fe638fd2 27172c4e

+4
+4
files/user.tmpl.html
··· 22 22 published {{ .Date | timeSince }} via 23 23 <a href="//{{ .Link | printDomain }}"> 24 24 {{ .Link | printDomain }}</a> 25 + {{ if $.LoggedIn }} 25 26 | <a href="#" 26 27 data-save-url="/save/{{ .Link | escapeURL }}" 27 28 onclick="saveItem(this); return false;"> 28 29 archive 29 30 </a> 31 + {{ end }} 30 32 </span> 31 33 </li> 32 34 {{ end }} 33 35 </ul> 34 36 37 + {{ if $.LoggedIn }} 35 38 <script> 36 39 function saveItem(element) { 37 40 const url = element.dataset.saveUrl; ··· 61 64 }); 62 65 } 63 66 </script> 67 + {{ end }} 64 68 65 69 {{ template "tail" . }} 66 70 {{ end }}