Add 'edit this page' link in footer

This commit is contained in:
Joshua Goins 2022-08-04 09:00:41 -04:00
parent f5aa1d63a7
commit 443f279034
3 changed files with 3 additions and 6 deletions

View file

@ -1,4 +1,4 @@
baseURL = 'http://example.org/'
languageCode = 'en-us'
title = 'My New Hugo Site'
title = '~redstrate'
theme = 'red'

View file

@ -1 +1 @@
Copyright (c) 2022
Copyright (c) 2022. <a href="https://git.sr.ht/~redstrate/redstrate.com/tree/master/item/content/{{ .File.Path }}?view-source">Edit this page!</a>

View file

@ -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 = []