update footer to include last updated date
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
67e042fc35
commit
702ab0e9f6
2 changed files with 11 additions and 8 deletions
|
@ -2,4 +2,4 @@
|
||||||
|
|
||||||
https://mzhang.io
|
https://mzhang.io
|
||||||
|
|
||||||
License: GPL-3.0 / CC-BY-SA-4.0
|
License: GPL-3.0 code / CC-BY-SA-4.0 contents
|
||||||
|
|
|
@ -1,16 +1,19 @@
|
||||||
---
|
---
|
||||||
import "../styles/footer.scss";
|
import "../styles/footer.scss";
|
||||||
|
|
||||||
|
const dateUpdated = new Date();
|
||||||
---
|
---
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
<p>
|
<p>
|
||||||
Blog code licensed under <a href="https://www.gnu.org/licenses/gpl-3.0.txt" target="_blank"
|
Blog theme and contents written by Michael Zhang with the <a
|
||||||
>GPL-3.0</a
|
href="https://astro.build/"
|
||||||
>. Post contents licensed under <a
|
target="_blank"
|
||||||
href="https://creativecommons.org/licenses/by-sa/4.0/legalcode.txt">CC BY-SA 4.0</a
|
rel="noreferrer noopener">Astro</a
|
||||||
>.
|
> framework.
|
||||||
<br />
|
<br />
|
||||||
Written by Michael Zhang.
|
Last updated {dateUpdated.toLocaleString(undefined, { dateStyle: "full" })}.
|
||||||
<a href="https://git.mzhang.io/michael/blog" class="colorlink" target="_blank">Source</a>.
|
<br />
|
||||||
|
<a href="https://git.mzhang.io/michael/blog" class="colorlink" target="_blank">Source code</a>
|
||||||
</p>
|
</p>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
Loading…
Reference in a new issue