Authentication

This commit is contained in:
Bad Manners 2025-04-07 23:55:35 -03:00
parent 2722c7d40a
commit a5e3fb2850
19 changed files with 723 additions and 98 deletions

View file

@ -9,7 +9,7 @@
<body>
<article>
<h2>Search</h2>
<form method="get" action="/posts/1">
<form method="get" action="/posts">
<input
class="tags"
type="text"
@ -29,7 +29,7 @@
<h2>Tags</h2>
<ul>
{% if let Some(tags) = tags %} {% for tag in tags %}
<li><a href="/posts/1?tags={{ tag }}">{{ tag }}</a></li>
<li><a href="/posts?tags={{ tag }}">{{ tag }}</a></li>
{% endfor %} {% endif %}
</ul>
</article>