summaryrefslogtreecommitdiffstats
path: root/templates/main.html
blob: 3ce9eb55e3a5bddfc5914776bd81c6a20fe2eb0c (plain)
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
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title> <!-- set automatically, see soupault.conf --> </title>
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="/style/main.css">
    <link rel="icon" type="image/ico"  href="/img/merida.webp">
    <noscript id="lazyloading">
      <link rel="stylesheet" href="/vendors/katex.0.11.1/katex.css">
      <link rel="stylesheet"
            href="/vendors/fork-awesome.1.1.7/css/fork-awesome.min.css">
      <link rel="stylesheet" href="/vendors/fira-code.2/font.css">
      <link rel="stylesheet" href="/vendors/et-book/font.css">
    </nolink>
  </head>
  <body id="default">
    <nav>
      <ul>
        <li> <a href="/news">News</a></li>
        <li> <a href="/posts">Write-ups</a></li>
        <li> <a href="/">About</a></li>
      </ul>
    </nav>
    <header>
      <img src="/img/merida.webp"
           alt="This picture is Merida in Ralph 2.0, and is my main avatar" />
    </header>
    <main>
    <!-- your page content will be inserted here,
         see the content_selector option in soupault.conf -->
    </main>
    <script>
      let noscript = document.getElementById('lazyloading');
      let resources = noscript.innerText.split('\n');
      
      for (var ix in resources) {
          noscript.insertAdjacentHTML('beforebegin', resources[ix]);
      }
    </script>
  </body>
</html>