Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2c9ccd1

Browse files
authoredNov 8, 2018
Merge pull request #168 from Cybraics/master
hugo 0.50 compatibility Solves #166 Solves #169 Duplicates #167
2 parents b45f372 + 71999fd commit 2c9ccd1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎layouts/partials/flex/body-aftercontent.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
<div>
4141
{{ $footer := print "_footer." .Lang }}
42-
{{ range where .Site.Pages "Source.BaseFileName" $footer }}
42+
{{ range where .Site.Pages "File.BaseFileName" $footer }}
4343
{{ .Content }}
4444
{{else}}
4545
{{ if .Site.GetPage "page" "_footer.md" }}

‎layouts/partials/header.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{{ $header := print "_header." .Lang }}
2-
{{ range where .Site.Pages "Source.BaseFileName" $header }}
2+
{{ range where .Site.Pages "File.BaseFileName" $header }}
33
{{ .Content }}
44
{{else}}
55
{{ if .Site.GetPage "page" "_header.md" }}
66
{{(.Site.GetPage "page" "_header.md").Content}}
77
{{else}}
88
<a class="baselink" href="{{.Site.BaseURL}}">{{.Site.Title}}</a>
99
{{end}}
10-
{{end}}
10+
{{end}}

0 commit comments

Comments
 (0)
Please sign in to comment.