From 23ae296e4b7c8e89967aca338b5a410689116288 Mon Sep 17 00:00:00 2001 From: James Date: Mon, 13 May 2024 00:46:57 -0400 Subject: [PATCH] weird local vs prod diff, patching for tonight I hope. note to self setup staging env. smh --- _includes/header.html | 2 +- _layouts/home.html | 3 --- index.md | 3 ++- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/_includes/header.html b/_includes/header.html index b36dc86..68a2d37 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -21,7 +21,7 @@
{%- for path in page_paths -%} {%- assign my_page = site.pages | where: "path", path | first -%} - {%- if my_page.title -%} + {%- if my_page.title, !my_page.exclude -%} {{ my_page.title | escape }} {%- endif -%} {%- endfor -%} diff --git a/_layouts/home.html b/_layouts/home.html index 2e6672d..f9e2c70 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -3,9 +3,6 @@ ---
- {%- if page.title -%} -

{{ page.title }}

- {%- endif -%} {{ content }} diff --git a/index.md b/index.md index eeae8e4..28fdb29 100644 --- a/index.md +++ b/index.md @@ -1,8 +1,9 @@ --- layout: home +exclude: true --- -## You found me +

You found me

My special little corner where I get to publish short posts on various topics.