Index

joshstock.in / 5aaa26a

Source for serving and static templating/compiling of https://joshstock.in.

Latest Commit

{#}TimeHashSubjectAuthor#(+)(-)GPG?
15814 Jan 2023 23:375aaa26aWebsite rewriteJosh Stockin1300G

Blob @ joshstock.in / site / generators / footer.py

application/x-python802 bytesdownload raw
1import datetime
2
3import htmlgenerator as hg
4
5
6def run(data=None):
7 """Build HTML footer"""
8 footer = hg.FOOTER(
9 hg.P(
10 hg.mark_safe(
11 f"https://joshstock.in © {datetime.date.today().year} Joshua Stockin"
12 ),
13 ),
14 hg.P(
15 "[",
16 hg.A("GPG key", href="/josh.gpg"),
17 "] / ",
18 hg.A("josh@joshstock.in", href="mailto:josh@joshstock.in"),
19 " / ",
20 hg.A("stockin2@illinois.edu", href="mailto:stockin2@illinois.edu"),
21 " / ",
22 hg.CODE("joshuas3#", hg.I("9641")),
23 ),
24 hg.FIGCAPTION(
25 hg.I(
26 f"Site last updated {datetime.datetime.now().strftime('%Y-%m-%d, %H:%M')}"
27 )
28 )
29 )
30 return footer
31