generated from inherentlee/11ty
Compare commits
14
Commits
8bcea43bbf
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
56963da02c | ||
|
|
bbc88efe34 | ||
|
|
a8719799f9 | ||
|
|
a77cabf9f1 | ||
|
|
d706703dd1 | ||
|
|
d6d52e8bef | ||
|
|
67908bcd0a | ||
|
|
1b41d37b26 | ||
|
|
b0d68de18f | ||
|
|
a913d145b1 | ||
|
|
85788ca8e9 | ||
|
|
0a517c7fc6 | ||
|
|
850ef1c270 | ||
|
|
eba8241ed7 |
+25
@@ -0,0 +1,25 @@
|
|||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build
|
||||||
|
image: node:current
|
||||||
|
environment:
|
||||||
|
REPOSITORY: district-dharma-site
|
||||||
|
GIT_USER: inherentlee
|
||||||
|
GIT_TOKEN:
|
||||||
|
from_secret: GIT_TOKEN
|
||||||
|
commands:
|
||||||
|
- git config credential.helper '!f() { echo username=$GIT_USER; echo "password=$GIT_TOKEN"; };f'
|
||||||
|
- git submodule update --remote --init --merge
|
||||||
|
- npm install
|
||||||
|
- npm run build
|
||||||
|
- apt-get update && apt-get install -y rsync
|
||||||
|
- rsync -uavh _site/ $REPOSITORY --delete --exclude .git
|
||||||
|
- cd $REPOSITORY
|
||||||
|
- git checkout main
|
||||||
|
- git config --global --add safe.directory /drone/src/$REPOSITORY
|
||||||
|
- git add -A
|
||||||
|
- git commit -m "drone build $(TZ=':America/Los_Angeles' date)"
|
||||||
|
- git push
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
[submodule "district-dharma-site"]
|
||||||
|
path = district-dharma-site
|
||||||
|
url = https://heckin.technology/inherentlee/district-dharma-site.git
|
||||||
@@ -12,6 +12,16 @@
|
|||||||
},
|
},
|
||||||
"protected": true
|
"protected": true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"icon": "error",
|
||||||
|
"label": "Help",
|
||||||
|
"target": {
|
||||||
|
"name": "Project.Documentation",
|
||||||
|
"params": {
|
||||||
|
"path": "/README.md"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"icon": "document-stack",
|
"icon": "document-stack",
|
||||||
"label": "Pages",
|
"label": "Pages",
|
||||||
|
|||||||
@@ -1,4 +0,0 @@
|
|||||||
{
|
|
||||||
"alt": "A chickadee on a fence post.",
|
|
||||||
"title": null
|
|
||||||
}
|
|
||||||
@@ -30,32 +30,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"type": "image",
|
|
||||||
"default": null,
|
|
||||||
"icon": "image",
|
|
||||||
"key": "hero",
|
|
||||||
"label": "Hero image",
|
|
||||||
"options": {
|
|
||||||
"resolutionHint": "1800",
|
|
||||||
"removable": true,
|
|
||||||
"simple": false
|
|
||||||
},
|
|
||||||
"tab": "Page data",
|
|
||||||
"validation": {
|
|
||||||
"max": null,
|
|
||||||
"required": false,
|
|
||||||
"unit": "filesize (MB)"
|
|
||||||
},
|
|
||||||
"value": null,
|
|
||||||
"version": 1,
|
|
||||||
"visibility": {
|
|
||||||
"hidden": false,
|
|
||||||
"showByValue": {
|
|
||||||
"field": null
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "rich text",
|
"type": "rich text",
|
||||||
"default": null,
|
"default": null,
|
||||||
|
|||||||
@@ -2,7 +2,39 @@
|
|||||||
|
|
||||||
Home page for District Dharma based out of DC.
|
Home page for District Dharma based out of DC.
|
||||||
|
|
||||||
## todo
|
## Prerequisites
|
||||||
|
|
||||||
- focus highlighting on home page link
|
1. **Heckin' Tech Gitea Personal Access Token (PAT)**
|
||||||
- email validation message?
|
1. Click on your user in the upper right and choose "Settings" from the dropdown
|
||||||
|
1. Go to "Applications" in the left-hand settings menu
|
||||||
|
1. Choose "Generate new token"
|
||||||
|
- Token name is up to you
|
||||||
|
- Token access should be public only
|
||||||
|
- Token permissions should be read & write on repositories
|
||||||
|
1. **Save your token somewhere secure. If lost, you must generate a new token**
|
||||||
|
1. **Repository access:** Lee will grant contributor permissions. Repository URL is [heckin.technology/inherentlee/district-dharma](https://heckin.technology/inherentlee/district-dharma)
|
||||||
|
|
||||||
|
## Managing content
|
||||||
|
|
||||||
|
### Content management system
|
||||||
|
|
||||||
|
Your content management system is Mattrbld. Mattrbld can be found at [mattrbld.com](mattrbld.com). The first time you access it (or access in a new browser, on a new machine, or with cookies wiped), you will need to give it the repository URL above and set up a user name. Feel free to just set your full name (spaces are ok). This will label your "commits" (changes) to the repository as you.
|
||||||
|
|
||||||
|
### Checking for changes
|
||||||
|
|
||||||
|
It's unlikely there will be conflicts between changes I make and changes you would like to make. However, it's never a bad idea to go to the "Dashboard" tab and choose to check for updates.
|
||||||
|
|
||||||
|
### Making changes
|
||||||
|
|
||||||
|
All changes will be in the "Pages" tab. There are two pages:
|
||||||
|
|
||||||
|
- **attribution:** This page has a brief site creator attribution, mentions the site generator, credits the fonts used, and reports that no generative AI was used in creating the site. It is unlikely you will need to edit this page.
|
||||||
|
- **index:** This page includes the body content for the home page of District Dharma. Note that it does *not* include the contact form at the bottom, which cannot be created via Mattrbld and is done on the backend. For form changes, contact me.
|
||||||
|
|
||||||
|
### Saving changes
|
||||||
|
|
||||||
|
To save your changes and see them reflected in the live site, you will navigate to the "Dashboard" tab and sync your changes. Here you will need to enter the email you use for the Heckin' Tech Gitea as well as the generated PAT. If you receive any non-transient errors, feel free to reach out to me.
|
||||||
|
|
||||||
|
## Contact
|
||||||
|
|
||||||
|
If for any reason you are having trouble finding me, all my contact information can be found at [leecat.art/contact](https://leecat.art/contact).
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
<footer>
|
<footer>
|
||||||
|
<p>© 2026</p>
|
||||||
<p><a href="/attribution/">site attribution</a></p>
|
<p><a href="/attribution/">site attribution</a></p>
|
||||||
</footer>
|
</footer>
|
||||||
|
|||||||
@@ -1,11 +1,6 @@
|
|||||||
---
|
---
|
||||||
layout: base.njk
|
layout: base.njk
|
||||||
---
|
---
|
||||||
|
|
||||||
{% if hero %}
|
|
||||||
<img id="hero" src="{{ hero.src }}" alt="{{ hero.alt }}">
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<h1>{{ title }}</h1>
|
<h1>{{ title }}</h1>
|
||||||
|
|
||||||
|
|||||||
+3
-29
@@ -99,6 +99,7 @@ h1, h2, h3, h4, h5, h6 {
|
|||||||
font-variant: small-caps;
|
font-variant: small-caps;
|
||||||
font-family: Montserrat;
|
font-family: Montserrat;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
letter-spacing: 5%;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
@@ -171,10 +172,12 @@ header a:focus-visible .logo {
|
|||||||
footer {
|
footer {
|
||||||
background-color: var(--color-accent);
|
background-color: var(--color-accent);
|
||||||
color: var(--color-bg);
|
color: var(--color-bg);
|
||||||
|
padding: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
footer p {
|
footer p {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
footer a,
|
footer a,
|
||||||
@@ -186,32 +189,3 @@ 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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Misc */
|
|
||||||
#hero {
|
|
||||||
aspect-ratio: 40 / 9;
|
|
||||||
object-fit: cover;
|
|
||||||
}
|
|
||||||
|
|
||||||
.inset-left,
|
|
||||||
.inset-right {
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* only float on larger screens */
|
|
||||||
@media (min-width: 551px) {
|
|
||||||
.inset-left,
|
|
||||||
.inset-right {
|
|
||||||
clear: both;
|
|
||||||
width: 40%;
|
|
||||||
margin: .5rem 0;
|
|
||||||
}
|
|
||||||
.inset-left {
|
|
||||||
float: left;
|
|
||||||
margin-right: 1rem;
|
|
||||||
}
|
|
||||||
.inset-right {
|
|
||||||
float: right;
|
|
||||||
margin-left: 1rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
Submodule
+1
Submodule district-dharma-site added at e84896b26a
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
title: Attribution
|
title: Attribution
|
||||||
|
___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/){target="_blank"} by [Lee Cattarin](https://leecat.art){target="_blank"}.
|
|
||||||
|
|
||||||
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){target="_blank"}. The body font is [Atkinson Hyperlegible Next](https://www.brailleinstitute.org/freefont/){target="_blank"}, developed by the Braille Institute.
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 176 KiB |
Reference in New Issue
Block a user