chore: more reorganization

This commit is contained in:
Cory Dransfeldt 2023-06-20 10:30:51 -07:00
parent dd56c5ff62
commit 8bb5361403
No known key found for this signature in database
8 changed files with 21 additions and 4 deletions

View file

@ -43,8 +43,6 @@ module.exports = function (eleventyConfig) {
// passthrough // passthrough
eleventyConfig.addPassthroughCopy('src/assets') eleventyConfig.addPassthroughCopy('src/assets')
eleventyConfig.addPassthroughCopy('src/robots.txt')
eleventyConfig.addPassthroughCopy('src/contribute.json')
eleventyConfig.addPassthroughCopy('_redirects') eleventyConfig.addPassthroughCopy('_redirects')
// shortcodes // shortcodes

View file

@ -68,4 +68,9 @@ for = "/.well-known/gpc.json"
[[headers]] [[headers]]
for = "/.well-known/traffic-advice" for = "/.well-known/traffic-advice"
[headers.values] [headers.values]
Content-Type = "application/trafficadvice+json" Content-Type = "application/trafficadvice+json"
[[headers]]
for = "/contribute.json"
[headers.values]
Content-Type = "application/json"

View file

@ -1,5 +1,5 @@
--- ---
permalink: '.well-known/gpc.json' permalink: '.meta/gpc.json'
eleventyExcludeFromCollections: true eleventyExcludeFromCollections: true
dynamicPermalink: false dynamicPermalink: false
--- ---

View file

@ -1,3 +1,8 @@
---
permalink: '/contribute.json'
eleventyExcludeFromCollections: true
dynamicPermalink: false
---
{ {
"name": "coryd.dev", "name": "coryd.dev",
"description": "Cory Dransfeldt's personal blog.", "description": "Cory Dransfeldt's personal blog.",

9
src/meta/robots.liquid Normal file
View file

@ -0,0 +1,9 @@
---
permalink: '.well-known/robots.txt'
eleventyExcludeFromCollections: true
dynamicPermalink: false
---
Sitemap: https://coryd.dev/sitemap.xml
User-agent: *
Disallow: