Add analytics
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m28s

This commit is contained in:
thepaperpilot 2024-07-02 07:57:21 -05:00
parent 2a46a347db
commit 3c9b66ea3f
3 changed files with 5 additions and 4 deletions

View file

@ -347,12 +347,12 @@ ${changes}
let fd = fs.openSync("site/changelog/index.md", "w+"); let fd = fs.openSync("site/changelog/index.md", "w+");
fs.writeSync(fd, fs.writeSync(fd,
`--- `---
title: Site Changelog title: Garden Changelog
prev: false prev: false
next: false next: false
--- ---
<section class="h-feed"> <section class="h-feed">
<h1 class="p-name">Site Changelog</h1> <h1 class="p-name">Garden Changelog</h1>
<p>This feed starts when I formatted the site to be a <a href="/garden/digital-gardens/">Digital Garden</a>. If you'd like to look further into this site's history, check <a href="https://code.incremental.social/thepaperpilot/pages/commits/branch/master">here</a>!</p> <p>This feed starts when I formatted the site to be a <a href="/garden/digital-gardens/">Digital Garden</a>. If you'd like to look further into this site's history, check <a href="https://code.incremental.social/thepaperpilot/pages/commits/branch/master">here</a>!</p>
${entries.join("\n\n")} ${entries.join("\n\n")}

View file

@ -52,6 +52,7 @@ export default {
['link', { rel: 'me', href: 'https://www.reddit.com/user/ThePaperPilot/' }], ['link', { rel: 'me', href: 'https://www.reddit.com/user/ThePaperPilot/' }],
['link', { rel: 'me', href: 'https://github.com/thepaperpilot' }], ['link', { rel: 'me', href: 'https://github.com/thepaperpilot' }],
['link', { rel: 'me', href: 'https://twitter.com/ThePaperPilot' }], ['link', { rel: 'me', href: 'https://twitter.com/ThePaperPilot' }],
['script', { 'data-goatcounter': 'https://thepaperpilot.goatcounter.com/count', async: true, src: '//gc.zgo.at/count.js' }],
], ],
async transformHead(context) { async transformHead(context) {
context.head.push(["meta", { name: "og:title", content: context.pageData.title }]); context.head.push(["meta", { name: "og:title", content: context.pageData.title }]);
@ -99,7 +100,7 @@ export default {
}, },
{ text: "About Me", link: "/about" }, { text: "About Me", link: "/about" },
{ text: "/now", link: "/now" }, { text: "/now", link: "/now" },
{ text: "Site Changelog", link: "/changelog" } { text: "Garden Changelog", link: "/changelog" }
] ]
}, },
contentProps: { contentProps: {

View file

@ -544,7 +544,7 @@ article {
} }
.vp-doc h2 + .e-content { .vp-doc h2 + .e-content {
margin-top: 0 !important; margin-top: 30px !important;
} }
.VPDoc h1, .VPDoc h2, .VPDoc h3, .VPDoc h4, .VPDoc h5, .VPDoc h6 { .VPDoc h1, .VPDoc h2, .VPDoc h3, .VPDoc h4, .VPDoc h5, .VPDoc h6 {