The code and data behind xeiaso.net
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

devel: don't loop

Signed-off-by: Xe Iaso <me@xeiaso.net>

Xe Iaso e1cdfc6b 3c04f805

+16 -2
+4 -1
.vscode/settings.json
··· 24 24 "gatekeeping", 25 25 "gatekeepy", 26 26 "XeblogConv" 27 - ] 27 + ], 28 + "[markdown][mdx][nunjucks]": { 29 + "editor.wordBasedSuggestions": "off" 30 + } 28 31 }
+1 -1
cmd/xesite/devel.go
··· 15 15 ) 16 16 17 17 var ( 18 - ignoredDirs = []string{"_site", "_data", "_bin", "blog/series", "static/resume", "#"} 18 + ignoredDirs = []string{"_site", "_data", "_bin", "blog/series", "static/resume", "#", "deno.lock"} 19 19 ) 20 20 21 21 func findDirectories(root string) ([]string, error) {
+3
lume/_config.ts
··· 95 95 site.use(readInfo({ 96 96 extensions: [".md", ".mdx"], 97 97 })); 98 + site.preprocess([".html"], (page) => { 99 + page.data.year = page.data.date.getFullYear(); 100 + }); 98 101 99 102 export default site;
+8
lume/src/404.md
··· 1 + --- 2 + title: Can't find {{.Path}} 3 + layout: base.njk 4 + --- 5 + 6 + <h1 class="text-3xl font-bold">Can't find {{.Path}}</h1> 7 + 8 + <p class="text-lg">The page you're looking for doesn't exist. If it should, please contact me at <a href="/contact">/contact</a>.</p>