all repos — site @ 97f8681e05140b3a656abee2a91c40dca66483a9

source for my site, found at icyphox.sh

config.py (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
 57
 58
# config.py - Vite's configuration script

title = "icyphox"
author = ""
header = """<a href="/"><- back</a>"""

# actually the sidebar
footer = """
    <img class="logo" src="/static/icyphox.png" alt="icyphox's avatar" />
    <p>
    <span class="sidebar-link">email</span>
    <br>
      <a href="mailto:x@icyphox.sh">x@icyphox.sh</a>
    </p> 

    <p>
    <span class="sidebar-link">github</span>
        <br>
      <a href="https://github.com/icyphox">icyphox</a>
    </p> 

    <p>
    <span class="sidebar-link">mastodon</span>
    <br>
    <a rel="me" href="https://toot.icyphox.sh/@x">@x@icyphox.sh</a>
    </p> 

    <p>
    <span class="sidebar-link">pgp</span>
    <br>
      <a href="/static/gpg.txt">0x8A93F96F78C5D4C4</a>
    </p> 

    <h3>friends</h3>
    <p>
    Some of <a href="/friends">my friends</a> and internet bros.
    </p>

    <h3>about</h3>
    <p>
    More <a href="/about">about me</a> and my work.
    </p>

    <div class="license">
    <a href="https://liberapay.com/icyphox/donate">
    <img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg">
    </a>
    <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">
    <img class="footimgs" src="/static/cc.svg">
    </a>
    <a href="https://webring.xxiivv.com/#random" target="_blank">
    <img class="footimgs" alt="xxiivv webring" src="/static/webring.svg">
    </a>
    </div>
        """
template = 'text.html'  # default is index.html
pre_build = [['./bin/openring.py', '-j'], './bin/update_index.py']
post_build = ['./bin/rss.py', './bin/plaintext.sh']