<!DOCTYPE html> <html> <head> <meta charset=utf-8 /> <title>🏠️{{ _["Homepage"] }}</title> </head> <body> <form method="POST"> <p><input type="url" name="url" placeholder="{{ _['Web Address'] }}" required /></p> </form> <main> <section> <h1><a href="history.html">⏳️{{ _["History"] }}</a></h1> <ul>{% for topsite in tops %} <li><a href="{{ topsite.href }}" title="{{ link.title }}">{{ topsite.label }}</a></li> {% endfor %}</ul> </section> {% if D.readingList %}<section> <h1><a href="toread.html">📚️{{ _["Reading List"] }}</a></h1> <ul>{% for link in D.readingList|slice(0, 20) %} <li><a href="/read/{{ link.href }}" title="{{ link.title }}">{{ link.label }}</a></li> {% endfor %}</ul> </section>{% endif %} {% if D.favs %}<section> <h1><a href="bookmarks/">⭐️{{ _["Favourites"] }}</a></h1> <ul>{% for link in D.favs|sortByVisits|slice(0, 20) %} <li><a href="{{ link.href }}" title="{{ link.title }}">{{ link.label }}</a></li> {% endfor %}</ul> </section>{% endif %} {% if tags %}<section> <h1>📑️{{ _["Tags"] }}</h1> <ul>{% for tag in alltags|slice(0, 20) %} <li><a href="/bookmarks/?tag={{ tag.label|urlencode }}" title="{{ _['Favourites tagged by:' ] }} {{ tag}}">{{ tag.label }}</a> {{ tag.count }}</li> {% endfor %}</ul> </section>{% endif %} </main> </body> </html>