aboutsummaryrefslogtreecommitdiffhomepage
path: root/nuldoc-src/components/global_footer.ts
blob: 4c9d24579c4f76d89aeef4aed422266e42f14ab2 (plain)
1
2
3
4
5
6
7
8
9
10
11
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}`,
    ),
  );
}