From 8583dff964d8fc28d681ac5452259a658bae4908 Mon Sep 17 00:00:00 2001 From: Peter Murray Date: Fri, 23 Jul 2021 14:16:08 -0400 Subject: [PATCH] Add Microformats (#3052) * Add rel=me to author profile links * Add h-card Microformats markup * Add h-entry microformat markup * Fix missing anchor tag * Fix h-entry microformat markup on single template * Use minimal subset of Microformat elements * Move dt-published to `page__date.html` and remove dt-updated * Remove "author" and "summary" Leaves "url" as a hidden element * Add page link to h1 tag The h1 tag now contains the Schema-org `url` itemprop and the Microformats `url` class in an anchor tag. The anchor tag is styled to not look like a link. * Put author 'u-url' on author__name h3 This also puts the same `{{ author.home | default: '/' | absolute_url }}` construct on `author__avatar` to remove the Jekyll `author.home` conditional. Also addresses SCSS text color error. --- _includes/author-profile-custom-links.html | 2 +- _includes/author-profile.html | 78 ++++++++++------------ _includes/category-list.html | 2 +- _includes/page__date.html | 6 +- _includes/tag-list.html | 2 +- _layouts/single.html | 10 +-- _sass/minimal-mistakes/_page.scss | 7 +- 7 files changed, 54 insertions(+), 53 deletions(-) diff --git a/_includes/author-profile-custom-links.html b/_includes/author-profile-custom-links.html index b89ffcb7df6c..1a3d4caefc55 100644 --- a/_includes/author-profile-custom-links.html +++ b/_includes/author-profile-custom-links.html @@ -1,6 +1,6 @@