временная реализация RSS

This commit is contained in:
lost+skunk 2024-07-05 11:08:32 +03:00
parent 68248094e8
commit 8b839f9406
6 changed files with 135 additions and 33 deletions

View file

@ -13,8 +13,8 @@
<main>
<header>
<h1><a href="/">HOME</a> | <a href="/dd">DD</a>
| <a href="?q={{.Templates.GroupUser.GR.Owner.Username}}&type={{if eq .Type 'a'}}gallery">Gallery</a></h1>{{else}}about">About</a></h1>
{{end}}
| <a href="?q={{.Templates.GroupUser.GR.Owner.Username}}&type={{if eq .Type 'a'}}gallery">Gallery{{else}}about">About{{end}}</a>
| <a href="?q={{.Templates.GroupUser.GR.Owner.Username}}&type=gallery&atom=true">RSS</a></h1>
<form method="get" action="/search">
<input type="gallery" name="q" placeholder="Search for ..." autocomplete="off" autocapitalize="none" spellcheck="false">
<input type="hidden" name="usr" value="{{.Templates.GroupUser.GR.Owner.Username}}">