diff --git a/README.md b/README.md index cd0a94cb..ab4cd912 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,14 @@ Lee Cattarin's personal website, v2. Built on Eleventy. -Not live yet. +## Pulling from git repo with NPM + +Apparently this works differently in WSL vs Linux? Fuck me, I guess. + +### WSL2 + +> "@zachleat/heading-anchors": "https://github.com/lee0c/heading-anchors/tarball/main", + +### Linux + +> "@zachleat/heading-anchors": "github:lee0c/heading-anchors" diff --git a/_site/1/index.html b/_site/1/index.html index 86f6e3fe..cb34a4c3 100644 --- a/_site/1/index.html +++ b/_site/1/index.html @@ -9,7 +9,7 @@ - + @@ -1214,6 +1214,6 @@ footer a:focus-visible { - + diff --git a/_site/10/index.html b/_site/10/index.html index a4240b87..b242a2e7 100644 --- a/_site/10/index.html +++ b/_site/10/index.html @@ -9,7 +9,7 @@ - + @@ -1240,6 +1240,6 @@ footer a:focus-visible { - + diff --git a/_site/11/index.html b/_site/11/index.html index 2b875574..de1ad276 100644 --- a/_site/11/index.html +++ b/_site/11/index.html @@ -9,7 +9,7 @@ - + @@ -1250,6 +1250,6 @@ footer a:focus-visible { - + diff --git a/_site/12/index.html b/_site/12/index.html index c74dfe8b..4477b83a 100644 --- a/_site/12/index.html +++ b/_site/12/index.html @@ -9,7 +9,7 @@ - + @@ -1238,6 +1238,6 @@ footer a:focus-visible { - + diff --git a/_site/13/index.html b/_site/13/index.html index 19d64720..b9049839 100644 --- a/_site/13/index.html +++ b/_site/13/index.html @@ -9,7 +9,7 @@ - + @@ -1224,6 +1224,6 @@ footer a:focus-visible { - + diff --git a/_site/14/index.html b/_site/14/index.html index e3e3e9cc..4849461c 100644 --- a/_site/14/index.html +++ b/_site/14/index.html @@ -9,7 +9,7 @@ - + @@ -1144,6 +1144,6 @@ footer a:focus-visible { - + diff --git a/_site/2/index.html b/_site/2/index.html index 74d788a9..7f58f6af 100644 --- a/_site/2/index.html +++ b/_site/2/index.html @@ -9,7 +9,7 @@ - + @@ -1220,6 +1220,6 @@ footer a:focus-visible { - + diff --git a/_site/3/index.html b/_site/3/index.html index 90aab108..3f9531f2 100644 --- a/_site/3/index.html +++ b/_site/3/index.html @@ -9,7 +9,7 @@ - + @@ -1226,6 +1226,6 @@ footer a:focus-visible { - + diff --git a/_site/4/index.html b/_site/4/index.html index d9c6de58..35457c14 100644 --- a/_site/4/index.html +++ b/_site/4/index.html @@ -9,7 +9,7 @@ - + @@ -1220,6 +1220,6 @@ footer a:focus-visible { - + diff --git a/_site/404.html b/_site/404.html index 1f8da42c..1f49c36c 100644 --- a/_site/404.html +++ b/_site/404.html @@ -9,7 +9,7 @@ - + @@ -855,12 +855,12 @@ class HeadingAnchors extends HTMLElement { } } } - +/* no longer used, using aria-labelledby instead - see getAnchorElement getAccessibleTextPrefix() { // Useful for i18n return this.getAttribute(HeadingAnchors.attributes.prefix) || "Jump to section titled"; } - +*/ getContent() { if(this.hasAttribute(HeadingAnchors.attributes.content)) { return this.getAttribute(HeadingAnchors.attributes.content); @@ -894,7 +894,7 @@ class HeadingAnchors extends HTMLElement { anchor.classList.add(HeadingAnchors.classes.anchor); let content = this.getContent(); - anchor.innerHTML = `${this.getAccessibleTextPrefix()}: ${heading.textContent}${content ? `` : ""}`; + anchor.innerHTML = `${content}`; // CHANGED HERE anchor.addEventListener("focus", e => { let anchor = e.target.closest(`.${HeadingAnchors.classes.anchor}`); @@ -1012,6 +1012,6 @@ export { HeadingAnchors } - + diff --git a/_site/5/index.html b/_site/5/index.html index 119d1ac6..028aef7d 100644 --- a/_site/5/index.html +++ b/_site/5/index.html @@ -9,7 +9,7 @@ - + @@ -1218,6 +1218,6 @@ footer a:focus-visible { - + diff --git a/_site/6/index.html b/_site/6/index.html index 5739e1c8..a691f4da 100644 --- a/_site/6/index.html +++ b/_site/6/index.html @@ -9,7 +9,7 @@ - + @@ -1220,6 +1220,6 @@ footer a:focus-visible { - + diff --git a/_site/7/index.html b/_site/7/index.html index 025cf0b2..ceb7b386 100644 --- a/_site/7/index.html +++ b/_site/7/index.html @@ -9,7 +9,7 @@ - + @@ -1222,6 +1222,6 @@ footer a:focus-visible { - + diff --git a/_site/8/index.html b/_site/8/index.html index dd6190a6..117a11e5 100644 --- a/_site/8/index.html +++ b/_site/8/index.html @@ -9,7 +9,7 @@ - + @@ -1214,6 +1214,6 @@ footer a:focus-visible { - + diff --git a/_site/9/index.html b/_site/9/index.html index 12392aeb..4ba3c51c 100644 --- a/_site/9/index.html +++ b/_site/9/index.html @@ -9,7 +9,7 @@ - + @@ -1256,6 +1256,6 @@ footer a:focus-visible { - + diff --git a/_site/aarons-mask/index.html b/_site/aarons-mask/index.html index 4bbeaf30..6bc13163 100644 --- a/_site/aarons-mask/index.html +++ b/_site/aarons-mask/index.html @@ -9,7 +9,7 @@ - + @@ -1281,12 +1281,12 @@ class HeadingAnchors extends HTMLElement { } } } - +/* no longer used, using aria-labelledby instead - see getAnchorElement getAccessibleTextPrefix() { // Useful for i18n return this.getAttribute(HeadingAnchors.attributes.prefix) || "Jump to section titled"; } - +*/ getContent() { if(this.hasAttribute(HeadingAnchors.attributes.content)) { return this.getAttribute(HeadingAnchors.attributes.content); @@ -1320,7 +1320,7 @@ class HeadingAnchors extends HTMLElement { anchor.classList.add(HeadingAnchors.classes.anchor); let content = this.getContent(); - anchor.innerHTML = `${this.getAccessibleTextPrefix()}: ${heading.textContent}${content ? `` : ""}`; + anchor.innerHTML = `${content}`; // CHANGED HERE anchor.addEventListener("focus", e => { let anchor = e.target.closest(`.${HeadingAnchors.classes.anchor}`); @@ -1479,10 +1479,10 @@ export { HeadingAnchors }
  1. - -

    mousie

    +
    +

    patchwork wallet

    - A cat in a sunbeam snuggles a little leather mouse-shaped cat toy. + A collage showing a wallet in a patchwork style, with different colors of leather all stitched together to make up the exterior and the top interior pockets. Other pockets inside are dyed various colors.