summaryrefslogtreecommitdiff
path: root/srv/src/http/tpl/base.html
blob: ff585b14ebd87d5ba4314257b3ddd40e27e61128 (plain)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE html>
<html lang="en">

  <head>
    <meta charset="utf-8">
    <link rel="stylesheet" href="{{ StaticURL "normalize.css" }}">
    <link rel="stylesheet" href="{{ StaticURL "skeleton.css" }}">
    <link rel="stylesheet" href="{{ StaticURL "main.css" }}">
    <link rel="stylesheet" href="{{ StaticURL "fontawesome/css/all.css" }}">
  </head>

  <body>

    <div class="container">

      <header id="title-header" role="banner">
        <div class="row">
          <div class="seven columns" style="margin-bottom: 3rem;">
            <h1 class="title">
              <a href="{{ BlogURL "/" }}">Mediocre Blog</a>
            </h1>
            <div class="light social">
              <span>By Brian Picciano</span>
              <span>
                Even more @
                <a href="https://mediocregopher.eth.link" target="_blank">https://mediocregopher.eth.link</a>
              </span>
            </div>
          </div>

          <div class="five columns light">
            <span style="display:block; margin-bottom:0.5rem;">Get notified when new posts are published!</span>
            <a href="{{ BlogURL "follow" }}">
              <button class="button-primary">
                <i class="far fa-envelope"></i>
                Follow
              </button><!-- no space here, or there's a weird underline --></a>

            <a href="{{ BlogURL "feed.xml" }}">
              <button class="button">
                <i class="fas fa-rss"></i>
                RSS
              </button>
            </a>
          </div>

        </div>
      </header>

      {{ template "body" . }}

      <footer>
        <p class="license light">
        Unless otherwised specified, all works are licensed under the
        <a href="{{ StaticURL "wtfpl.txt" }}">WTFPL</a>.
        </p>
      </footer>

    </div>

  </body>

</html>