chore: more reorganization
This commit is contained in:
parent
dd56c5ff62
commit
8bb5361403
8 changed files with 21 additions and 4 deletions
|
@ -43,8 +43,6 @@ module.exports = function (eleventyConfig) {
|
|||
|
||||
// passthrough
|
||||
eleventyConfig.addPassthroughCopy('src/assets')
|
||||
eleventyConfig.addPassthroughCopy('src/robots.txt')
|
||||
eleventyConfig.addPassthroughCopy('src/contribute.json')
|
||||
eleventyConfig.addPassthroughCopy('_redirects')
|
||||
|
||||
// shortcodes
|
||||
|
|
|
@ -69,3 +69,8 @@ for = "/.well-known/gpc.json"
|
|||
for = "/.well-known/traffic-advice"
|
||||
[headers.values]
|
||||
Content-Type = "application/trafficadvice+json"
|
||||
|
||||
[[headers]]
|
||||
for = "/contribute.json"
|
||||
[headers.values]
|
||||
Content-Type = "application/json"
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
permalink: '.well-known/gpc.json'
|
||||
permalink: '.meta/gpc.json'
|
||||
eleventyExcludeFromCollections: true
|
||||
dynamicPermalink: false
|
||||
---
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
---
|
||||
permalink: '/contribute.json'
|
||||
eleventyExcludeFromCollections: true
|
||||
dynamicPermalink: false
|
||||
---
|
||||
{
|
||||
"name": "coryd.dev",
|
||||
"description": "Cory Dransfeldt's personal blog.",
|
9
src/meta/robots.liquid
Normal file
9
src/meta/robots.liquid
Normal file
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
permalink: '.well-known/robots.txt'
|
||||
eleventyExcludeFromCollections: true
|
||||
dynamicPermalink: false
|
||||
---
|
||||
Sitemap: https://coryd.dev/sitemap.xml
|
||||
|
||||
User-agent: *
|
||||
Disallow:
|
Reference in a new issue