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"joshstock.in © {datetime.date.today().year} Josh 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.FIGCAPTION( |
23 | hg.I( |
24 | f"Site last updated {datetime.datetime.now().strftime('%Y-%m-%d, %H:%M')}" |
25 | ) |
26 | ) |
27 | ) |
28 | return footer |
29 |
|