all repos — site @ 8fa54925ad02f044d9ebc373bdfd2ab0fa2b6380

source for my site, found at icyphox.sh

templates/text.html (view raw)

 1<!DOCTYPE html>
 2<html lang=en>
 3  <link rel="stylesheet" href="/static/style.css" type="text/css">
 4  <link rel="stylesheet" href="/static/syntax.css" type="text/css">
 5  <link rel="shortcut icon" type="images/x-icon" href="/static/favicon.ico">
 6  <meta charset="UTF-8">
 7  <meta name="description" content="{{ .Fm.Subtitle }}">
 8  <meta name="viewport" content="initial-scale=1">
 9  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
10  <meta content="#222" name="theme-color">
11  <meta name="HandheldFriendly" content="true">
12  <meta name="twitter:card" content="summary_large_image">
13  <meta name="twitter:site" content="@icyphox">
14  <meta name="twitter:title" content="{{ .Fm.Title }}">
15  <meta name="twitter:description" content="{{ .Fm.Subtitle }}">
16  <meta name="twitter:image" content="/static/icyphox.png">
17  <meta property="og:title" content="{{ .Fm.Title }}">
18  <meta property="og:type" content="website">
19  <meta property="og:description" content="{{ .Fm.Subtitle }}">
20  <meta property="og:url" content="https://icyphox.sh">
21  <meta property="og:image" content="/static/icyphox.png">
22  <title>
23    {{ .Fm.Title }}
24  </title>
25  <body> 
26    <div class="container">
27      <div class="pull-left">
28        <div class="content">
29          <header>
30            {{ .Cfg.Header }}
31          </header>
32          <section style="float: right">
33            view in <a href="/txt/{{ .Fm.URL }}.txt">plain-text</a>
34          </section>
35          <section style="float: left">
36            {{ .Fm.Date }}
37          </section>
38          <article style="clear: both" align="left">
39            <h1>{{ .Fm.Title }}</h1>
40            <h2 class="subtitle">{{ .Fm.Subtitle }}</h2>
41            {{ .Fm.Body }} 
42          </article>
43          <p class="muted">Questions or comments? 
44          Send an email to 
45          <a href="mailto:~icyphox/x@lists.sr.ht?Subject=Re: {{ .Fm.Title }}">~icyphox/x@lists.sr.ht</a>—my <a href="https://lists.sr.ht/~icyphox/x">public inbox</a>.</p>
46        </div>
47      </div>
48    </div>
49  </body>
50</html>