Fix licenses link?

This commit is contained in:
thepaperpilot 2024-06-24 19:00:18 -05:00
parent 76e17da25b
commit 529765f7fe
3 changed files with 3 additions and 3 deletions

2
.gitignore vendored
View file

@ -5,5 +5,5 @@ site/public/garden/
site/public/changelog/
site/changelog/index.md
site/guide-to-incrementals/
site/public/licenses.md
site/public/licenses.txt
garden-output/

View file

@ -372,7 +372,7 @@ ${entries.join("\n\n")}
fs.closeSync(fd);
// Write licenses to /licenses
fd = fs.openSync("site/public/licenses.md", "w+");
fd = fs.openSync("site/public/licenses.txt", "w+");
const licenses = (await exec(`yarn licenses generate-disclaimer --frozen-lockfile`)).stdout;
fs.writeSync(fd,
`# Licenses

View file

@ -19,7 +19,7 @@
<div>CC {{ new Date().getFullYear() }} <a class="h-card" rel="me" href="/about"><img src="/me.jpg" alt="" />The Paper Pilot</a>. <a rel="license" href="https://creativecommons.org/licenses/by-nc-sa/4.0/">CC BY-NC-SA 4.0</a>.</div>
<div>Any and all opinions listed here are my own and not representative of my employers; future, past and present.</div>
<div><a href="https://resume.incremental.social/thepaperpilot/thepaperpilot">Resume</a> (not actively seeking new opportunities).</div>
<div>Site built from <a href="COMMIT_LINK">this commit</a> on <time>COMMIT_TIME</time>. <a href="https://www.thepaperpilot.org/licenses.md">Legal disclaimers</a>.</div>
<div>Site built from <a href="COMMIT_LINK">this commit</a> on <time>COMMIT_TIME</time>. <a href="https://www.thepaperpilot.org/licenses.txt">Legal disclaimers</a>.</div>
</footer>
</template>
</DefaultTheme.Layout>