Merge pull request #66 from lonekorean/remove-render-data

Use eleventyComputed instead of renderData
This commit is contained in:
Zach Leatherman 2020-07-27 10:49:32 -05:00 committed by GitHub
commit d02ee01b18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -3,8 +3,8 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ renderData.title or title or metadata.title }}</title>
<meta name="Description" content="{{ renderData.description or description or metadata.description }}">
<title>{{ title or metadata.title }}</title>
<meta name="description" content="{{ description or metadata.description }}">
<link rel="stylesheet" href="{{ '/css/index.css' | url }}">
<link rel="stylesheet" href="{{ '/css/prism-base16-monokai.dark.css' | url }}">
<link rel="alternate" href="{{ metadata.feed.path | url }}" type="application/atom+xml" title="{{ metadata.title }}">

View File

@ -11,7 +11,7 @@ pagination:
- tagList
addAllPagesToCollections: true
layout: layouts/home.njk
renderData:
eleventyComputed:
title: Tagged “{{ tag }}”
permalink: /tags/{{ tag }}/
---