Skip to content

Commit b92054c

Browse files
committed
修复意外的404
1 parent 1dfe39b commit b92054c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/home.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ <h1>{{ .Title }}</h1>
66
</div>
77
<div class="col-lg-9 col-xl-8 text-center">
88
<p class="lead">{{ .Params.lead | safeHTML }}</p>
9-
<a class="btn btn-primary btn-cta rounded-pill btn-lg my-3" href="/docs/{{ if site.Params.doks.docsVersioning }}{{ site.Params.doks.docsVersion }}/{{ end }}guides/example-guide/" role="button">{{ i18n "get_started" }}</a>
9+
<a class="btn btn-primary btn-cta rounded-pill btn-lg my-3" href="{{ .Site.BaseURL }}docs/{{ if site.Params.doks.docsVersioning }}{{ site.Params.doks.docsVersion }}/{{ end }}guides/example-guide/" role="button">{{ i18n "get_started" }}</a>
1010
{{ .Content }}
1111
</div>
1212
</div>

0 commit comments

Comments
 (0)