tiny 88x31 lexicon for atproto
0
fork

Configure Feed

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

mixed up the order of things lol

+4 -4
+4 -4
tmpl/button.html
··· 2 2 {{template "buttonpart" .Button}} 3 3 {{if .DID}} 4 4 {{if .Button.Liked}} 5 - <form action="/like" method="POST"> 5 + <form action="/like" method="DELETE"> 6 6 <input type="text" name="uri" value="{{.Button.URI}}" hidden /> 7 7 <input type="text" name="cid" value="{{.Button.CID}}" hidden /> 8 - <input type="submit" value='"like"'/> 8 + <input type="submit" value='un-"like"'/> 9 9 </form> 10 10 {{else}} 11 - <form action="/like" method="DELETE"> 11 + <form action="/like" method="POST"> 12 12 <input type="text" name="uri" value="{{.Button.URI}}" hidden /> 13 13 <input type="text" name="cid" value="{{.Button.CID}}" hidden /> 14 - <input type="submit" value='un-"like"'/> 14 + <input type="submit" value='"like"'/> 15 15 </form> 16 16 {{end}} 17 17 {{end}}