all repos — site @ 611f60ecea7e933572bc8dee0dab312f1b8c35b7

source for my site, found at icyphox.sh

templates/text.html (view raw)

 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
<!DOCTYPE html>
<html lang=en>
<head>
  <link rel="stylesheet" href="/static/style.css" type="text/css">
  <link rel="alternate" type="application/rss+xml" title="RSS" href="https://icyphox.sh/blog/feed.xml"> 
  <meta name="description" content="{{ .Fm.Subtitle }}">
  <meta name="viewport" content="initial-scale=1">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta charset="UTF-8">
  <meta name="HandheldFriendly" content="true">
  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:site" content="@icyphox">
  <meta name="twitter:title" content="{{ .Fm.Title }}">
  <meta name="twitter:description" content="{{ .Fm.Subtitle }}">
  <meta name="twitter:image" content="/static/icyphox.png">
  <meta property="og:title" content="{{ .Fm.Title }}">
  <meta property="og:type" content="website">
  <meta property="og:description" content="{{ .Fm.Subtitle }}">
  <meta property="og:url" content="https://icyphox.sh">
  <meta property="og:image" content="/static/icyphox.png">

  <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
  <meta name="theme-color" content="#ffffff">
</head>
  <title>
    {{ .Fm.Title }}
  </title>
  <body> 
    <div class="container">
      <div class="pull-left">
        <div class="content">
          <header>
            {{ .Cfg.Header }}
          </header>
          <!--<section style="float: right">
            view in <a href="/txt/{{ .Fm.URL }}.txt">plain-text</a>
          </section>-->
          <section style="float: left">
            {{ .Fm.Date }}
          </section>
          <article style="clear: both" align="left">
            <h1>{{ .Fm.Title }}</h1>
            <h2 class="subtitle">{{ .Fm.Subtitle }}</h2>
            {{ .Fm.Body }} 
          </article>
          <p class="muted">Questions or comments? 
          Send an email to 
          <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>
        </div>
        <footer>
        {{ .Cfg.Footer }}
      </footer>
      </div>
    </div>
  </body>
</html>