From 4ba9a26039a1cad38ae3cc3201c32eb741e314ab Mon Sep 17 00:00:00 2001 From: JP Hastings-Spital Date: Tue, 25 Jul 2023 21:42:43 +0100 Subject: [PATCH] h-card additions --- layouts/partials/about-me.html | 2 +- themes/hello-friend-ng/layouts/partials/head.html | 2 +- themes/hello-friend-ng/layouts/partials/logo.html | 2 +- themes/hello-friend-ng/layouts/posts/single.html | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/layouts/partials/about-me.html b/layouts/partials/about-me.html index b5def65d..acb76d06 100644 --- a/layouts/partials/about-me.html +++ b/layouts/partials/about-me.html @@ -1,6 +1,6 @@
A photo of me smiling, with short brown hair, a beard and glasses. - 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. + 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.

I post here infrequently about things I've created or care about. Recently I've written diff --git a/themes/hello-friend-ng/layouts/partials/head.html b/themes/hello-friend-ng/layouts/partials/head.html index ea3f0355..09ca9b7f 100644 --- a/themes/hello-friend-ng/layouts/partials/head.html +++ b/themes/hello-friend-ng/layouts/partials/head.html @@ -6,7 +6,7 @@ - + {{ block "title" . }} diff --git a/themes/hello-friend-ng/layouts/partials/logo.html b/themes/hello-friend-ng/layouts/partials/logo.html index 83ce4bc3..4e89d6fa 100644 --- a/themes/hello-friend-ng/layouts/partials/logo.html +++ b/themes/hello-friend-ng/layouts/partials/logo.html @@ -1,4 +1,4 @@ -<a href="{{ if .Site.Params.Logo.LogoHomeLink }}{{ .Site.Params.Logo.LogoHomeLink }}{{ else }}{{ .Site.BaseURL | relLangURL }}{{ end }}" style="text-decoration: none;"> +<a href="{{ if .Site.Params.Logo.LogoHomeLink }}{{ .Site.Params.Logo.LogoHomeLink }}{{ else }}{{ .Site.BaseURL | relLangURL }}{{ end }}" style="text-decoration: none;" rel="author"> <div class="logo"> {{ if .Site.Params.Logo.path }} <img src="{{ .Site.Params.Logo.path }}" alt="{{ .Site.Params.Logo.alt }}" /> diff --git a/themes/hello-friend-ng/layouts/posts/single.html b/themes/hello-friend-ng/layouts/posts/single.html index 4255d024..c5028abf 100644 --- a/themes/hello-friend-ng/layouts/posts/single.html +++ b/themes/hello-friend-ng/layouts/posts/single.html @@ -17,8 +17,8 @@ </p> </div> - <article> - <h1 class="post-title"{{ with .Params.emoji }} data-emoji="{{.}}"{{end}}> + <article class="e-content"> + <h1 class="post-title p-name"{{ with .Params.emoji }} data-emoji="{{.}}"{{end}}> <a href="{{ .Permalink }}">{{ .Title | markdownify }}</a> </h1> @@ -89,7 +89,7 @@ <line x1="8" y1="2" x2="8" y2="6"></line> <line x1="3" y1="10" x2="21" y2="10"></line> </svg> - <date datetime="{{ dateFormat "2006-01-02T15:04:05-0700" .Date }}"> + <date datetime="{{ dateFormat "2006-01-02T15:04:05-0700" .Date }}" class="dt-published"> {{ if .Site.Params.dateformNumTime }} {{ dateFormat .Site.Params.dateformNumTime .Date }} {{ else }}