Merge pull request #66 from lonekorean/remove-render-data
Use eleventyComputed instead of renderData
This commit is contained in:
commit
d02ee01b18
@ -3,8 +3,8 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>{{ renderData.title or title or metadata.title }}</title>
|
<title>{{ title or metadata.title }}</title>
|
||||||
<meta name="Description" content="{{ renderData.description or description or metadata.description }}">
|
<meta name="description" content="{{ description or metadata.description }}">
|
||||||
<link rel="stylesheet" href="{{ '/css/index.css' | url }}">
|
<link rel="stylesheet" href="{{ '/css/index.css' | url }}">
|
||||||
<link rel="stylesheet" href="{{ '/css/prism-base16-monokai.dark.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 }}">
|
<link rel="alternate" href="{{ metadata.feed.path | url }}" type="application/atom+xml" title="{{ metadata.title }}">
|
||||||
|
2
tags.njk
2
tags.njk
@ -11,7 +11,7 @@ pagination:
|
|||||||
- tagList
|
- tagList
|
||||||
addAllPagesToCollections: true
|
addAllPagesToCollections: true
|
||||||
layout: layouts/home.njk
|
layout: layouts/home.njk
|
||||||
renderData:
|
eleventyComputed:
|
||||||
title: Tagged “{{ tag }}”
|
title: Tagged “{{ tag }}”
|
||||||
permalink: /tags/{{ tag }}/
|
permalink: /tags/{{ tag }}/
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user