Add 403 page
This commit is contained in:
5
content/403.md
Normal file
5
content/403.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
layout: layouts/403.njk
|
||||
permalink: 403.html
|
||||
eleventyExcludeFromCollections: true
|
||||
---
|
@ -1,19 +0,0 @@
|
||||
---
|
||||
layout: layouts/home.njk
|
||||
permalink: 404.html
|
||||
eleventyExcludeFromCollections: true
|
||||
---
|
||||
# Content not found.
|
||||
|
||||
Go <a href="/">home</a>.
|
||||
|
||||
<!--
|
||||
|
||||
Read more: https://www.11ty.dev/docs/quicktips/not-found/
|
||||
|
||||
This will work for both GitHub pages and Netlify:
|
||||
|
||||
* https://help.github.com/articles/creating-a-custom-404-page-for-your-github-pages-site/
|
||||
* https://www.netlify.com/docs/redirects/#custom-404
|
||||
|
||||
-->
|
@ -14,7 +14,7 @@ eleventyComputed:
|
||||
title: Tagged “{{ tag }}”
|
||||
permalink: "/tags/{{ tag | slugify }}/"
|
||||
---
|
||||
<h1>More posts about “{{ tag }}.”
|
||||
<h1>More posts tagged “{{ tag }}.”
|
||||
<a href="/feeds/{{ tag | slugify }}.xml">
|
||||
<!-- RSS Logo -->
|
||||
<svg class="tag-feed-icon" viewBox="0 0 155 155" width="153.349" height="152.909" version="1.0" xmlns="http://www.w3.org/2000/svg">
|
||||
@ -37,7 +37,7 @@ permalink: "/tags/{{ tag | slugify }}/"
|
||||
</svg>
|
||||
</a>
|
||||
</h1>
|
||||
<p class="page-block nodropcap">Here's everything I've posted about {{ tag }}:</p>
|
||||
<p class="page-block nodropcap">Here's everything I've posted with the tag “{{ tag }}:”</p>
|
||||
|
||||
{% set postslist = collections[ tag ] %}
|
||||
{% include "postslist.njk" %}
|
||||
|
Reference in New Issue
Block a user