Compare commits

...
14 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
inherentlee 588b66f1ff remove attr stuff
continuous-integration/drone/push Build is passing
2026-09-15 18:09:58 -07:00
inherentlee a35ddd1ccc add target=blank automation 2026-09-15 18:09:41 -07:00
inherentlee 857ae39afe fix og metadata
continuous-integration/drone/push Build is passing
2026-09-14 10:30:29 -07:00
inherentlee aaa1c48b54 fix passthrough
continuous-integration/drone/push Build is passing
2026-09-12 18:21:23 -07:00
inherentlee 4d6d5a19b2 update formgrid url
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is passing
2026-09-05 11:14:03 -07:00
inherentlee e15932fd9f fix build failure
continuous-integration/drone/push Build is passing
2026-08-27 13:30:29 -07:00
inherentlee 1b66eae5ec fix og preview image
continuous-integration/drone/push Build is failing
2026-08-27 13:27:51 -07:00
inherentlee d5ea28fb25 metadata
continuous-integration/drone/push Build is passing
2026-08-26 16:39:56 -07:00
inherentlee 75d83a70c6 fix the rounded corners on the svg yayyyy
continuous-integration/drone/push Build is passing
2026-08-25 13:31:35 -07:00
inherentlee e5a3d3828f svg for fedi and a few styling tweaks
continuous-integration/drone/push Build is passing
2026-08-24 11:42:21 -07:00
12 changed files with 144 additions and 43 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",
+2 -2
View File
@@ -1,6 +1,6 @@
export default { export default {
title: "District Dharma Collective", title: "District Dharma Collective",
description: "", description: "Homepage for the District Dharma Collective out of DC",
url: "", url: "https://districtdharma.org",
author: "Lee Cattarin", author: "Lee Cattarin",
}; };
+6
View File
@@ -1,4 +1,10 @@
<footer> <footer>
<p>
<a title="Find us on Mastodon" href="https://dmv.community/@DistrictDharmaCollective">
<svg class="dark" xmlns="http://www.w3.org/2000/svg" aria-label="District Dharma on Mastodon" role="img" viewBox="0 0 512.00 512.00" fill="#5ca6ce" stroke="#5ca6ce"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><rect width="512" height="512" rx="15%"></rect><path d="m409 290c-5 24-43 50-85 56-86 11-137-6-137-6 3 13-4 54 70 52 31 0 58-7 58-7l2 27c-51 24-107 15-140 6-67-17-79-90-81-162v-59c0-74 49-96 49-96 50-24 180-22 222 0 0 0 49 22 49 96 0 0 1 55-7 93" fill="#202325"></path><path d="m358 202v91h-35v-88c0-18-8-27-23-27-18 0-27 11-27 33v47h-34v-47c0-22-9-33-27-33-15 0-23 9-23 27v88h-35v-91c0-18 5-60 52-60 39 0 50 37 50 37s10-37 50-37c45 0 52 42 52 60"></path></g></svg>
<svg class="light" xmlns="http://www.w3.org/2000/svg" aria-label="District Dharma on Mastodon" role="img" viewBox="0 0 512.00 512.00" fill="#0c436d" stroke="#0c436d"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><rect width="512" height="512" rx="15%"></rect><path d="m409 290c-5 24-43 50-85 56-86 11-137-6-137-6 3 13-4 54 70 52 31 0 58-7 58-7l2 27c-51 24-107 15-140 6-67-17-79-90-81-162v-59c0-74 49-96 49-96 50-24 180-22 222 0 0 0 49 22 49 96 0 0 1 55-7 93" fill="#e4edf3"></path><path d="m358 202v91h-35v-88c0-18-8-27-23-27-18 0-27 11-27 33v47h-34v-47c0-22-9-33-27-33-15 0-23 9-23 27v88h-35v-91c0-18 5-60 52-60 39 0 50 37 50 37s10-37 50-37c45 0 52 42 52 60"></path></g></svg>
</a>
</p>
<p>© 2026</p> <p>© 2026</p>
<p><a href="/attribution/">site attribution</a></p> <p><a href="/attribution/">site attribution</a></p>
</footer> </footer>
+3 -6
View File
@@ -13,15 +13,12 @@
<meta name="robots" content="index,follow" /> <meta name="robots" content="index,follow" />
<meta property="og:title" content="{{ pageTitle }}" /> <meta property="og:title" content="{{ pageTitle }}" />
<meta property="og:type" content="article" /> <meta property="og:type" content="article" />
<meta property="og:url" content="/" /> <meta property="og:url" content="{{ metadata.url }}{{ page.url }}" />
<meta property="og:description" content="{{ metadata.description }}" /> <meta property="og:description" content="{{ metadata.description }}" />
{#
<link rel="alternate" href="/feed.xml" type="application/atom+xml" title="{{ metadata.title }}">
<link rel="icon" type="image/x-icon" href="/favicon.ico"> <link rel="icon" type="image/x-icon" href="/favicon.ico">
<meta property="og:image" content="" /> <meta property="og:image" content="{{ metadata.url }}/img/logo-light.png" />
<meta property="og:image:alt" content="" /> <meta property="og:image:alt" content="the district dharma logo, which depicts a stylized lotus flower under 3 dots, surrounded by an upper and lower curve, in two shades of blue" />
#}
<meta name="generator" content="{{ eleventy.generator }}"> <meta name="generator" content="{{ eleventy.generator }}">
+1 -1
View File
@@ -5,7 +5,7 @@ layout: page.njk
{{ content | safe }} {{ content | safe }}
<form action="https://formgrid.dev/api/f/842wiwnz" method="POST" class="contact-form"> <form action="https://formgrid.dev/api/f/kqv11qno" method="POST" class="contact-form">
<h2 class="center">Get in touch</h2> <h2 class="center">Get in touch</h2>
<p class="center">All fields <p class="center">All fields
<span aria-hidden="true">marked with an asterisk (<span class="red">*</span>)</span> <span aria-hidden="true">marked with an asterisk (<span class="red">*</span>)</span>
+11 -3
View File
@@ -31,7 +31,7 @@
*:focus-visible { *:focus-visible {
outline-offset: .12rem; outline-offset: .12rem;
outline: .12rem solid var(--color-accent); outline: .12rem solid var(--color-accent);
border-radius: .25rem; border-radius: .25em;
} }
html { html {
@@ -93,11 +93,10 @@ h1, h2, h3, h4, h5, h6, p {
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
text-wrap: balance; /* 9. Improve line wrapping */ text-wrap: balance; /* 9. Improve line wrapping */
font-family: serif; font-family: Montserrat, sans-serif;
margin-block-start: 1em; margin-block-start: 1em;
color: var(--color-accent); color: var(--color-accent);
font-variant: small-caps; font-variant: small-caps;
font-family: Montserrat;
font-weight: 400; font-weight: 400;
letter-spacing: 5%; letter-spacing: 5%;
} }
@@ -212,3 +211,12 @@ footer a:visited {
footer a:focus-visible { footer a:focus-visible {
outline: .15rem solid var(--color-accent-flipped); outline: .15rem solid var(--color-accent-flipped);
} }
footer a:has(svg) {
display: inline-block;
}
footer svg {
height: 2rem;
width: auto;
}
+27 -2
View File
@@ -1,12 +1,29 @@
import { attrs } from "@mdit/plugin-attrs"; import { HtmlBasePlugin } from "@11ty/eleventy";
import { eleventyImageTransformPlugin } from "@11ty/eleventy-img"; import { eleventyImageTransformPlugin } from "@11ty/eleventy-img";
import { attrs } from "@mdit/plugin-attrs";
import { markdownitLinkAttributes } from 'markdown-it-link-attributes';
import path from "node:path";
import pluginFilters from "./_config/filters.js"; import pluginFilters from "./_config/filters.js";
export default async function (eleventyConfig) { export default async function (eleventyConfig) {
/* Markdown HTML attribute parsing */ /* Markdown HTML attribute parsing */
eleventyConfig.amendLibrary("md", (mdLib) => mdLib.use(attrs)); eleventyConfig.amendLibrary("md", (mdLib) => mdLib.use(attrs));
/* Markdown apply target="_blank" to all external links */
const milaOptions = {
matcher(href) {
return href.match(/^https?:\/\//);
},
attrs: {
target: "_blank",
rel: "external",
},
};
eleventyConfig.amendLibrary("md", (mdLib) => mdLib.use(markdownitLinkAttributes, milaOptions));
/* Bundles */ /* Bundles */
/* CSS */ /* CSS */
eleventyConfig.addBundle("css", { eleventyConfig.addBundle("css", {
@@ -21,7 +38,12 @@ export default async function (eleventyConfig) {
}); });
/* Passthroughs */ /* Passthroughs */
eleventyConfig.addPassthroughCopy("./favicon.ico"); eleventyConfig
.addPassthroughCopy("favicon.ico")
.addPassthroughCopy("robots.txt");
/* HTML base */
eleventyConfig.addPlugin(HtmlBasePlugin);
/* Images */ /* Images */
eleventyConfig.addPlugin(eleventyImageTransformPlugin, { eleventyConfig.addPlugin(eleventyImageTransformPlugin, {
@@ -38,6 +60,9 @@ export default async function (eleventyConfig) {
decoding: "async", decoding: "async",
}, },
}, },
filenameFormat: function (hash, src, width, format, options) {
return path.basename(src);
},
}); });
/* All filters from _config/filters.js */ /* All filters from _config/filters.js */
+63 -24
View File
@@ -5,13 +5,15 @@
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "district-dharma",
"version": "1.0.0", "version": "1.0.0",
"license": "AGPL-3.0-only", "license": "AGPL-3.0-only",
"devDependencies": { "devDependencies": {
"@11ty/eleventy": "^3.1.5", "@11ty/eleventy": "^3.1.5",
"@11ty/eleventy-img": "^6.0.4", "@11ty/eleventy-img": "^6.0.4",
"@mdit/plugin-attrs": "^0.25.1", "@mdit/plugin-attrs": "^0.25.1",
"luxon": "^3.7.2" "luxon": "^3.7.2",
"markdown-it-link-attributes": "https://github.com/lee0c/markdown-it-link-attributes/tarball/main"
} }
}, },
"node_modules/@11ty/dependency-tree": { "node_modules/@11ty/dependency-tree": {
@@ -919,9 +921,9 @@
} }
}, },
"node_modules/brace-expansion": { "node_modules/brace-expansion": {
"version": "1.1.14", "version": "1.1.21",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.14.tgz", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.21.tgz",
"integrity": "sha512-MWPGfDxnyzKU7rNOW9SP/c50vi3xrmrua/+6hfPbCS2ABNWfx24vPidzvC7krjU/RTo235sV776ymlsMtGKj8g==", "integrity": "sha512-9zeA+KLZNNzglF2TPKRQEDyx6Yby7daAkuy8MiPzpXPsYDWi/DRM8jmwUDxokQjYqBpv5DgPiwD4h4ZZSy1Ujw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -1441,9 +1443,9 @@
} }
}, },
"node_modules/gray-matter/node_modules/js-yaml": { "node_modules/gray-matter/node_modules/js-yaml": {
"version": "3.14.2", "version": "3.15.2",
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.2.tgz", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.15.2.tgz",
"integrity": "sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==", "integrity": "sha512-6EuL879VkRA+1Cz578mKMiKvjPNEuk6+r1JaFzoSWejZmtf7xWbIyw1e3KkxlkzTIt9Taw6JBhEppG7utc1P+w==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -1659,10 +1661,20 @@
} }
}, },
"node_modules/js-yaml": { "node_modules/js-yaml": {
"version": "4.1.1", "version": "4.3.2",
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.2.tgz",
"integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==", "integrity": "sha512-SFNOvSJ+Dgf/9An904Yx+CgSlIPCkIpao4qo51lpee25TIRejdH3rhR4EZMGoNx3/TP3O+wzWuiTFl4sqbltzA==",
"dev": true, "dev": true,
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/puzrin"
},
{
"type": "github",
"url": "https://github.com/sponsors/nodeca"
}
],
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"argparse": "^2.0.1" "argparse": "^2.0.1"
@@ -1702,19 +1714,29 @@
} }
}, },
"node_modules/linkify-it": { "node_modules/linkify-it": {
"version": "5.0.0", "version": "5.0.2",
"resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-5.0.0.tgz", "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-5.0.2.tgz",
"integrity": "sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==", "integrity": "sha512-ONTm2jCMAVZjgQa/Fy1kScXsuOoF5NPTsoFBdE1KVIZ2vAh/r9+Bqo+0jINCBYnavTPQZz38QzFTme79ENoN3Q==",
"dev": true, "dev": true,
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/puzrin"
},
{
"type": "github",
"url": "https://github.com/sponsors/markdown-it"
}
],
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"uc.micro": "^2.0.0" "uc.micro": "^2.0.0"
} }
}, },
"node_modules/liquidjs": { "node_modules/liquidjs": {
"version": "10.25.7", "version": "10.29.0",
"resolved": "https://registry.npmjs.org/liquidjs/-/liquidjs-10.25.7.tgz", "resolved": "https://registry.npmjs.org/liquidjs/-/liquidjs-10.29.0.tgz",
"integrity": "sha512-rPCjJLiD4eDhQjvv964AeXFC+HbeYBbZrd7Z82Q6hqv1lX7G+5w4SJcKLn9CAAAwHI4aS3dTdo083UB79K3pDA==", "integrity": "sha512-pCVOhs6FLAR8su3ItJ07diN26t6W5dHQRnmTMy8HPyTFuv1+oSCVJIGp5pGjfQyOZfh50KswvKtMTp6p4JEIdw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -1750,15 +1772,25 @@
} }
}, },
"node_modules/markdown-it": { "node_modules/markdown-it": {
"version": "14.1.1", "version": "14.3.2",
"resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-14.1.1.tgz", "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-14.3.2.tgz",
"integrity": "sha512-BuU2qnTti9YKgK5N+IeMubp14ZUKUUw7yeJbkjtosvHiP0AZ5c8IAgEMk79D0eC8F23r4Ac/q8cAIFdm2FtyoA==", "integrity": "sha512-sHHjZ5fJKlgrG4qns2YwVcdNep35h5fERrfkD2YNsb9UFk0UIHarbiTaHKVMlPuWAoiilyK8Fv/jAm11slsY7Q==",
"dev": true, "dev": true,
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/puzrin"
},
{
"type": "github",
"url": "https://github.com/sponsors/markdown-it"
}
],
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"argparse": "^2.0.1", "argparse": "^2.0.1",
"entities": "^4.4.0", "entities": "^4.5.0",
"linkify-it": "^5.0.0", "linkify-it": "^5.0.2",
"mdurl": "^2.0.0", "mdurl": "^2.0.0",
"punycode.js": "^2.3.1", "punycode.js": "^2.3.1",
"uc.micro": "^2.1.0" "uc.micro": "^2.1.0"
@@ -1767,6 +1799,13 @@
"markdown-it": "bin/markdown-it.mjs" "markdown-it": "bin/markdown-it.mjs"
} }
}, },
"node_modules/markdown-it-link-attributes": {
"version": "4.0.1",
"resolved": "https://github.com/lee0c/markdown-it-link-attributes/tarball/main",
"integrity": "sha512-AWUn7JiBi431HkZyXR2MRJxU0wQolHmG/TFCrRSq+w/q4mIzY7c3QKBF1eYEQwXx8IKLdmBVxZA37tp3S1ZkYQ==",
"dev": true,
"license": "MIT"
},
"node_modules/markdown-it/node_modules/entities": { "node_modules/markdown-it/node_modules/entities": {
"version": "4.5.0", "version": "4.5.0",
"resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz",
@@ -2399,9 +2438,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/ws": { "node_modules/ws": {
"version": "8.20.1", "version": "8.21.3",
"resolved": "https://registry.npmjs.org/ws/-/ws-8.20.1.tgz", "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.3.tgz",
"integrity": "sha512-It4dO0K5v//JtTXuPkfEOaI3uUN87iYPnqo/ZzqCoG3g8uhA66QUMs/SrM0YK7/NAu+r4LMh/9dq2A7k+rHs+w==", "integrity": "sha512-201TZ/kPWxoPr/OKWjquZR1SWKXcvxdH+e1xrx89b3YbmzLMFCLfnaG1HFIgWzJOEWZ7MvpK++odZufgYR50Rw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"engines": { "engines": {
+2 -1
View File
@@ -13,6 +13,7 @@
"@11ty/eleventy": "^3.1.5", "@11ty/eleventy": "^3.1.5",
"@11ty/eleventy-img": "^6.0.4", "@11ty/eleventy-img": "^6.0.4",
"@mdit/plugin-attrs": "^0.25.1", "@mdit/plugin-attrs": "^0.25.1",
"luxon": "^3.7.2" "luxon": "^3.7.2",
"markdown-it-link-attributes": "https://github.com/lee0c/markdown-it-link-attributes/tarball/main"
} }
} }
+8
View File
@@ -0,0 +1,8 @@
---
permalink: 404.html
eleventyExcludeFromCollections: true
---
# Content not found
Sorry, can't find this page. Return [home](/).
+3 -3
View File
@@ -2,8 +2,8 @@
title: Attribution title: Attribution
___mb_schema: /.mattrbld/schemas/page.json ___mb_schema: /.mattrbld/schemas/page.json
--- ---
This site is built using [{{ eleventy.generator }}](https://www.11ty.dev/){target="_blank"} by [Lee Cattarin](https://leecat.art){target="_blank"}. It is hosted by [heckin' technology](https://heckin.technology/){target="_blank"}. This site is built using [{{ eleventy.generator }}](https://www.11ty.dev/) by [Lee Cattarin](https://leecat.art). It is hosted by [heckin' technology](https://heckin.technology/).
The header font is [Monserrat](https://fonts.google.com/specimen/Montserrat){target="_blank"}. The body font is [Atkinson Hyperlegible Next](https://www.brailleinstitute.org/freefont/){target="_blank"}, developed by the Braille Institute. The header font is [Monserrat](https://fonts.google.com/specimen/Montserrat). The body font is [Atkinson Hyperlegible Next](https://www.brailleinstitute.org/freefont/), developed by the Braille Institute.
This site is created [without the use of generative AI](https://declare-ai.org/1.0.0/none.html){target="_blank"}. This site is created [without the use of generative AI](https://declare-ai.org/1.0.0/none.html).
+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>