Merge pull request #66 from 2xiao/master

fix: 修复baseurl为xx/xx时跳转错误的bug
This commit is contained in:
MeiK
2021-03-17 10:28:17 +08:00
committed by GitHub
3 changed files with 10 additions and 10 deletions

View File

@@ -19,8 +19,8 @@
</svg> </svg>
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="/post/"> }}" href="{{ .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"

View File

@@ -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="/post/"> href="{{ .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"

View File

@@ -10,7 +10,7 @@
for <strong>{{ .Params.title }}</strong> for <strong>{{ .Params.title }}</strong>
</div> </div>
<div class="TableObject-item text-right v-align-top"> <div class="TableObject-item text-right v-align-top">
<a class="issues-reset-query text-normal d-inline-block ml-3" href="/post/"> <a class="issues-reset-query text-normal d-inline-block ml-3" href="{{ .Site.BaseURL }}/post/">
<svg class="octicon octicon-x issues-reset-query-icon mt-1" viewBox="0 0 16 16" version="1.1" width="16" <svg class="octicon octicon-x issues-reset-query-icon mt-1" viewBox="0 0 16 16" version="1.1" width="16"
height="16"> height="16">
<path fill-rule="evenodd" <path fill-rule="evenodd"