all repos — site @ 8e5b4bc1843064c6f1b4713817f880d69fdd8dc4

source for my site, found at icyphox.sh

templates/index.html (view raw)

 1<!DOCTYPE html>
 2<html lang=en>
 3  <head>
 4    <link rel="stylesheet" href="/static/style.css" type="text/css">
 5    <link rel="alternate" type="application/rss+xml" title="RSS" href="https://icyphox.sh/blog/feed.xml"> 
 6    <meta name="description" content="{{ .Fm.Subtitle }}">
 7    <meta name="viewport" content="initial-scale=1,width">
 8    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
 9    <meta charset="UTF-8">
10    <meta name="HandheldFriendly" content="true">
11    <link rel="icon" type="image/png" sizes="16x16" href="/favicon.png">
12    <meta name="theme-color" content="#ffffff">
13  </head>
14
15  <title>
16    {{ .Fm.Title }}
17  </title>
18<body>
19  <main> 
20    <header>
21      {{ .Cfg.Header }}
22    </header>
23    {{ .Fm.Body }}
24    <table>
25      {{ $datefmt := .Cfg.DateFmt }}
26      {{ range $_, $post := .Posts }}
27      <tr>
28        <td align="left" class="index-post">
29          <a href="/blog/{{ $post.Fm.URL }}">{{ $post.Fm.Title }}</a>
30        </td>
31        <td align="right" class="index-date">{{ $post.Fm.Date.Format $datefmt }}</td>
32      </tr>
33      {{ end }}
34    </table>
35    <p><em><b>Note</b>: Opinions expressed in these posts may differ from those that I hold presently.</em></p>
36    </section>
37  </main>
38  <footer>
39    {{ .Cfg.Footer }}
40  </footer>
41</body>
42
43</html>