knutsen.co

Knutsen Homepage Source - knutsen.co
git clone git://git.knutsen.co/knutsen.co
Log | Files | Refs | README | LICENSE

commit 7d6551814161ea1cc61112ace4cdc607831ff5fb
parent 44a35a63e58f6857299de57677f7222c715bf415
Author: Demonstrandum <moi@knutsen.co>
Date:   Sat, 10 Oct 2020 21:30:49 +0100

Add last compiled date to pages.

Diffstat:
Adate-mark.sex | 12++++++++++++
Memail.sex | 3++-
Afooter.sex | 2++
Mindex.sex | 8+++++---
Mstyles/main.sex | 9++++++++-
5 files changed, 29 insertions(+), 5 deletions(-)

diff --git a/date-mark.sex b/date-mark.sex @@ -0,0 +1,12 @@ +(time :id date + :title "Date website was last compiled." + ~(%date "%Y.%m.%d")) + +(style + (#date + :font-family ("IBM Plex Mono", monospace) + :font-size 0.9em + :position fixed + :bottom 1.8em + :right 2.2em + :color (rgba 0 0 0 0.4))) diff --git a/email.sex b/email.sex @@ -30,4 +30,5 @@ (p Here is an example Thunderbird configuration:) (img :class card :alt "Configuration example" - :src "./media/email-thunderbird.png")))) + :src "./media/email-thunderbird.png") + (%include "footer.sex")))) diff --git a/footer.sex b/footer.sex @@ -0,0 +1,2 @@ +(footer + (%include "date-mark.sex")) diff --git a/index.sex b/index.sex @@ -17,15 +17,17 @@ (li sourcehut: (code (a :href "https://git.sr.ht/~knutsen" ~knutsen))) (li github: (code (a :href "https://github.com/Demonstrandum" Demonstrandum).))) - (h2 Public Keys) + (h2 Public Keys/IDs) (ul (li PGP (code (a :href "./keys/pgp_4096_rsa.pub" 693BD1EE8BD77B43))) (li SSH (code (a :href "./keys/ssh_4096_rsa.pub" 4b:42:d8:30:43:65:53:21:be:53:97:49:bc:5f:96:44))) - (li ETH (code 0x1C7fC5d267C3CEBc4AC875abB424b29dE5113071))) + (li ETH (code 0x1C7fC5d267C3CEBc4AC875abB424b29dE5113071)) + (li Urbit (code ~minten-migmug))) (h2 E–mail) (p Want to log-in with your e-mail? See (a :href "./email.html" this page).) (p E-mail me any time, for questions about the server, the website, or getting your own (code @knutsen.co) e-mail.) - (center (a :href "mailto:postmaster@knutsen.co" postmaster@knutsen.co))))) + (center (a :href "mailto:postmaster@knutsen.co" postmaster@knutsen.co)) + (%include "footer.sex")))) diff --git a/styles/main.sex b/styles/main.sex @@ -11,6 +11,7 @@ (body :display flex + :overflow-y scroll :padding 2em :width (calc (- 100% 4em)) :min-height (calc (- 95% 4em)) @@ -56,7 +57,13 @@ :padding (0px 3px 2px 3px) :background #f4f4f4 :border (1px solid #e4e4e4) - :border-radius 4px) + :border-radius 4px + :white-space pre-wrap + :white-space -moz-pre-wrap + :white-space -pre-wrap + :white-space -o-pre-wrap + :word-wrap break-word + :user-select all) (img.card :max-width 100%