1 | import datetime |
2 |
|
3 | import htmlgenerator as hg |
4 |
|
5 |
|
6 | def 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 |
|