Skip to content

Commit 9fd3b0e

Browse files
committed
hugo: use new hugo-book edit link feature
Remove custom footer template, this helps to reduce future incompatibility by minimizing overwritten templates.
1 parent c485a3d commit 9fd3b0e

File tree

2 files changed

+2
-25
lines changed

2 files changed

+2
-25
lines changed

config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,5 @@ theme = "hugo-book"
2929

3030
[params]
3131
BookSearch = false
32+
BookRepo = 'https://github.com/uapi-group/uapi-group.github.io'
33+
BookEditLink = '{{ .Site.Params.BookRepo }}/edit/main/{{ .Path }}'

layouts/partials/docs/footer.html

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)