From dcd02bb3d57688dbd39242e930bac98875748acd Mon Sep 17 00:00:00 2001 From: ElastiCourse <71233127+ElastiCourse@users.noreply.github.com> Date: Mon, 24 Jul 2023 19:18:15 -0400 Subject: [PATCH 1/2] fix shortcode imgc, not imgh --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b5bd3e3..47aa818 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ Has paginated Categories and Tags. Markdown files will automatically convert images put into `/assets` folder to .webp images. ## Image shortcodes for webp as well. -{{< imgh src="img-name.jpg" alt="Place alt text here." >}} +{{< imgc src="img-name.jpg" alt="Place alt text here." >}} Buy Me A Coffee From 8ef17f28feab5718c88c56a6e4a5d3c6fb9c9945 Mon Sep 17 00:00:00 2001 From: ElastiCourse <71233127+ElastiCourse@users.noreply.github.com> Date: Mon, 24 Jul 2023 19:22:58 -0400 Subject: [PATCH 2/2] multiple fixes explained 1. og:type and og:title are both duplicates 2. switch og:type based on current location (website) or (article) 3. og:image use featuredimage first if available, if not use ogimage for fallback --- layouts/partials/meta.html | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html index 8819537..242da6c 100644 --- a/layouts/partials/meta.html +++ b/layouts/partials/meta.html @@ -6,13 +6,11 @@ - - - - - \ No newline at end of file + + +