File tree Expand file tree Collapse file tree 8 files changed +20
-144
lines changed
Expand file tree Collapse file tree 8 files changed +20
-144
lines changed Original file line number Diff line number Diff line change 1+ .book-menu nav >ul :first-of-type >li :last-child ::after {
2+ content : " ⸻" ;
3+ display : inline-block ;
4+ margin : 0.5em 0 ;
5+ }
6+
7+ .book-menu nav >ul :last-of-type >li :last-child ::before {
8+ content : " ⸻" ;
9+ display : inline-block ;
10+ margin : 0.5em 0 ;
11+ }
Original file line number Diff line number Diff line change @@ -5,15 +5,9 @@ theme = "hugo-book"
55
66[[menu .before ]]
77 name = " ⬅️ Back to top"
8- url = " https://uapi-group.org/ "
8+ url = " /.. "
99 weight = 1
10- [[menu .before ]]
11- name = " ⸻"
12- weight = 2
1310
14- [[menu .after ]]
15- name = " ⸻"
16- weight = 10
1711[[menu .after ]]
1812 name = " Collaborate on Github"
1913 url = " https://github.com/uapi-group/docs"
@@ -27,8 +21,9 @@ theme = "hugo-book"
2721 BookSection = ' *'
2822 BookRepo = ' https://github.com/uapi-group/docs'
2923 BookCommitPath = ' commit'
30- BookEditPath = ' edit/main'
24+ BookEditLink = ' {{ .Site.Params.BookRepo }}/ edit/main/{{ .Path }} '
3125 BookIndexPage = ' README.md'
26+ BookTheme = ' auto'
3227
3328[modules ]
3429 [[module .mounts ]]
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ {{- return (partial "docs/text/template" (dict "Template" .Site.Params.BookEditLink "Context" (dict
2+ "Site" .Site
3+ "Page" .Page
4+ "Path" (strings.TrimPrefix hugo.WorkingDir ( replace .Page.File.Path "_index.md" .Site.Params.BookIndexPage))
5+ )) | urls.JoinPath) -}}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments