Fix flex footer on overview pages

Closes rdwatters/hugo-docs-concept#9
This commit is contained in:
Ryan Watters
2017-03-10 11:27:00 -06:00
parent cc0d8203f6
commit fc7fe4db37
3 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="last-modified">Last Updated: {{with .Lastmod}}{{.Format "2006-01-02"}}{{else}}{{.PublishDate.Format "2006-01-02"}}{{end}}</div>
<footer id="content-footer">
<footer id="content-footer" {{if eq .Kind "section"}}class="overview"{{end}}>
{{$section := .Section}}
{{ if .NextInSection }}
<a href="{{.NextInSection.Permalink}}" class="cf-link prev-page">
@@ -19,6 +19,9 @@
min-height: 60px;
justify-content: space-between;
margin-bottom: 2em;
&.overview {
justify-content: flex-end;
}
}
.cf-link {
+1 -1
View File
File diff suppressed because one or more lines are too long