all repos — site @ a119e9c21c677c8fa7f62cf19dea77f52f545bc8

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">
 8  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
 9  <meta charset="UTF-8">
10  <meta name="HandheldFriendly" content="true">
11  <meta name="twitter:card" content="summary_large_image">
12  <meta name="twitter:site" content="@icyphox">
13  <meta name="twitter:title" content="{{ .Fm.Title }}">
14  <meta name="twitter:description" content="{{ .Fm.Subtitle }}">
15  <meta name="twitter:image" content="/static/icyphox.png">
16  <meta property="og:title" content="{{ .Fm.Title }}">
17  <meta property="og:type" content="website">
18  <meta property="og:description" content="{{ .Fm.Subtitle }}">
19  <meta property="og:url" content="https://icyphox.sh">
20  <meta property="og:image" content="/static/icyphox.png">
21
22  <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
23  <meta name="theme-color" content="#ffffff">
24</head>
25
26  <title>
27    {{ .Fm.Title }}
28  </title>
29  <body> 
30    <section class="container"> 
31      <div class="pull-left">
32        <div class="content">
33          <!--
34          <header>
35            {{ .Cfg.Header }}
36          </header>-->
37          {{ .Fm.Body }}
38            <table>
39            {{ $datefmt := .Cfg.DateFmt }}
40            {{ range $_, $post := .Posts }}
41            <tr>
42              <td align="left" class="index-date">{{ $post.Fm.Date.Format $datefmt }}</td>
43              <td align="left" class="index-post">
44              <a href="/blog/{{ $post.Fm.URL }}">{{ $post.Fm.Title }}</a>
45              </td>
46            </tr>
47            {{ end }}
48            </table>
49            <p><em><b>Note</b>: My current opinions may differ from those expressed in these posts.</em></p>
50        </div>
51      <footer>
52        {{ .Cfg.Footer }}
53      </footer>
54      </div>
55
56    </section>
57  </body>
58</html>