mirror of
https://github.com/helenclx/leilukin-site.git
synced 2025-04-01 20:30: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
|
eleventyExcludeFromCollections: true
|
||||||
eleventyAllowMissingExtension: true
|
eleventyAllowMissingExtension: true
|
||||||
---
|
---
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
layout: misc/404
|
layout: misc/404
|
||||||
permalink: /404.html
|
permalink: "{{ page.filePathStem }}.html"
|
||||||
---
|
---
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
permalink: robots.txt
|
permalink: "{{ page.filePathStem }}.txt"
|
||||||
eleventyExcludeFromCollections: true
|
eleventyExcludeFromCollections: true
|
||||||
---
|
---
|
||||||
User-agent: *
|
User-agent: *
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
permalink: sitemap.xml
|
permalink: "{{ page.filePathStem }}.xml"
|
||||||
eleventyExcludeFromCollections: true
|
eleventyExcludeFromCollections: true
|
||||||
---
|
---
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user