From 3374eb07496d43da0ac34a463f8c0fcb34ba2ca0 Mon Sep 17 00:00:00 2001 From: Dan Schaper Date: Thu, 5 May 2022 21:34:55 -0700 Subject: [PATCH] Update copyright attribution line (#705) https://smallbusiness.chron.com/year-copyright-statement-mean-62027.html https://squidfunk.github.io/mkdocs-material/setup/setting-up-the-footer/#custom-copyright https://github.com/squidfunk/mkdocs-material/releases/tag/8.0.0 --- mkdocs.yml | 2 +- overrides/main.html | 8 -------- overrides/partials/copyright.html | 7 +++++++ 3 files changed, 8 insertions(+), 9 deletions(-) delete mode 100644 overrides/main.html create mode 100644 overrides/partials/copyright.html diff --git a/mkdocs.yml b/mkdocs.yml index ece6c81..0d8ffdc 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -2,7 +2,7 @@ site_name: 'Pi-hole documentation' site_url: 'https://docs.pi-hole.net/' repo_url: 'https://github.com/pi-hole/pi-hole' edit_uri: '../docs/blob/master/docs/' -copyright: 'Copyright © 2022 Pi-hole LLC' +copyright: remote_branch: gh-pages theme: name: 'material' diff --git a/overrides/main.html b/overrides/main.html deleted file mode 100644 index 80161fd..0000000 --- a/overrides/main.html +++ /dev/null @@ -1,8 +0,0 @@ -{% extends "base.html" %} - -{% set extracopyright %} -
- - This site is powered by Netlify - -{% endset %} diff --git a/overrides/partials/copyright.html b/overrides/partials/copyright.html new file mode 100644 index 0000000..a6bee8e --- /dev/null +++ b/overrides/partials/copyright.html @@ -0,0 +1,7 @@ +
+Copyright Pi-hole. Licensed under CC BY-SA 4.0 +
+ + This site is powered by Netlify + +