Compare commits

...

69 Commits

Author SHA1 Message Date
6cda4aad5f Update content through Mattrbld
All checks were successful
continuous-integration/drone/push Build is passing
2026-05-17 12:23:57 -07:00
d9300d47ce updates
All checks were successful
continuous-integration/drone/push Build is passing
2026-05-15 07:46:59 -07:00
9a8ba2107b remove silly change line
All checks were successful
continuous-integration/drone/push Build is passing
2026-05-14 11:25:16 -07:00
47b812fa98 remove debug line 2026-05-14 11:25:00 -07:00
63895e0ac4 did i figure it out
All checks were successful
continuous-integration/drone/push Build is passing
2026-05-14 11:23:12 -07:00
beafa18c20 more debug
Some checks failed
continuous-integration/drone/push Build is failing
2026-05-14 11:20:51 -07:00
d0d9725807 some debug stuff
Some checks failed
continuous-integration/drone/push Build is failing
2026-05-14 11:19:26 -07:00
71eec20b60 i fucking hate this
Some checks failed
continuous-integration/drone/push Build is failing
2026-05-14 11:14:31 -07:00
8d25ac3bb2 small meaningless change
Some checks failed
continuous-integration/drone/push Build is failing
2026-05-14 11:07:21 -07:00
864a427107 try to specifically checkout a branch
Some checks failed
continuous-integration/drone/push Build is failing
2026-05-14 11:06:22 -07:00
285ce4d0f9 merge instad of rebase??
Some checks failed
continuous-integration/drone/push Build is failing
2026-05-14 10:59:51 -07:00
9e79d40d73 remove extraneous debug add new debug
Some checks failed
continuous-integration/drone/push Build is failing
2026-05-14 10:58:15 -07:00
6fc188282e not detached head state
Some checks failed
continuous-integration/drone/push Build is failing
2026-05-14 10:57:02 -07:00
ad0c7fc881 update submodule url
Some checks failed
continuous-integration/drone/push Build is failing
2026-05-14 10:53:54 -07:00
1e9c3c037d move crednetial helper line
Some checks failed
continuous-integration/drone/push Build is failing
2026-05-14 10:51:47 -07:00
52dedcb615 sobmodules
Some checks failed
continuous-integration/drone/push Build is failing
2026-05-14 10:49:37 -07:00
55bf306a4a ok there's no -u flag
Some checks failed
continuous-integration/drone/push Build is failing
2026-05-14 10:42:41 -07:00
115a92024c set upstream dear god
Some checks failed
continuous-integration/drone/push Build is failing
2026-05-14 10:41:45 -07:00
64a386c8da recurse submodules pull?
Some checks failed
continuous-integration/drone/push Build is failing
2026-05-14 10:39:57 -07:00
98589550e3 bluh
Some checks failed
continuous-integration/drone/push Build is failing
2026-05-14 10:37:33 -07:00
857f282740 maybe a submodule update?
Some checks failed
continuous-integration/drone/push Build is failing
2026-05-14 10:36:12 -07:00
116565af6b ANOTHER ls
Some checks failed
continuous-integration/drone/push Build is failing
2026-05-14 10:35:11 -07:00
29cff6f7ae add another ls for debug...sigh
Some checks failed
continuous-integration/drone/push Build is failing
2026-05-14 10:32:51 -07:00
60f41e1899 add ls for debug
Some checks failed
continuous-integration/drone/push Build is failing
2026-05-14 10:30:45 -07:00
67cbd08d80 site build
Some checks failed
continuous-integration/drone/push Build is failing
2026-05-14 10:28:51 -07:00
0e9e479f9b fixed safe.directory 2026-05-14 10:28:38 -07:00
b58de8afa8 add submodule 2026-05-14 10:27:15 -07:00
1f124d71a1 continue to try to fix the damn submodule 2026-05-14 10:25:44 -07:00
95dbf3158c random change
Some checks failed
continuous-integration/drone/push Build is failing
2026-05-14 10:06:45 -07:00
0a16519645 Update content through Mattrbld 2026-05-14 09:47:52 -07:00
1ded73bef9 better vars 2026-05-13 17:03:06 -07:00
e742442f10 fix git add line 2026-05-13 17:01:21 -07:00
725ff3b000 layout and styling 2026-05-13 17:00:38 -07:00
f0c9c354c1 submodules notes 2026-05-13 17:00:18 -07:00
9095f5b0e2 more droning 2026-05-13 17:00:09 -07:00
b3bd4b7fc0 drone update 2026-05-13 16:21:45 -07:00
2eb7ddf050 Update content through Mattrbld 2026-05-13 16:06:39 -07:00
101aa3e785 name project in license 2026-05-13 16:04:48 -07:00
fb70be6fd1 add notes 2026-05-13 16:03:16 -07:00
d3b3cc1628 drone update 2026-05-13 15:58:51 -07:00
68dad89eb8 Update content through Mattrbld 2026-05-13 15:53:12 -07:00
06ced1e8c8 Update content through Mattrbld
Some checks failed
continuous-integration/drone/push Build is failing
2026-05-13 15:45:25 -07:00
2dca1a6410 submodule commits
Some checks failed
continuous-integration/drone/push Build is failing
2026-05-13 15:42:48 -07:00
88c2378284 remove bad submodule
Some checks failed
continuous-integration/drone/push Build is failing
2026-05-13 15:41:20 -07:00
ec09cf42d5 continue iterating on dronefile 2026-05-13 15:39:03 -07:00
1069ad59ca continue to iterate on drone 2026-05-13 14:02:39 -07:00
7ae34ead7e submodule update 2026-05-13 13:55:23 2026-05-13 13:55:23 -07:00
48595ba14b drone and gitignore 2026-05-13 13:51:54 -07:00
daa5767fc2 submodule 2026-05-13 13:51:42 -07:00
eac28617a6 submodule update 2026-05-13 13:45:40 -07:00
6f27252293 submodule? 2026-05-13 13:44:25 -07:00
17de85d648 package lock 2026-05-13 13:37:03 -07:00
e3ec8324af drone pipeline starter 2026-05-13 13:36:51 -07:00
f35a4f0a33 allow site to be real 2026-05-13 13:36:38 -07:00
323c712658 put index page on it's own special layout 2026-05-13 12:50:30 -07:00
a07a34776e Update content through Mattrbld 2026-05-13 12:08:25 -07:00
2ee3e4c022 Update content through Mattrbld 2026-05-13 12:06:12 -07:00
b5856c407d Update content through Mattrbld 2026-05-13 11:20:50 -07:00
1b96612a7f Update content through Mattrbld 2026-05-13 11:17:16 -07:00
e50fe36951 test if front matter changes persist 2026-05-13 11:16:17 -07:00
aeb26e4dd0 Update content through Mattrbld 2026-05-13 11:15:58 -07:00
ebd09206e1 Update content through Mattrbld 2026-05-13 11:13:55 -07:00
7080e083e6 Update content through Mattrbld 2026-05-13 11:13:12 -07:00
6dcbdca3ea Update content through Mattrbld 2026-05-13 11:11:59 -07:00
7cbd665243 Update content through Mattrbld 2026-05-13 11:06:45 -07:00
4561e96a68 Update content through Mattrbld 2026-05-13 11:03:49 -07:00
a2b0055a54 fix some head content and fix image for page template 2026-05-13 11:00:43 -07:00
3955025759 add conditional for hero image 2026-05-13 10:54:22 -07:00
5348f8fb6b remove old header/footer content, add hero to page template, update img transform plugin 2026-05-13 10:54:22 -07:00
21 changed files with 194 additions and 50 deletions

