#!/bin/sh

NO_COMMENTS=1 ./template.html.sh <<EOF
    <div class="left-content">
      <h1>welcome! // ~cel</h1>
    </div>

    <div class="right tilde-ring">
      <p><em>a member of the tilde.town ~ring</em></p>
      <p> <a id="tilde_town_ring" class="tilde_ring_link" href="">random ~user</a>
        | <a id="random_tildebox" class="tilde_ring_link" href="">random ~box</a>
        | <a id="tilde_town_ring_next" class="tilde_ring_link" href="">next ~user</a> </p>
      <p><a href="http://tilde.town/~um/tilde_ring/join.html">join</a></p>
    </div>

    <ul class="left-clear clearfix">
      <li><a href="https://celehner.com/">celehner.com</a></li>
      <li><a href="https://cel.sdf.org/">cel.sdf.org</a></li>
      <li><a href="https://ssb.celehner.com/" title="Secure Scuttlebutt">SSB</a>:
        <code>@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519</code></li>
    </ul>

    <div class="right art-container">
      <div class="art">
        <img src="images/abstract-3-128.jpg" alt="Abstract 3">
      </div>
    </div>

    <h2>Projects &amp; Articles</h2>
    <ul>
      <li><a href="2023/tel.txt">tilde.tel asterisk snippets</a></li>
      <li><a href="https://tilde.town/~troido/cadastre/town.html#9,9">9,9@Cadastre</a></li>
      <li><a href="loginstats.html">Login Stats</a></li>
      <li><a href="buttons.html">Buttons</a></li>
      <li><a href="tildventure/">Tildventure</a></li>
      <li><a href="static-approach.html">Static sites</a></li>
      <li><a href="irc-socket-activation.html">IRC tunneling using systemd</a></li>
      <li><a href="feeds.html">RSS feeds</a></li>
      <li><a href="oatmeal.html">Oatmeal recipe</a></li>
      <li><a href="newsgroups.html">Newsgroups on tilde.town</a></li>
      <li><a href="debian.html">Debian Linux stuff</a></li>
    </ul>

    <h2>Cool pages</h2>
    <ul>
    $(awk -F'\t' -f links.awk links.tsv)
    </ul>

    <h2>Cards</h2>
    <div id="cards"></div>

    <h2>Yi Jing</h2>
    <div id="yijing">
      <span id="yijing-hexagram"></span>
      <span id="yijing-description"></span>
    </div>

    <h2>Guestbook</h2>
    <p>To sign, run <code>~cel/public_html/guestbook/sign.sh</code>
    on tilde.town</p>
    <ul>
    $(tac guestbook/guestbook.txt | awk -F',' -f guestbook/guestbook-html.awk)
    </ul>

  <script src="cards.js"></script>
  <script src="iching.js"></script>
  <script src="http://tilde.town/~um/tilde_ring/tilde_ring.js"></script>
EOF
