From 0e031bdacb9ae3089b9ecf71ceb316cb2b5dd0e9 Mon Sep 17 00:00:00 2001 From: Will Boyd Date: Sun, 28 Jun 2020 10:20:44 -0400 Subject: [PATCH] Use eleventyComputed instead of renderData --- _includes/layouts/base.njk | 4 ++-- tags.njk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_includes/layouts/base.njk b/_includes/layouts/base.njk index 179a24d..971df96 100644 --- a/_includes/layouts/base.njk +++ b/_includes/layouts/base.njk @@ -3,8 +3,8 @@ - {{ renderData.title or title or metadata.title }} - + {{ title or metadata.title }} + diff --git a/tags.njk b/tags.njk index 5faadcd..ec7f877 100644 --- a/tags.njk +++ b/tags.njk @@ -11,7 +11,7 @@ pagination: - tagList addAllPagesToCollections: true layout: layouts/home.njk -renderData: +eleventyComputed: title: Tagged “{{ tag }}” permalink: /tags/{{ tag }}/ ---