~m15o/riku

b5bedc7789b8b7de8756b5066ffae5bc149c8320 — m15o 6 months ago 96d9bf0
Add url to repo
3 files changed, 8 insertions(+), 5 deletions(-)

M bin/riku
M web/handler/html.go
M web/handler/html/index.html
M bin/riku => bin/riku +0 -0
M web/handler/html.go => web/handler/html.go +7 -4
@@ 26,14 26,14 @@ var TplMap = map[string]string{
</form>
</pre>

<p>...and retrieve all the responses on the web interface or via the RSS feed.</p>
<p>...and retrieve all the responses on the web interface or via the atom feed.</p>

<p>
    <a href="/register">Register</a><br>
    <a href="">Source code</a>
    <a href="https://git.sr.ht/~m15o/riku">Source code</a>
</p>

<p>Questions? Send me an email at m15o at posteo dot net</p>
<p>Questions? Send me an email at m15o at posteo dot net.</p>

<p><a href="/manual">Read the manual to learn more</a></p>
{{ end }}`,


@@ 69,7 69,6 @@ var TplMap = map[string]string{

<pre>
&lt;form action=&quot;&quot; method=&quot;post&quot;&gt;

  &lt;div class=&quot;field&quot;&gt;
    &lt;label for=&quot;name&quot;&gt;Name&lt;/label&gt;
    &lt;input type=&quot;text&quot; name=&quot;name&quot; id="name" required&gt;


@@ 123,6 122,10 @@ var TplMap = map[string]string{

<p>Now all requests coming from the contact form will be labeled with "contact".</p>

<h2>Getting a notification for your responses</h2>

<p>Riku provides an atom feed that you can find on the navigation bar at the top. Pass the feed to your feed reader of choice.</p>

{{ end }}`,
	"register": `{{ define "title" }}Register{{ end }}


M web/handler/html/index.html => web/handler/html/index.html +1 -1
@@ 25,7 25,7 @@

<p>
    <a href="/register">Register</a><br>
    <a href="">Source code</a>
    <a href="https://git.sr.ht/~m15o/riku">Source code</a>
</p>

<p>Questions? Send me an email at m15o at posteo dot net.</p>