This commit is contained in:
Zach Leatherman
2024-01-14 12:32:15 +13:00
parent 6d64bd2813
commit 4c57a825da
11 changed files with 52 additions and 51 deletions

View File

@@ -5,7 +5,7 @@ eleventyExcludeFromCollections: true
---
# Content not found.
Go <a href="/">home</a>.
Go <a href="index.njk">home</a>.
<!--

View File

@@ -1,6 +1,6 @@
---
title: This is a fifth post (draft)
date: 2023-01-23
draft: true
---node
const title = "This is a fifth post (draft)";
const date = "2023-01-23";
const draft = true;
---
This is a draft post

View File

@@ -9,8 +9,8 @@ Leverage agile frameworks to provide a robust synopsis for high level overviews.
## Section Header
<a href="/blog/firstpost/">First post</a>
<a href="/blog/thirdpost/">Third post</a>
<a href="/blog/firstpost.md">First post</a>
<a href="blog/thirdpost.md">Third post</a>
Bring to the table win-win survival strategies to ensure proactive domination. At the end of the day, going forward, a new normal that has evolved from generation X is on the runway heading towards a streamlined cloud solution. User generated content in real-time will have multiple touchpoints for offshoring.

22
content/tag-pages.njk Normal file
View File

@@ -0,0 +1,22 @@
---
pagination:
data: collections
size: 1
alias: tag
filter:
- all
- post
- posts
- tagList
addAllPagesToCollections: true
layout: layouts/home.njk
eleventyComputed:
title: Tagged “{{ tag }}”
permalink: /tags/{{ tag | slugify }}/
---
<h1>Tagged “{{ tag }}”</h1>
{% set postslist = collections[ tag ] %}
{% include "postslist.njk" %}
<p>See <a href="tags.njk">all tags</a>.</p>

View File

@@ -1,12 +0,0 @@
---
permalink: /tags/
layout: layouts/home.njk
---
<h1>Tags</h1>
<ul>
{% for tag in collections.all | getAllTags | filterTagList %}
{% set tagUrl %}/tags/{{ tag | slugify }}/{% endset %}
<li><a href="{{ tagUrl }}" class="post-tag">{{ tag }}</a></li>
{% endfor %}
</ul>

View File

@@ -1,22 +1,11 @@
---
pagination:
data: collections
size: 1
alias: tag
filter:
- all
- post
- posts
- tagList
addAllPagesToCollections: true
layout: layouts/home.njk
eleventyComputed:
title: Tagged “{{ tag }}”
permalink: /tags/{{ tag | slugify }}/
---
<h1>Tagged “{{ tag }}”</h1>
<h1>Tags</h1>
{% set postslist = collections[ tag ] %}
{% include "postslist.njk" %}
<p>See <a href="/tags/">all tags</a>.</p>
<ul>
{% for tag in collections.all | getAllTags | filterTagList %}
{% set tagUrl %}/tags/{{ tag | slugify }}/{% endset %}
<li><a href="{{ tagUrl }}" class="post-tag">{{ tag }}</a></li>
{% endfor %}
</ul>