diff --git a/content/posts/reviews/books/richard-p-feynman/qed-the-strange-theory-of-light-and-matter.md b/content/posts/reviews/books/richard-p-feynman/qed-the-strange-theory-of-light-and-matter.md index 0c3c2e48..f90a6d00 100644 --- a/content/posts/reviews/books/richard-p-feynman/qed-the-strange-theory-of-light-and-matter.md +++ b/content/posts/reviews/books/richard-p-feynman/qed-the-strange-theory-of-light-and-matter.md @@ -1,7 +1,7 @@ --- title: 'QED: The Strange Theory of Light and Matter' subtitle: A book by Richard P. Feynman -summary: My review of the book ''QED: The Strange Theory of Light and Matter'' by Richard P. Feynman +summary: "My review of the book \"QED: The Strange Theory of Light and Matter\" by Richard P. Feynman" type: review date: "2011-10-15T00:00:00Z" emoji: "\U0001F4D6" diff --git a/layouts/partials/syndication.html b/layouts/partials/syndication.html index 28e1c3a8..641d4089 100644 --- a/layouts/partials/syndication.html +++ b/layouts/partials/syndication.html @@ -9,7 +9,13 @@ {{ else if hasPrefix . "https://www.goodreads.com/" }} {{ partial "syndication-ref.html" (dict "type" "goodreads" "link" .) }} {{ else if hasPrefix . "https://trakt.tv/" }} - {{ partial "syndication-ref.html" (dict "type" "trakt" "link" .) }} + {{ partial "syndication-ref.html" (dict "type" "trakt" "link" .) }} + {{ else if hasPrefix . "https://medium.com/" }} + {{ partial "syndication-ref.html" (dict "type" "medium" "link" .) }} + {{ else if hasPrefix . "https://soundcloud.com/" }} + {{ partial "syndication-ref.html" (dict "type" "soundcloud" "link" .) }} + {{ else if hasPrefix . "https://deliveroo.engineering/" }} + {{ partial "syndication-ref.html" (dict "type" "deliveroo" "link" .) }} {{ else }} {{ partial "syndication-ref.html" (dict "type" "" "link" .) }} {{ end }} diff --git a/layouts/partials/year-relative-date.html b/layouts/partials/year-relative-date.html index da8ce945..6970c9f5 100644 --- a/layouts/partials/year-relative-date.html +++ b/layouts/partials/year-relative-date.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/themes/hello-friend-ng/assets/scss/_main.scss b/themes/hello-friend-ng/assets/scss/_main.scss index ecf9d000..3bf3ff4e 100644 --- a/themes/hello-friend-ng/assets/scss/_main.scss +++ b/themes/hello-friend-ng/assets/scss/_main.scss @@ -730,7 +730,7 @@ select:focus + .focus { display:inline-block; } -time:hover, abbr:hover { +abbr:hover { border-bottom: 1px dotted; } diff --git a/themes/hello-friend-ng/layouts/_default/single.html b/themes/hello-friend-ng/layouts/_default/single.html index 04a0d5ee..a771e775 100644 --- a/themes/hello-friend-ng/layouts/_default/single.html +++ b/themes/hello-friend-ng/layouts/_default/single.html @@ -2,14 +2,14 @@
-

- - - - - {{ i18n "readingTime" .Page.ReadingTime }} -

- {{ if eq .Type "timeless" }} + {{ $dateType := "published" }} + {{ $date := .Date}} + {{ if not .Date }} + {{ $date = .Lastmod }} + {{ $dateType := "updated" }} + {{ end }} + + {{ if .Lastmod }}

@@ -17,9 +17,18 @@ - Last updated {{ partial "year-relative-date.html" .Lastmod }} + {{ if eq $dateType "updated" }}Last updated {{ end }} + {{ if eq $dateType "published" }}Published on {{ end }} + {{ partial "year-relative-date.html" $date }}

{{ end }} +

+ + + + + {{ i18n "readingTime" .Page.ReadingTime }} +

diff --git a/themes/hello-friend-ng/layouts/partials/svg.html b/themes/hello-friend-ng/layouts/partials/svg.html index 396d9b6e..9c67324a 100644 --- a/themes/hello-friend-ng/layouts/partials/svg.html +++ b/themes/hello-friend-ng/layouts/partials/svg.html @@ -24,6 +24,8 @@ {{- else if (eq .name "codepen") -}} +{{- else if (eq .name "deliveroo") -}} + {{- else if (eq .name "dev") -}} {{- else if (eq .name "deviantart") -}}