mirror of
https://github.com/MeiK2333/github-style.git
synced 2025-10-07 10:04:04 +00:00
Merge pull request #151 from nelvko/master
fix: use hugo 's api instead of static to splice url
This commit is contained in:
@@ -19,7 +19,7 @@
|
|||||||
</svg>
|
</svg>
|
||||||
Overview
|
Overview
|
||||||
</a>
|
</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"
|
<svg class="octicon octicon-repo UnderlineNav-octicon hide-sm" height="16" viewBox="0 0 16 16"
|
||||||
version="1.1" width="16">
|
version="1.1" width="16">
|
||||||
<path fill-rule="evenodd"
|
<path fill-rule="evenodd"
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
Overview
|
Overview
|
||||||
</a>
|
</a>
|
||||||
<a class='UnderlineNav-item {{ if .IsSection }} selected {{ end }}{{ if eq .Type "tags" }} selected {{ end }}'
|
<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"
|
<svg class="octicon octicon-repo UnderlineNav-octicon hide-sm" height="16" viewBox="0 0 16 16" version="1.1"
|
||||||
width="16">
|
width="16">
|
||||||
<path fill-rule="evenodd"
|
<path fill-rule="evenodd"
|
||||||
|
Reference in New Issue
Block a user