all repos — site @ 94ad5bbf9cd3f275cac08f951d54a4be43744c73

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="16x16" href="/favicon.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          <header>
34            {{ .Cfg.Header }}
35          </header>
36          {{ .Fm.Body }}
37            <table>
38            {{ $datefmt := .Cfg.DateFmt }}
39            {{ range $_, $post := .Posts }}
40            <tr>
41              <td align="left" class="index-post">
42              <a href="/blog/{{ $post.Fm.URL }}">{{ $post.Fm.Title }}</a>
43              </td>
44              <td align="right" class="index-date">{{ $post.Fm.Date.Format $datefmt }}</td>
45            </tr>
46            {{ end }}
47            </table>
48            <p><em><b>Note</b>: Opinions expressed in these posts may differ from those that I hold presently.</em></p>
49        </div>
50      <footer>
51        {{ .Cfg.Footer }}
52      </footer>
53      </div>
54
55    </section>
56  </body>
57</html>