Use new html base plugin!
Removes all the url filters
This commit is contained in:
@ -5,7 +5,7 @@ eleventyExcludeFromCollections: true
|
||||
---
|
||||
# Content not found.
|
||||
|
||||
Go <a href="{{ '/' | url }}">home</a>.
|
||||
Go <a href="/">home</a>.
|
||||
|
||||
{#
|
||||
Read more: https://www.11ty.dev/docs/quicktips/not-found/
|
||||
|
@ -10,8 +10,8 @@ Leverage agile frameworks to provide a robust synopsis for high level overviews.
|
||||
|
||||
## Section Header
|
||||
|
||||
<a href="{{ '/blog/firstpost/' | url }}">First post</a>
|
||||
<a href="{{ '/blog/thirdpost/' | url }}">Third post</a>
|
||||
<a href="/blog/firstpost/">First post</a>
|
||||
<a href="/blog/thirdpost/">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.
|
||||
|
||||
|
@ -4,6 +4,8 @@ module.exports = {
|
||||
// Change (English) /en/blog/my-post URLs to have an implied language code /blog/my-post URLs instead.
|
||||
let [slashPrefixEmpty, langCode, ...stem] = data.page.filePathStem.split("/");
|
||||
let path = stem.join("/");
|
||||
|
||||
// Account for `permalink: 404.html` style
|
||||
return stem[stem.length - 1] === "index" ? `${path}.html` : `${path}/index.html`;
|
||||
}
|
||||
}
|
||||
|
@ -11,7 +11,7 @@ eleventyNavigation:
|
||||
{% set postslistCounter = collections.posts | length %}
|
||||
{% include "postslist.njk" %}
|
||||
|
||||
<p>More posts can be found in <a href="{{ '/blog/' | url }}">the archive</a>.</p>
|
||||
<p>More posts can be found in <a href="/blog/">the archive</a>.</p>
|
||||
|
||||
{# List all of the pages in the project
|
||||
<ul>
|
||||
|
@ -7,6 +7,6 @@ layout: layouts/home.njk
|
||||
<ul>
|
||||
{% for tag in collections.all | getAllTags | filterTagList %}
|
||||
{% set tagUrl %}/tags/{{ tag | slugify }}/{% endset %}
|
||||
<li><a href="{{ tagUrl | url }}" class="post-tag">{{ tag }}</a></li>
|
||||
<li><a href="{{ tagUrl }}" class="post-tag">{{ tag }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
@ -19,4 +19,4 @@ permalink: /tags/{{ tag | slugify }}/
|
||||
{% set postslist = collections[ tag ] %}
|
||||
{% include "postslist.njk" %}
|
||||
|
||||
<p>See <a href="{{ '/tags/' | url }}">all tags</a>.</p>
|
||||
<p>See <a href="/tags/">all tags</a>.</p>
|
||||
|
Reference in New Issue
Block a user