diff options
Diffstat (limited to 'services/nuldoc/nuldoc-src/components/GlobalFooter.ts')
| -rw-r--r-- | services/nuldoc/nuldoc-src/components/GlobalFooter.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/services/nuldoc/nuldoc-src/components/GlobalFooter.ts b/services/nuldoc/nuldoc-src/components/GlobalFooter.ts index 835d73f..313a01c 100644 --- a/services/nuldoc/nuldoc-src/components/GlobalFooter.ts +++ b/services/nuldoc/nuldoc-src/components/GlobalFooter.ts @@ -1,9 +1,8 @@ import { Config } from "../config.ts"; -import { elem, Element } from "../dom.ts"; +import { Element, footer } from "../dom.ts"; export default function GlobalFooter({ config }: { config: Config }): Element { - return elem( - "footer", + return footer( { class: "footer" }, `© ${config.site.copyrightYear} ${config.site.author}`, ); |
