mirror of
https://github.com/MeiK2333/github-style.git
synced 2025-10-07 01:54:06 +00:00
fix: use hugo 's api instead of static to splice url
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
</svg>
|
||||
Overview
|
||||
</a>
|
||||
<a class="UnderlineNav-item {{ if .IsSection }} selected {{ end }}{{ if eq .Type " tags" }} selected {{ end }}" href="{{ .Site.BaseURL }}/post/">
|
||||
<a class="UnderlineNav-item {{ if .IsSection }} selected {{ end }}{{ if eq .Type " tags" }} selected {{ end }}" href="{{urls.JoinPath .Site.BaseURL "post"}}">
|
||||
<svg class="octicon octicon-repo UnderlineNav-octicon hide-sm" height="16" viewBox="0 0 16 16"
|
||||
version="1.1" width="16">
|
||||
<path fill-rule="evenodd"
|
||||
|
@@ -13,7 +13,7 @@
|
||||
Overview
|
||||
</a>
|
||||
<a class='UnderlineNav-item {{ if .IsSection }} selected {{ end }}{{ if eq .Type "tags" }} selected {{ end }}'
|
||||
href="{{ .Site.BaseURL }}/post/">
|
||||
href="{{urls.JoinPath .Site.BaseURL "post"}}">
|
||||
<svg class="octicon octicon-repo UnderlineNav-octicon hide-sm" height="16" viewBox="0 0 16 16" version="1.1"
|
||||
width="16">
|
||||
<path fill-rule="evenodd"
|
||||
|
Reference in New Issue
Block a user