From 443f279034fe2ba2d4beec192f8fadad859492c4 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Thu, 4 Aug 2022 09:00:41 -0400 Subject: [PATCH] Add 'edit this page' link in footer --- config.toml | 2 +- themes/red/layouts/partials/footer.html | 2 +- themes/red/theme.toml | 5 +---- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/config.toml b/config.toml index 3150fb6..df0dada 100644 --- a/config.toml +++ b/config.toml @@ -1,4 +1,4 @@ baseURL = 'http://example.org/' languageCode = 'en-us' -title = 'My New Hugo Site' +title = '~redstrate' theme = 'red' diff --git a/themes/red/layouts/partials/footer.html b/themes/red/layouts/partials/footer.html index b940e17..d3f2a5a 100644 --- a/themes/red/layouts/partials/footer.html +++ b/themes/red/layouts/partials/footer.html @@ -1 +1 @@ -Copyright (c) 2022 +Copyright (c) 2022. Edit this page! diff --git a/themes/red/theme.toml b/themes/red/theme.toml index a46fa0a..f64eb9a 100644 --- a/themes/red/theme.toml +++ b/themes/red/theme.toml @@ -1,10 +1,7 @@ -# theme.toml template for a Hugo theme -# See https://github.com/gohugoio/hugoThemes#themetoml for an example - name = "red" license = "MIT" licenselink = "https://git.sr.ht/~redstrate/redstrate.com/tree/master/item/themes/red/LICENSE" -description = "" +description = "Custom Hugo theme for use on redstrate.com" homepage = "https://redstrate.com/" tags = [] features = []