From b6b09a87cde96649a759fa4cb3553c568a86c764 Mon Sep 17 00:00:00 2001 From: JP Hastings-Spital Date: Fri, 28 Apr 2023 15:57:05 +0100 Subject: [PATCH] Add intro text --- config.toml | 2 +- layouts/partials/about-me.html | 5 +++++ layouts/partials/welcome.md | 1 + themes/hello-friend-ng/assets/scss/_main.scss | 6 +++++- themes/hello-friend-ng/layouts/index.html | 7 ++++++- 5 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 layouts/partials/about-me.html create mode 100644 layouts/partials/welcome.md diff --git a/config.toml b/config.toml index ce4908ed..78de5998 100644 --- a/config.toml +++ b/config.toml @@ -75,7 +75,7 @@ disableRSS = false [[languages.en.params.social]] name = "keyoxide" - url = "https://id.byjp.me/" + url = "https://id.byjp.me" [[languages.en.params.social]] name = "gpg" diff --git a/layouts/partials/about-me.html b/layouts/partials/about-me.html new file mode 100644 index 00000000..b9c297c5 --- /dev/null +++ b/layouts/partials/about-me.html @@ -0,0 +1,5 @@ +
+ Hello! I'm JP Hastings-Spital, a maker, software engineer, swing dancer, and all-round miriscient chap living in London, UK. I'm a principal engineer at Deliveroo. +
+ +

{{ partial "welcome.md" | markdownify }}

\ No newline at end of file diff --git a/layouts/partials/welcome.md b/layouts/partials/welcome.md new file mode 100644 index 00000000..8cfdcb4d --- /dev/null +++ b/layouts/partials/welcome.md @@ -0,0 +1 @@ +I [write](./posts) on this site infrequently about things I've created or care about. You're welcome to write to me if you'd like, read my [standing invitation](./standing-invitation) for more information. diff --git a/themes/hello-friend-ng/assets/scss/_main.scss b/themes/hello-friend-ng/assets/scss/_main.scss index de6ed544..ccedbd63 100644 --- a/themes/hello-friend-ng/assets/scss/_main.scss +++ b/themes/hello-friend-ng/assets/scss/_main.scss @@ -123,7 +123,11 @@ a { color: inherit; } -main p a, main li a, nav a, .social a { +.always-accented { + color: var(--accent); +} + +main p a, main li a, nav a, .social a, section a, .accented { &:hover { color: var(--accent); } diff --git a/themes/hello-friend-ng/layouts/index.html b/themes/hello-friend-ng/layouts/index.html index ed82ce08..fd78c35b 100644 --- a/themes/hello-friend-ng/layouts/index.html +++ b/themes/hello-friend-ng/layouts/index.html @@ -9,7 +9,7 @@ {{ .Site.Params.Portrait.Alt }} {{ end }} -

{{ .Site.Title }}

+

{{ .Site.Title }}

{{ partial "subtitle.html" . }} @@ -19,5 +19,10 @@ {{- end }} +
+
+
+ {{ partial "about-me.html" .}} +
{{ end }}