commit 96916593e76930f416141d77503856f1e8c227ad
parent 9c89f8623f829ae02d35244562348f3072a553f4
Author: Demonstrandum <moi@knutsen.co>
Date: Thu, 10 Sep 2020 21:00:17 +0100
Added public keys and e-mail help page.
Diffstat:
8 files changed, 135 insertions(+), 22 deletions(-)
diff --git a/Makefile b/Makefile
@@ -4,13 +4,16 @@ ifndef SEAM
$(error "`seam' executable not available. Please install")
endif
-HTML_FILES := index.html
+HTML_FILES := index.html email.html
-all: $(HTML_FILES)
+all: clean $(HTML_FILES)
index.html:
$(SEAM) --html index.sex > index.html
+email.html:
+ $(SEAM) --html email.sex > email.html
+
install:
ifndef path
$(error "Please give an install path (e.g. path=/var/www/home)")
@@ -20,3 +23,5 @@ endif
clean:
rm -f $(HTML_FILES)
+
+.PHONY: all clean install
diff --git a/email.sex b/email.sex
@@ -0,0 +1,33 @@
+(!DOCTYPE html)
+(html :lang en
+ (head
+ (%include "head.sex")
+ (title Knutsen | E-mail))
+ (body
+ (%include "header.sex")
+ (div :id container
+ (h1 Authenticating)
+ (p You'll need an E-mail client, such as
+ (a :href "https://www.thunderbird.net/" Thunderbird) \(for desktop\),
+ or (a :href "https://sparkmailapp.com/" Spark) \(for mobile\).)
+
+ (h2 Configuration)
+ (p In this example, (code myname) will be your username, hence your
+ E-mail will be (code myname@knutsen.co).
+ Note that these are (em not) the same)
+ (p Your password should already be known, and can be changed at
+ (a :href "https://user.knutsen.co" user.knutsen.co).)
+ (p Your (em incoming server) will be IMAP,
+ and your (em outgoing) will be SMTP, naturally.)
+
+ (ul
+ (li IMAP Server: (code mail.knutsen.co:993) over SSL/TLS)
+ (li IMAP Username: (code myname))
+ (li SMTP Server: (code mail.knutsen.co:587) over STARTTLS)
+ (li SMTP Username: (code myname)))
+
+ (h2 Example)
+ (p Here is an example Thunderbird configuration:)
+ (img :class card
+ :alt "Configuration example"
+ :src "./media/email-thunderbird.png"))))
diff --git a/header.sex b/header.sex
@@ -0,0 +1,24 @@
+(style
+ (header
+ :position fixed
+ :top 0
+ :left 0)
+ (header .logo
+ :opacity 0.2
+ :font-family ("Playfair Display SC" , serif)
+ :font-size 3em
+ :text-decoration none
+ :border-right (1px solid #000)
+ :border-left (1px solid #000)
+ :border-bottom-right-radius 5pt
+ :display block
+ :margin 0
+ :padding (0.2em 0.5em))
+ (header .logo:hover
+ :opacity 1.0
+ :cursor pointer
+ ))
+
+(header
+ (a :class logo :href "/"
+ (span K)))
diff --git a/index.sex b/index.sex
@@ -4,35 +4,27 @@
(%include "head.sex")
(title Knutsen | Home))
(body
+ (%include "header.sex")
(div :id container
(h1 Knutsen)
(p This is the homepage for the Knutsen \(web, mail, &c.\)
server. Hosted on a (strong VPS) \(Virtual Private Server\)
somewhere in London.)
- (h2 Sub–domains)
- (p Some web-sites currently hosted under subdomains of
- knutsen.co, are:)
- (ul :class subdomains
- (li (a :href "https://user.knutsen.co" user.knutsen.co)
- (span \(e-mail password change.\)))
- (li (a :href "https://git.knutsen.co" git.knutsen.co)
- (span \(source code for any projects on here.\)))
- (li (a :href "https://canvas.knutsen.co" canvas.knutsen.co))
- (li (a :href "https://me.knutsen.co" me.knutsen.co)
- (span \(old site, what used to be this page.\)))
- (li (a :href "https://fam.knutsen.co" fam.knutsen.co)))
+ (h2 Source Code)
+ (ul
+ (li local: (a :href "https://git.knutsen.co" git.knutsen.co).)
+ (li sourcehut: (code (a :href "https://git.sr.ht/~knutsen" ~knutsen)))
+ (li github: (code (a :href "https://github.com/Demonstrandum" Demonstrandum).)))
- (h2 Git/Github)
- (p Github acccount: (a :href "https://github.com/Demonstrandum"
- github.com/Demonstrandum). I host my own git server on this VPS,
- you can find it at (a :href "https://git.knutsen.co"
- git.knutsen.co). It supports (code ssh) for cloning and pushing,
- \(if you wish you wish to host something, just give me your
- public key\), you can also clone \(but only clone\)
- if you dont have an account, using the (code git://) protocol.)
+ (h2 Public Keys)
+ (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)))
(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)))))
diff --git a/keys/pgp_4096_rsa.pub b/keys/pgp_4096_rsa.pub
@@ -0,0 +1,51 @@
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+
+mQINBF9aagsBEAC1013pDvX7YO5ezZWFpc5lGqvozgfqgl4Wmy/ia3Cccjjr1D0M
+x+/RfQ3BKayvCrtNdkS/oHEgniPdjfhuadozYpjqjz88EsIF7KBFXXLDsvx9oQ0s
+6s3oNkECj1/h7BRPU0o+yLOYuz5wOjR5N3YZtnPsl6Wb3h/J8ponbr6YVxAfCef8
+E43hCwqUMu7usYBCOd4A1N9kIhubS9hUmjiiThwFuaVU0fKIDEOPX2usmpMFrsGi
+9uCMgLeu/8qjPW0JVGculn2b7m6UgO5J6OVHH741aLKA5GpjF8P6QZmgfdWA8e3V
+7a5Kel6sCRixMBtznh2bxwPHJxRA/ivlo3eNVcIo3zr6sUbifqYG0Hi7+cgnGVaf
+eTmxFeGM2aGaxllZIriV1zudLn3GPvW9ZYSjPlkSrqiZ2WC9+MXJYDgQAGOLGFhG
+ko2UAlZ8Auve1gfa4tkJ10ICHpV8kX0gel7gKPcGE0RwwYpb0PTeFyUsQ87EYn6R
+gln+BuUrx7+m8VZESKI3fVYsGpgDcRm8I14wZzyGfBsSEqpkFFDqLQXu8d5fjnEN
+XfEOTB/xqp7WUfWjFs8UZu4v8G4Fu0YWUaC/as5XesYP7n5u4hDPU1Yo7+NHIAqo
+FhYD4lKtqgTg/gv7M32RTPp0JoYDYAs6FMXsjERYWZjwW7mGDAjopXWM5wARAQAB
+tCFTIEYgRCBLbnV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AvbB7Jij9DE5Ew33fNAXU88EuJqS7XcZQO+fj5
+brqIiO3Mlps5v+UhztrSzPUNJgrndlGXo3LAF2Keebary6zxwjBbBeERF5NCApid
+Y8X+CBuYwTISiXsTRnRu2DVWDH+IWLh6vshoP+PCwHDPS4A5a/E8LQpwxoR9X6lJ
+T8ruC4m1cd/1rYa/FHcVBu8bhvvRmLhJOralsybw9Q1BsE1xTOPasPMbKzmI
+=OlUb
+-----END PGP PUBLIC KEY BLOCK-----
diff --git a/keys/ssh_4096_rsa.pub b/keys/ssh_4096_rsa.pub
@@ -0,0 +1 @@
+ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDY6+ckT8kuEvniMPjEnHD/XRsna4V2H1dG9W5sIXTpG0BEhurM9MpqFjGTviCpzX4BQ+y85CimHp5ehHnnyMXeHqwEjCgy8TTcj0nAKS+Gonuoy46VDnGQz22hd3lsP/i3UChw27YjzvWpT8umv74zYr+qSnU644pK65/QMsVCxj41iSwi9QFkS2BgxRW0iQWQ7d5KT6JxVRzr8NfYC9V8gt1Qjy2cZ5QP4+JYHtDAZJNvb1VjpDFroOKm9h4jYXusCaxV65AHzRJi9qPDzoPsGbT0rkewRldyZFg27HDRHP44ZJvgvpWXho/y2HLbusRFvF51walWH2pghlChHqlhCYq5ef7ycyVxtSus0t6hSpXdtY6gelfk86GP+Z4/eeLwnJpubpSY/rD0mAMbUFqKAMnfVp9l3AsCXk0vvdpsH4phYP4qMsjlCLTyrVTgBxG2zWUgsglB6r1rPTdLePlKEPqFlV5uFMlGBNNOCootCXLfprG2hTSLrCarabk5I5ukVIoxEqKpMvac7Q8gUll8GUEnKSFwX3Gw8SVcfmzfRoTRjPEuokZB9RHBK04v0HS6hV1bJYw6ntrbYsHm+iZx5WW3yG3OR1BRWsMWU9haDPAvQ+DrmwcXM4KFdy7hkw69uPVv6ZPPEEavdXiySwrLydeXkIgnQVbTlRiMT1DH4w== moi@knutsen.co
diff --git a/media/email-thunderbird.png b/media/email-thunderbird.png
Binary files differ.
diff --git a/styles/main.sex b/styles/main.sex
@@ -32,6 +32,7 @@
(h1 , h2 , h3
:font-family ("Playfair Display SC" , serif)
+ :font-variant-ligatures none
:font-weight 400)
(h2 , h3
@@ -54,3 +55,9 @@
:background #f4f4f4
:border (1px solid #e4e4e4)
:border-radius 4px)
+
+(img.card
+ :max-width 100%
+ :border-radius 5pt
+ :border (1px solid #0002)
+ :filter (drop-shadow 0 2pt 5pt #0002))