config.py (view raw)
1# config.py - Vite's configuration script
2
3title = "icyphox"
4author = ""
5header = """<a href="/"><- back</a>"""
6
7# actually the sidebar
8footer = """
9 <img class="logo" src="/static/icyphox.png" alt="icyphox's avatar" />
10 <p>
11 <span class="sidebar-link">email</span>
12 <br>
13 <a href="mailto:x@icyphox.sh">x@icyphox.sh</a>
14 </p>
15
16 <p>
17 <span class="sidebar-link">github</span>
18 <br>
19 <a href="https://github.com/icyphox">icyphox</a>
20 </p>
21
22 <p>
23 <span class="sidebar-link">mastodon</span>
24 <br>
25 <a rel="me" href="https://freeradical.zone/@icyphox">@icyphox@freeradical.zone</a>
26 </p>
27
28 <p>
29 <span class="sidebar-link">pgp</span>
30 <br>
31 <a href="/static/gpg.txt">0x8A93F96F78C5D4C4</a>
32 </p>
33
34 <h3>friends</h3>
35 <p>
36 Some of <a href="/friends">my friends</a> and internet bros.
37 </p>
38
39 <h3>about</h3>
40 <p>
41 More <a href="/about">about me</a> and my work.
42 </p>
43
44 <div class="license">
45 <a href="https://liberapay.com/icyphox/donate">
46 <img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg">
47 </a>
48 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">
49 <img class="footimgs" src="/static/cc.svg">
50 </a>
51 <a href="https://webring.xxiivv.com/#random" target="_blank">
52 <img class="footimgs" alt="xxiivv webring" src="/static/webring.svg">
53 </a>
54 </div>
55 """
56template = 'text.html' # default is index.html
57pre_build = [['./bin/openring.py', '-j'], './bin/update_index.py']
58post_build = ['./bin/rss.py', './bin/plaintext.sh', './bin/webfinger.sh']