~misterio/misterio.me

cc6c96953087296f7ab330834ab4c9cdc5345894 — Gabriel Fontes a month ago 3cd1e2b
split html templates better, fix extlinks not applying
M _main/_includes/footer.html.liquid => _main/_includes/footer.html.liquid +46 -42
@@ 1,42 1,46 @@
<footer>
  <p>
    Wanna talk? Hit me up on email. Feel free to encrypt, and <a href="https://useplaintext.email">use plaintext</a> if possible.
  </p>
  <p>
    <address>
      <a href="mailto:eu@misterio.me">eu@misterio.me</a> /
      <a href="mailto:g.fontes@usp.br">g.fontes@usp.br</a>
    </address>
    <span class="pgp">
      <small>
        PGP:
      </small>
      <a href="/7088C7421873E0DB97FF17C2245CAB70B4C225E9.asc">
        <span>7088 C742 1873 E0DB 97FF 17C2</span> 245C AB70 B4C2 25E9
      </a>
    </span>
  </p>
  <p>
    <small>Forges: </small>
    <a href="https://sr.ht/~misterio" class="sourcehut">sourcehut</a>
    /
    <a href="https://github.com/misterio77" class="github">github</a>
  </p>
  <p>
    <small>Social: </small>
    <!-- <a href="" class="mastodon">
      mastodon
    </a> / -->
    <a href="https://twitter.com/misterio7x7" class="twitter">twitter</a>
    /
    <a href="https://linkedin.com/in/misterio7" class="linkedin">linkedin</a>
  </p>
  <p>
    <small>Chat: </small>
    <a href="https://matrix.to/#/@misterio:matrix.org" class="matrix">matrix</a>
    /
    <a href="https://t.me/misterio7x" class="telegram">telegram</a>
  </p>
  <hr />
  <p><a href="https://sr.ht/~misterio/misterio.me/">This site</a>'s code is available under MIT, while its content is CC BY-SA 4.0</p>
</footer>
<p>
  Wanna talk? Hit me up on email. Feel free to encrypt, and <a href="https://useplaintext.email">use plaintext</a> if possible.
</p>

<p>
  <address>
    <a href="mailto:eu@misterio.me">eu@misterio.me</a> /
    <a href="mailto:g.fontes@usp.br">g.fontes@usp.br</a>
  </address>
  <span class="pgp">
    <small>
      PGP:
    </small>
    <a href="/7088C7421873E0DB97FF17C2245CAB70B4C225E9.asc">
      <span>7088 C742 1873 E0DB 97FF 17C2</span> 245C AB70 B4C2 25E9
    </a>
  </span>
</p>

<p>
  <small>Forges: </small>
  <a href="https://sr.ht/~misterio" class="sourcehut">sourcehut</a>
  /
  <a href="https://github.com/misterio77" class="github">github</a>
</p>

<p>
  <small>Social: </small>
  <!-- <a href="" class="mastodon">
    mastodon
  </a> / -->
  <a href="https://twitter.com/misterio7x7" class="twitter">twitter</a>
  /
  <a href="https://linkedin.com/in/misterio7" class="linkedin">linkedin</a>
</p>

<p>
  <small>Chat: </small>
  <a href="https://matrix.to/#/@misterio:matrix.org" class="matrix">matrix</a>
  /
  <a href="https://t.me/misterio7x" class="telegram">telegram</a>
</p>

<hr />

<p><a href="https://sr.ht/~misterio/misterio.me/">This site</a>'s code is available under MIT, while its content is CC BY-SA 4.0</p>

M _main/_layouts/default.html.liquid => _main/_layouts/default.html.liquid +14 -1
@@ 1,4 1,17 @@
---
layout: root.html
---
{{ content | extlinks }}
<header>
  {% include nav.html.liquid %}
</header>

<main>
  <h1>{{ page.title }}</h1>
  <p><em>{{ page.description }}</em></p>
  <hr />
  {{ content }}
</main>

<footer>
  {% include footer.html.liquid %}
</footer>

M _main/_layouts/root.html.liquid => _main/_layouts/root.html.liquid +2 -11
@@ 11,18 11,9 @@
    <link rel="stylesheet" id="scheme-css" />
    <link rel="alternate" type="application/rss+xml" title="RSS" href="/feed.xml" />
    <link rel="icon" href="data:,">
    <script src="/assets/main.js"></script>
  </head>
  <body>
    <script src="/assets/main.js"></script>
    <header>
        {% include nav.html.liquid %}
    </header>
    <main>
      <h1>{{ page.title }}</h1>
        <p><em>{{ page.description }}</em></p>
      <hr />
      {{ content }}
    </main>
    {% include footer.html.liquid %}
    {{ content | extlinks}}
  </body>
</html>