From 31fd5d444b256c929ddf26e2a6eb65a9314cb25a Mon Sep 17 00:00:00 2001 From: gered Date: Mon, 10 Jul 2023 14:17:18 -0400 Subject: [PATCH] update example site with trailing-url-less urls --- example-site/pages.yml | 6 +++--- example-site/templates/archive.html | 2 +- example-site/templates/base.html | 4 ++-- example-site/templates/partials/post.html | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/example-site/pages.yml b/example-site/pages.yml index ef44aeb..d2efb78 100644 --- a/example-site/pages.yml +++ b/example-site/pages.yml @@ -2,10 +2,10 @@ pages: - file_path: about.md title: About This Site - url: /about/ + url: /about - file_path: joke.md title: Joke - url: /joke/ + url: /joke alternate_urls: - - /trying-to-be-funny/ + - /trying-to-be-funny diff --git a/example-site/templates/archive.html b/example-site/templates/archive.html index 555bc9f..57aafef 100644 --- a/example-site/templates/archive.html +++ b/example-site/templates/archive.html @@ -13,7 +13,7 @@ {{ post.title }} {%- for tag in post.tags -%} - {{ tag }} + {{ tag }} {%- endfor -%} diff --git a/example-site/templates/base.html b/example-site/templates/base.html index 5b8c0b8..943f2b1 100644 --- a/example-site/templates/base.html +++ b/example-site/templates/base.html @@ -17,8 +17,8 @@

My Site

diff --git a/example-site/templates/partials/post.html b/example-site/templates/partials/post.html index b87f92c..eefd51e 100644 --- a/example-site/templates/partials/post.html +++ b/example-site/templates/partials/post.html @@ -5,7 +5,7 @@ {{ post.date | date(format="%B %e, %Y") }} — {%- for tag in post.tags -%} - {{ tag }} + {{ tag }} {%- endfor -%}