25
.drone.yml Normal file
View File

@ -0,0 +1,25 @@
kind: pipeline
type: docker
name: default
steps:
- name: build
image: node:current
environment:
REPOSITORY: mattrbld-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

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
_live _live
_site _site
node_modules node_modules
secrets.txt

4
.gitmodules vendored Normal file
View File

@ -0,0 +1,4 @@
[submodule "mattrbld-site"]
path = mattrbld-site
url = https://heckin.technology/inherentlee/mattrbld-site.git
update = merge

View File

@ -2,7 +2,7 @@
"autoquotes": null, "autoquotes": null,
"brandColors": [], "brandColors": [],
"corsProxy": "/corsprox", "corsProxy": "/corsprox",
"name": "mattrbld-test", "name": "mattrbld",
"sidebar": [ "sidebar": [
{ {
"label": "Dashboard", "label": "Dashboard",
@ -14,7 +14,7 @@
}, },
{ {
"icon": "globe-alt", "icon": "globe-alt",
"label": "pages", "label": "Pages",
"target": { "target": {
"name": "Project.Collection", "name": "Project.Collection",
"params": { "params": {

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

@ -1,4 +1,4 @@
<name of project> mattrbld test
Copyright (C) 2026 Lee Cattarin Copyright (C) 2026 Lee Cattarin
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify

View File

@ -1,3 +1 @@
# 11ty Template # mattrbld test
Template repository for my 11ty projects.

View File

@ -1,7 +1,2 @@
<footer> <footer>
<p>questions?
<a href="mailto:beall.greenhouses@gmail.com">email us!</a>
</p>
<p>brought to you in 2026</p>
<p><a href="/attribution/">site attribution</a></p>
</footer> </footer>

View File

@ -19,17 +19,19 @@
{# {#
<link rel="alternate" href="/feed.xml" type="application/atom+xml" title="{{ metadata.title }}"> <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="/assets/img/logo.jpg" /> <meta property="og:image" content="" />
<meta property="og:image:alt" content="block print in black and orange of a rufous hummingbird in flight with tail flared. the hummingbird holds a banner that reads 'become ungovernable.'" /> <meta property="og:image:alt" content="" />
#} #}
<meta name="generator" content="{{ eleventy.generator }}"> <meta name="generator" content="{{ eleventy.generator }}">
{#
<!-- CSS --> <!-- CSS -->
<style>{% include "css/main.css" %}</style> <style>{% include "css/main.css" %}</style>
<style>{% include "css/print.css" %}</style>
<style>{% include "css/nav.css" %}</style>
<style>{% getBundle "css" %}</style> <style>{% getBundle "css" %}</style>
{#
<!-- JS --> <!-- JS -->
<script type="module">{% getBundle "js" %}</script> <script type="module">{% getBundle "js" %}</script>
#} #}

View File

@ -1,23 +1,4 @@
<header> <header>
<nav title="background image shows the peak of a dilapidated greenhouse in black and white"> <nav>
<a href="#main" title="skip to main content" aria-label="skip to main content" id="skip">
skip ↷</a>
<a href="/" aria-label="Beall Greenhouses home" title="Beall Greenhouses home"
{% if page.url == "/" %}aria-current="page"{% endif %}>
<img src="/img/logo.jpg"
alt="block print in black and orange of a rufous hummingbird in flight with tail flared. the hummingbird holds a banner that reads 'become ungovernable.'">
</a>
<ul>
{% for entry in collections.all | eleventyNavigation %}
<li>
<a href="{{ entry.url }}" title="{{ entry.data.title }}"
{% if entry.url == page.url %}aria-current="page"{% endif %}
>{{ entry.title }}</a>
</li>
{% endfor %}
</ul>
</nav> </nav>
</header> </header>

View File

@ -2,13 +2,11 @@
<html lang="en"> <html lang="en">
{% include "head.njk" %} {% include "head.njk" %}
<body> <body>
<div id="content">
{% include "header.njk" %} {% include "header.njk" %}
<main id="main"> <main id="main">
{{ content | safe }} {{ content | safe }}
</main> </main>
</div>
{% include "footer.njk" %} {% include "footer.njk" %}
<!-- This page `{{ page.url }}` was built on {% currentBuildDate %} --> <!-- This page `{{ page.url }}` was built on {% currentBuildDate %} -->

View File

@ -0,0 +1,5 @@
---
layout: page.njk
---
{{ content | safe }}

View File

@ -2,6 +2,12 @@
layout: base.njk layout: base.njk
--- ---
{% if hero %}
<img class="hero" src="{{ hero.src }}" alt="{{ hero.alt }}">
{% endif %}
<div id="content">
<h1>{{ title }}</h1> <h1>{{ title }}</h1>
{{ content | safe }} {{ content | safe }}
</div>

View File

@ -1,5 +1,14 @@
:root { :root {
color-scheme: light dark; color-scheme: light dark;
--color-light: #ddd;
--color-dark: #222;
--color-teal: #014d4e;
--color-pink: #ffb2d0;
--color-bg: light-dark(var(--color-light), var(--color-dark));
--color-text: light-dark(var(--color-dark), var(--color-light));
--color-accent: light-dark(var(--color-teal), var(--color-pink));
} }
/* numbered components are from https://www.joshwcomeau.com/css/custom-css-reset/ */ /* numbered components are from https://www.joshwcomeau.com/css/custom-css-reset/ */
@ -25,12 +34,35 @@ body {
line-height: 1.5; line-height: 1.5;
/* 5. Improve text rendering */ /* 5. Improve text rendering */
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
color: var(--color-text);
background-color: var(--color-bg);
font-family: sans-serif;
}
#content {
width: 65%;
max-width: 1800px;
margin: 1rem auto;
}
@media (max-width: 1100px) {
#content {
width: 85%;
}
}
@media (max-width: 650px) {
#content {
width: 92%;
}
} }
/* 6. Improve media defaults */ /* 6. Improve media defaults */
img, picture, video, canvas, svg { img, picture, video, canvas, svg {
display: block; display: block;
max-width: 100%; max-width: 100%;
height: auto;
margin: 0 auto;
} }
/* 7. Inherit fonts for form controls */ /* 7. Inherit fonts for form controls */
@ -57,3 +89,27 @@ h1, h2, h3, h4, h5, h6 {
#root, #__next { #root, #__next {
isolation: isolate; isolation: isolate;
} }
/* Basic elements */
h1, h2, h3, h4, h5, h6 {
font-family: serif;
}
h1, h2, h3, h4, h5, h6,
a {
color: var(--color-accent);
}
a {
padding: .1rem;
border-radius: .05rem;
}
a:focus-visible {
outline: solid var(--color-accent);
}
.hero {
aspect-ratio: 32 / 9;
object-fit: cover;
}

34
css/nav.css Normal file
View File

@ -0,0 +1,34 @@
/* Header, footer, nav */
#skip {
background-color: var(--color-bg);
position: absolute;
left: -999px;
top: -999px;
}
#skip:focus-visible {
left: 10%;
top: 5%;
}
header a[aria-current="page"]::before,
footer a[aria-current="page"]::before {
content: "> " / "";
}
header a[aria-current="page"]::after,
footer a[aria-current="page"]::after {
content: " <" / "";
}
header h2 a {
text-decoration: none;
}
nav ul {
display: flex;
justify-content: center;
flex-flow: row wrap;
list-style: none;
gap: 1rem;
}

23
css/print.css Normal file
View File

@ -0,0 +1,23 @@
/* Print media */
@media print {
header,
footer,
nav {
display: none;
}
body {
background-color: #fff;
width: 95vw;
}
body,
h1, h2, h3, h4, h5,
a {
color: #000;
}
a::after {
content: " (" attr(href) ")";
}
}

View File

@ -31,6 +31,9 @@ export default async function (eleventyConfig) {
// output image widths // output image widths
widths: ["auto"], widths: ["auto"],
// fail on error
failOnError: true,
// optional, attributes assigned on <img> nodes override these values // optional, attributes assigned on <img> nodes override these values
htmlOptions: { htmlOptions: {
imgAttributes: { imgAttributes: {

1
mattrbld-site Submodule

Submodule mattrbld-site added at 591de23a22

2
package-lock.json generated
View File

@ -1,5 +1,5 @@
{ {
"name": "11ty", "name": "src",
"version": "1.0.0", "version": "1.0.0",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,

View File

@ -5,6 +5,7 @@ hero:
alt: chickadee alt: chickadee
title: null title: null
___mb_schema: /.mattrbld/schemas/page.json ___mb_schema: /.mattrbld/schemas/page.json
layout: index.njk
--- ---
## Heres an h2 ## Heres an h2
@ -54,6 +55,8 @@ Now, lets see if our markdown attributes feature works. Heres my [website
## Images ## Images
![](/images/dscf-3866.JPG)
Weve added an image above. I tried to add alt text, but Im not sure that Eleventy will pick up on that. Weve added an image above. I tried to add alt text, but Im not sure that Eleventy will pick up on that.
Ok, lets push this and see what we get. Ok, lets push this and see what we get.

9
src/thankyou.md Normal file
View File

@ -0,0 +1,9 @@
---
title: Thanks for contacting us!
hero:
src: /images/dscf-3866.JPG
alt: chickadee
title: null
___mb_schema: /.mattrbld/schemas/page.json
---
Thanks for filling out the contact form. Well be in touch in the next few days.