From ce22356a287e850af78fb70ddf458d314419c0f8 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 8 Nov 2026 03:37:32 +0000 Subject: [PATCH] Add canonical link and Open Graph tags to the landing page and layout The live pages carried a title and description but no canonical link and no Open Graph tags. The landing page and the Jekyll layout (every folder page) now carry a self-referential canonical, og:type, og:title, og:description, og:url and twitter:card=summary, copied from each page's own title and description. No og:image: no share image exists. Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_011RjaPastNzAVW6VYw3UYxj --- _config.yml | 2 ++ _layouts/default.html | 9 ++++++++- index.html | 6 ++++++ 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index d75d0c7..96e3590 100644 --- a/_config.yml +++ b/_config.yml @@ -1,5 +1,7 @@ title: FieldStack description: Reusable R notebooks, scripts and tools for applied data work and evaluation. +url: https://varnasr.github.io +baseurl: /FieldStack markdown: kramdown # GitHub Pages runs this plugin, which turns each folder's README.md into that diff --git a/_layouts/default.html b/_layouts/default.html index b622ccb..9fd905c 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -4,7 +4,14 @@ {% assign t = page.title | default: page.dir | remove_first: "/" | remove: "/" | replace: "_", " " %} -{% if t != "" %}{{ t | capitalize }} · {% endif %}FieldStack +{% capture page_title %}{% if t != "" %}{{ t | capitalize }} · {% endif %}FieldStack{% endcapture %} +{{ page_title }} + + + + + + diff --git a/index.html b/index.html index 50a678b..2e07f4e 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,12 @@ FieldStack · R for field operations and survey analysis + + + + + +