1
0
mirror of https://github.com/actix/actix-website synced 2024-11-23 16:31:08 +01:00

Fix warnings (#155)

This commit is contained in:
Yuki Okushi 2020-02-03 17:17:14 +09:00 committed by GitHub
parent 69145efc1e
commit ae7cf41ca9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
{{ partial "header" . }}
{{ $currentURL := .URL }}
{{ $currentURL := .RelPermalink }}
<div class="actix-pageheader">
<div class="container">

View File

@ -1,5 +1,5 @@
{{ partial "header" . }}
{{ $currentURL := .URL }}
{{ $currentURL := .RelPermalink }}
<div class="actix-pageheader">
<div class="container">

View File

@ -1,5 +1,5 @@
{{ partial "header" . }}
{{ $currentURL := .URL }}
{{ $currentURL := .RelPermalink }}
<div class="actix-pageheader">
<div class="container">

View File

@ -1,5 +1,5 @@
{{ partial "header" . }}
{{ $currentURL := .URL }}
{{ $currentURL := .RelPermalink }}
<div class="actix-pageheader">
<div class="container">
@ -113,7 +113,7 @@
{{ .Scratch.Set "CurrentWeight" .Weight }}
{{ range first 1 (where (.Scratch.Get "Docs") ".Weight" ">" (.Scratch.Get "CurrentWeight")) }}
<div class="actix-next"><b>Next up</b>: <a href = {{ .URL }}>{{ .Title }}</a></div>
<div class="actix-next"><b>Next up</b>: <a href = {{ .RelPermalink }}>{{ .Title }}</a></div>
{{ end }}
</div>
</div>