~alcinnz/Hearth

ref: 3871d4b028cb9d1cf35050a711ad6d6de8a3c4f5 Hearth/tpl/index.html -rw-r--r-- 830 bytes
3871d4b0 — Adrian Cochrane Add reading-list support! 11 months ago
                                                                                
2d9cd873 Adrian Cochrane
3871d4b0 Adrian Cochrane
2d9cd873 Adrian Cochrane
ad72934e Adrian Cochrane
3871d4b0 Adrian Cochrane
ad72934e Adrian Cochrane
3871d4b0 Adrian Cochrane
ad72934e Adrian Cochrane
2d9cd873 Adrian Cochrane
ad72934e Adrian Cochrane
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!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 %}
  </main>
</body>
</html>