Skip to content

Commit 1408bb1

Browse files
authored
Merge branch 'main' into patch-2
2 parents 70d94b0 + a3262a3 commit 1408bb1

File tree

7 files changed

+13
-31
lines changed

7 files changed

+13
-31
lines changed

Diff for: .nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
18

Diff for: _components/html/heading.css

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
.heading-link {
2-
margin-left: -1.222222222222rem; /* -22px /18 */
32
font-size: 1.125rem; /* 18px /16 */
43
text-decoration: none;
54
padding: .1em .2em .1em 0;
65
}
6+
@media (min-width: 43.75em) { /* 700px */
7+
page-layout-sidebar .heading-link {
8+
margin-left: -1.222222222222rem; /* -22px /18 */
9+
}
10+
}
711
a.heading-link[href],
812
a.heading-link[href]:visited {
913
color: var(--color-accent);

Diff for: _config/javascriptFrontMatter.cjs

-17
This file was deleted.

Diff for: _includes/layouts/base.webc

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<color-schemer></color-schemer>
4141
<a :href="metadata.repository + page.inputPath.slice(2)">Edit this page</a>
4242
<span @text="`©${(new Date()).getFullYear()}`"></span>
43-
<span>Built with <a href="https://www.11ty.dev/">Eleventy</a></span>
43+
<span>Built with <a href="https://www.11ty.dev/">Eleventy v<span @text="eleventy.version" webc:nokeep></span></a></span>
4444
</page-layout-footer>
4545
</div>
4646
</page-layout-sidebar>

Diff for: eleventy.config.cjs

-5
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,11 @@ const { eleventyImagePlugin } = require("@11ty/eleventy-img");
44
const emojiShortName = require("emoji-short-name");
55
const {parseHTML} = require("linkedom");
66

7-
const pluginJavaScriptFrontMatter = require("./_config/javascriptFrontMatter.cjs");
8-
97
/** @param {import('@11ty/eleventy').UserConfig} eleventyConfig */
108
module.exports = function(eleventyConfig) {
119
eleventyConfig.ignores.add("./README.md");
1210
eleventyConfig.addWatchTarget("./_components/**/*.css");
1311

14-
// Adds `javascript` type for front matter
15-
eleventyConfig.addPlugin(pluginJavaScriptFrontMatter);
16-
1712
eleventyConfig.addPlugin(pluginSyntaxHighlight, {
1813
preAttributes: {
1914
"tabindex": "0"

Diff for: index.webc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---javascript
1+
---node
22
let layout = "layouts/base.webc";
33
// Hi
44
---

Diff for: package.json

+5-6
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"license": "MIT",
2222
"engines": {
23-
"node": ">=14"
23+
"node": ">=18"
2424
},
2525
"funding": {
2626
"type": "opencollective",
@@ -31,13 +31,12 @@
3131
},
3232
"homepage": "https://github.com/11ty/eleventy-tugboat#readme",
3333
"devDependencies": {
34-
"@11ty/eleventy": "^2.0.2-alpha.2",
35-
"@11ty/eleventy-img": "^3.1.0",
34+
"@11ty/eleventy": "3.0.0-alpha.1",
35+
"@11ty/eleventy-img": "^3.1.8",
3636
"@11ty/eleventy-plugin-syntaxhighlight": "^5.0.0",
37-
"@11ty/eleventy-plugin-webc": "^0.11.1",
37+
"@11ty/eleventy-plugin-webc": "^0.11.2",
3838
"emoji-short-name": "^2.0.0",
39-
"linkedom": "^0.14.25",
40-
"node-retrieve-globals": "^2.0.7"
39+
"linkedom": "^0.14.25"
4140
},
4241
"dependencies": {
4342
"@11ty/is-land": "^4.0.0"

0 commit comments

Comments
 (0)