This commit is contained in:
Andros Fenollosa
2021-11-12 21:25:19 +01:00
parent ae59910bb7
commit 7f65835db7
3 changed files with 50 additions and 7 deletions

View File

@ -24,9 +24,23 @@
<li><strong>HTML over WebSockets with htmx</strong></li>
</ul>
<ul>
<li><a href="#">Events</a></li>
<li>
{# To page Talks #}
<form hx-ws="send">
<input type="hidden" name="action" value="page">
<input type="hidden" name="value" value="talks">
<a href="#" hx-ws="send" hx-trigger="click">Talks</a>
</form>
</li>
<li><a href="#">Profiles</a></li>
<li><a href="#" hx-ws="send" hx-trigger="click">About</a></li>
<li>
{# To page About #}
<form hx-ws="send">
<input type="hidden" name="action" value="page">
<input type="hidden" name="value" value="about">
<a href="#" hx-ws="send" hx-trigger="click">About</a>
</form>
</li>
</ul>
</nav>
</header>

View File

@ -11,7 +11,7 @@
</div>
</header>
<p>
{{ talk.content|truncatechars:100 }}
{{ talk.content|truncatechars:150 }}
</p>
<footer>Author {{ talk.author.full_name }} - {{ talk.category.name }}</footer>
</article>