Status
This commit is contained in:
@@ -5,7 +5,7 @@ eleventyExcludeFromCollections: true
|
||||
---
|
||||
# Content not found.
|
||||
|
||||
Go <a href="/">home</a>.
|
||||
Go <a href="index.njk">home</a>.
|
||||
|
||||
<!--
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
22
content/tag-pages.njk
Normal 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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user