robertodr/totaltrash.xyz
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no" />
    <meta name="referrer" content="no-referrer">
    <link href="/favicon.png" rel="shortcut icon">
    <link href="https://fonts.googleapis.com/css?family=Alegreya" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css?family=Fira+Mono" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet">
    <script type="text/javascript" src="/vendor/highlight.pack.js" />
    <script type="text/javascript" src="/vendor/highlight.line-numbers.js" />
    <script src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-MML-AM_CHTML' async />
     <script defer src="https://use.fontawesome.com/releases/v5.7.2/js/all.js" integrity="sha384-0pzryjIRos8mFBWMzSSZApWtPl/5++eIfzYmTgBBmXYdhvxPc+XcFEk+zJwDgWbP" crossorigin="anonymous"></script>
    <link rel="stylesheet" href="/vendor/normalize.css" />
    <link rel="stylesheet" href="/css/style.css" />
    <title>
      totaltrash.xyz
      $if(title)$
      – $title$
      $endif$
    </title>
  </head>
  <body>
    <main>
      <article>
        $body$
      </article>

    <aside>
      <h1>
      $title$
      </h1>

      <div class="abstract">
        $if(abstract)$
        <i class="fas fa-angle-double-right fa-3x fa-pull-left" aria-hidden="true"></i>
        $abstract$
        $endif$
      </div>

      <nav id="toc">
      </nav>

      <hr />

      <ul class="fa-ul">
          <li><span class="fa-li" ><i class="fas fa-rss"></i></span>
              Want to be kept posted? <a href="/rss">There is a RSS feed </a> for that!
          </li>
          <li><span class="fa-li" ><i class="fas fa-crow"></i></span>
              The source of this website is available on the Pijul Nest <a
              href="https://nest.pijul.com/robertodr/totaltrash.xyz">under the
              terms of the AGPLv3</a>. Found a mistake? <a
              href="mailto:roberto.diremigio@gmail.com">Shoot an email</a>! (with
              <a href="https://man.sr.ht/git.sr.ht/send-email.md">a patch</a>
              maybe?)
          </li>
      </ul>
    </aside>
    <aside>
     <img src="/images/me-by-ilsignorm.png" width="300px">
    </aside>
    </main>

    <footer>
      <p>
        <i class="fas fa-crow"></i>
        <a href="https://nest.pijul.com/robertodr/totaltrash.xyz:master/patches/$long$">
          @$short$
        </a>
      </p>
    </footer>

    <script type="text/javascript">
      // highlightjs
     hljs.initHighlightingOnLoad();
      hljs.initLineNumbersOnLoad({
          singleLine: true
      });

      // add hint to remote links
      window.onload =function() {
        var links = document.links;
        for (var i = 0, linksLength = links.length; i < linksLength; i++) {
          if (links[i].hostname != window.location.hostname) {
            links[i].innerHTML += ' <i class="fa fa-external-link-alt fa-sm" style="font-size:0.7em"></i>';
          }
        }
      }

      // deal with toc, the ugly way
      var falseToc = document.getElementById('false_toc');

      if (falseToc) {
        document.getElementById('toc').innerHTML = falseToc.innerHTML;
        falseToc.innerHTML = '';
      }
    </script>
  </body>
</html>