Skip to content

Commit 5b92400

Browse files
committed
Fix external link symbol
1 parent 699b985 commit 5b92400

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

Diff for: config/_default/menus/menus.en.toml

+21-21
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@
1515
# weight = 70
1616
# identifier = "lorem"
1717
# url = "/docs/lorem/"
18-
19-
[[guide]]
20-
name = "Lorem"
21-
weight = 10
22-
identifier = "lorem"
23-
url = "/guide/lorem/"
24-
25-
[[tutorial]]
26-
name = "Lorem"
27-
weight = 10
28-
identifier = "lorem"
29-
url = "/tutorial/lorem/"
18+
#
19+
#[[guide]]
20+
# name = "Lorem"
21+
# weight = 10
22+
# identifier = "lorem"
23+
# url = "/guide/lorem/"
24+
#
25+
#[[tutorial]]
26+
# name = "Lorem"
27+
# weight = 10
28+
# identifier = "lorem"
29+
# url = "/tutorial/lorem/"
3030

3131
[[main]]
3232
name = "Docs"
@@ -49,17 +49,17 @@
4949
url = "/docs/reference/frequently-asked-questions"
5050
weight = 30
5151

52-
[[social]]
53-
name = "Twitter"
54-
pre = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-brand-twitter"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M22 4.01c-1 .49 -1.98 .689 -3 .99c-1.121 -1.265 -2.783 -1.335 -4.38 -.737s-2.643 2.06 -2.62 3.737v1c-3.245 .083 -6.135 -1.395 -8 -4c0 0 -4.182 7.433 4 11c-1.872 1.247 -3.739 2.088 -6 2c3.308 1.803 6.913 2.423 10.034 1.517c3.58 -1.04 6.522 -3.723 7.651 -7.742a13.84 13.84 0 0 0 .497 -3.753c0 -.249 1.51 -2.772 1.818 -4.013z"/></svg>'
55-
url = "https://twitter.com/OpenFusionProj"
56-
weight = 10
52+
[[social]]
53+
name = "Twitter"
54+
pre = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-brand-twitter"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M22 4.01c-1 .49 -1.98 .689 -3 .99c-1.121 -1.265 -2.783 -1.335 -4.38 -.737s-2.643 2.06 -2.62 3.737v1c-3.245 .083 -6.135 -1.395 -8 -4c0 0 -4.182 7.433 4 11c-1.872 1.247 -3.739 2.088 -6 2c3.308 1.803 6.913 2.423 10.034 1.517c3.58 -1.04 6.522 -3.723 7.651 -7.742a13.84 13.84 0 0 0 .497 -3.753c0 -.249 1.51 -2.772 1.818 -4.013z"/></svg>'
55+
url = "https://twitter.com/OpenFusionProj"
56+
weight = 10
5757

5858
[[social]]
59-
name = "Discord"
60-
pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-discord" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M8 12a1 1 0 1 0 2 0a1 1 0 0 0 -2 0"></path><path d="M14 12a1 1 0 1 0 2 0a1 1 0 0 0 -2 0"></path><path d="M8.5 17c0 1 -1.356 3 -1.832 3c-1.429 0 -2.698 -1.667 -3.333 -3c-.635 -1.667 -.476 -5.833 1.428 -11.5c1.388 -1.015 2.782 -1.34 4.237 -1.5l.975 1.923a11.913 11.913 0 0 1 4.053 0l.972 -1.923c1.5 .16 3.043 .485 4.5 1.5c2 5.667 2.167 9.833 1.5 11.5c-.667 1.333 -2 3 -3.5 3c-.5 0 -2 -2 -2 -3"></path><path d="M7 16.5c3.5 1 6.5 1 10 0"></path></svg>'
61-
url = "https://discord.gg/DYavckB"
62-
weight = 20
59+
name = "Discord"
60+
pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-discord" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M8 12a1 1 0 1 0 2 0a1 1 0 0 0 -2 0"></path><path d="M14 12a1 1 0 1 0 2 0a1 1 0 0 0 -2 0"></path><path d="M8.5 17c0 1 -1.356 3 -1.832 3c-1.429 0 -2.698 -1.667 -3.333 -3c-.635 -1.667 -.476 -5.833 1.428 -11.5c1.388 -1.015 2.782 -1.34 4.237 -1.5l.975 1.923a11.913 11.913 0 0 1 4.053 0l.972 -1.923c1.5 .16 3.043 .485 4.5 1.5c2 5.667 2.167 9.833 1.5 11.5c-.667 1.333 -2 3 -3.5 3c-.5 0 -2 -2 -2 -3"></path><path d="M7 16.5c3.5 1 6.5 1 10 0"></path></svg>'
61+
url = "https://discord.gg/DYavckB"
62+
weight = 20
6363

6464
[[social]]
6565
name = "GitHub"

Diff for: layouts/partials/header/header.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ <h5 class="offcanvas-title fw-bold" id="offcanvasNavMainLabel">{{ .Site.Params.T
135135
</li>
136136
{{ else -}}
137137
<li class="nav-item">
138-
<a class="nav-link{{ if $active }} active{{ end }}" href="{{ .URL | absURL }}"{{ if $active }} aria-current="true"{{ end }}>{{ .Name }}</a>
138+
<a{{with .Post}} target="blank"{{ end }} class="nav-link{{ if $active }} active{{ end }}" href="{{ .URL | absURL }}"{{ if $active }} aria-current="true"{{ end }}>{{ .Name }}{{with .Post}}{{ . }}{{ end }}</a>
139139
</li>
140140
{{ end -}}
141141
{{ end -}}

0 commit comments

Comments
 (0)