config.py (view raw)
1# config.py - Vite's configuration script
2
3title = "icyphox"
4author = ""
5header = ""
6
7# actually the sidebar
8footer = f"""
9 <img class="logo" src="/static/white.svg" alt="icyphox's avatar" style="width: 55%"/>
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">fediverse</span>
24 <br>
25 <a rel="me" href="https://toot.icyphox.sh/@x">@x@toot.icyphox.sh</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="icons">
45 <a href="https://creativecommons.org/licensjes/by-nc-sa/4.0/">
46 <img class="footimgs" alt="cc nc-by-sa" src="/static/cc.svg">
47 </a>
48 <a href="https://webring.xxiivv.com/#random" target="_blank">
49 <img class="footimgs" alt="xxiivv webring" src="/static/webring.svg">
50 </a>
51 <a href="/blog/feed.xml" >
52 <img class="footimgs" alt="rss feed" src="/static/rss.svg">
53 </a>
54 </div>
55
56 """
57template = 'text.html' # default is index.html
58pre_build = ['bin/update_index.py']
59post_build = ['bin/rss.py', 'bin/plaintext.sh']