summaryrefslogtreecommitdiffhomepage
path: root/vhosts/blog/nuldoc-src/components/global_footer.ts
diff options
context:
space:
mode:
Diffstat (limited to 'vhosts/blog/nuldoc-src/components/global_footer.ts')
-rw-r--r--vhosts/blog/nuldoc-src/components/global_footer.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/vhosts/blog/nuldoc-src/components/global_footer.ts b/vhosts/blog/nuldoc-src/components/global_footer.ts
new file mode 100644
index 00000000..4c9d2457
--- /dev/null
+++ b/vhosts/blog/nuldoc-src/components/global_footer.ts
@@ -0,0 +1,12 @@
+import { Config } from "../config.ts";
+import { el, Element, text } from "../dom.ts";
+
+export function globalFooter(config: Config): Element {
+ return el(
+ "footer",
+ [["class", "footer"]],
+ text(
+ `© ${config.blog.siteCopyrightYear} ${config.blog.author}`,
+ ),
+ );
+}