mirror of
https://github.com/helenclx/leilukin-site.git
synced 2025-03-28 05:00:51 +00:00
Use Eleventy's file path stem variable
This commit is contained in:
parent
62c1f1ded2
commit
f17b84a53f
@ -1,5 +1,5 @@
|
||||
---
|
||||
permalink: .htaccess
|
||||
permalink: "{{ page.filePathStem }}"
|
||||
eleventyExcludeFromCollections: true
|
||||
eleventyAllowMissingExtension: true
|
||||
---
|
||||
|
@ -1,4 +1,4 @@
|
||||
---
|
||||
layout: misc/404
|
||||
permalink: /404.html
|
||||
permalink: "{{ page.filePathStem }}.html"
|
||||
---
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
permalink: robots.txt
|
||||
permalink: "{{ page.filePathStem }}.txt"
|
||||
eleventyExcludeFromCollections: true
|
||||
---
|
||||
User-agent: *
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
permalink: sitemap.xml
|
||||
permalink: "{{ page.filePathStem }}.xml"
|
||||
eleventyExcludeFromCollections: true
|
||||
---
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user