diff options
Diffstat (limited to 'nuldoc-src/components/global_footer.ts')
| -rw-r--r-- | nuldoc-src/components/global_footer.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/nuldoc-src/components/global_footer.ts b/nuldoc-src/components/global_footer.ts new file mode 100644 index 0000000..4c9d245 --- /dev/null +++ b/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}`, + ), + ); +} |
