Compare commits

...
4 Commits
Author SHA1 Message Date
inherentlee ac0a2e6d96 rename project
continuous-integration/drone/push Build is passing
2026-09-24 08:29:35 -07:00
inherentlee a08262ea81 sitemap stuff
continuous-integration/drone/push Build is passing
2026-09-23 14:52:49 -07:00
inherentlee e91d19073b sitemap
continuous-integration/drone/push Build is failing
2026-09-23 14:30:56 -07:00
inherentlee eaec6b8f49 404 page
continuous-integration/drone/push Build is passing
2026-09-23 13:54:47 -07:00
4 changed files with 30 additions and 1 deletions

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@
"autoquotes": null, "autoquotes": null,
"brandColors": [], "brandColors": [],
"corsProxy": "/corsprox", "corsProxy": "/corsprox",
"name": "district-dharma", "name": "District Dharma",
"sidebar": [ "sidebar": [
{ {
"label": "Dashboard", "label": "Dashboard",
+4
View File
@@ -1,3 +1,4 @@
import { HtmlBasePlugin } from "@11ty/eleventy";
import { eleventyImageTransformPlugin } from "@11ty/eleventy-img"; import { eleventyImageTransformPlugin } from "@11ty/eleventy-img";
import { attrs } from "@mdit/plugin-attrs"; import { attrs } from "@mdit/plugin-attrs";
@@ -41,6 +42,9 @@ export default async function (eleventyConfig) {
.addPassthroughCopy("favicon.ico") .addPassthroughCopy("favicon.ico")
.addPassthroughCopy("robots.txt"); .addPassthroughCopy("robots.txt");
/* HTML base */
eleventyConfig.addPlugin(HtmlBasePlugin);
/* Images */ /* Images */
eleventyConfig.addPlugin(eleventyImageTransformPlugin, { eleventyConfig.addPlugin(eleventyImageTransformPlugin, {
// output image formats // output image formats
+8
View File
@@ -0,0 +1,8 @@
---
permalink: 404.html
eleventyExcludeFromCollections: true
---
# Content not found
Sorry, can't find this page. Return [home](/).
+17
View File
@@ -0,0 +1,17 @@
---
permalink: sitemap.xml
layout: false
eleventyExcludeFromCollections: true
---
<?xml version="1.0" encoding="utf-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">
{% for page in collections.all %}
{% if page.data.permalink != false %}
{% set absoluteUrl %}{{ page.url | htmlBaseUrl(metadata.url) }}{% endset %}
<url>
<loc>{{ absoluteUrl }}</loc>
<lastmod>{{ page.date | htmlDateString }}</lastmod>
</url>
{% endif %}
{% endfor %}
</urlset>