Skip to content

Commit f475979

Browse files
committed
hugo: replace threedash menu separator with css
This makes the menu separator a stylistic element and reduces the need for a custom hugo-menu template to skip treating the menu element as a link item. This helps to reduce future incompatibility by minimizing overwritten templates.
1 parent 9fd3b0e commit f475979

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

assets/_custom.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
nav>ul:last-of-type>li:last-child::before {
2+
content: "";
3+
display: inline-block;
4+
margin: 0.5em 0;
5+
}

config.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ theme = "hugo-book"
1616
url = "https://uapi-group.org/kernel-features"
1717
weight = 12
1818

19-
[[menu.after]]
20-
name = ""
21-
weight = 20
2219
[[menu.after]]
2320
name = "Collaborate on Github"
2421
url = "https://github.com/uapi-group"

0 commit comments

Comments
 (0)