This commit is contained in:
Christoffer Martinsson 2018-10-27 23:39:34 +02:00
parent d2359a8f50
commit fb92d449ff
2 changed files with 68 additions and 6 deletions

View File

@ -0,0 +1,56 @@
<div class="chevrons">
{{ partial "next-prev-page.html" . }}
</div>
<footer>
<div class="footline">
{{if .Params.tags }}
<div class="tags">
{{ range $index, $tag := .Params.tags }}
<a class="label label-default" href="{{$.Site.BaseURL}}tags/{{ $tag | urlize }}">{{ $tag }}</a>
{{ end }}
</div>
{{end}}
{{with .Params.LastModifierDisplayName}}
<div class="author">
<i class='fa fa-user'></i> <a href="mailto:{{ $.Params.LastModifierEmail }}">{{ . }}</a>
</div>
{{end}}
{{ if not .Page.Lastmod.IsZero }}
<div class="date">
<i class='fa fa-calendar'></i> {{T "last-update-on"}} {{ .Page.Lastmod.Format "02/01/2006" }}
</div>
{{end}}
{{ if .Site.Params.editURL }}
<div class="github-link">
<a href="{{ .Site.Params.editURL }}{{ replace .File.Dir "\\" "/" }}{{ .File.LogicalName }}" target="blank"><i class="fa fa-code-fork"></i>
{{T "Edit-this-page"}}</a>
</div>
{{end}}
</div>
<div>
{{ $footer := print "_footer." .Lang }}
{{ range where .Site.Pages "Source.BaseFileName" $footer }}
{{ .Content }}
{{else}}
{{ if .Site.GetPage "page" "_footer.md" }}
{{(.Site.GetPage "page" "_footer.md").Content}}
{{else}}
{{ T "create-footer-md" }}
{{end}}
{{end}}
</div>
</footer>
</section>
</article>
{{ partial "flex/scripts.html" . }}

View File

@ -4,7 +4,7 @@ header {
}
article > aside {
background-color: #262626;
background-color: #000;
color: #c6c6c6;
}
@ -24,8 +24,11 @@ article > aside .menu .dd-item div a:hover, article > aside .menu .dd-item div a
}
article {
background-color: #808080;
background-color: #262626;
color: #c6c6c6;
max-width: 1300px;
margin-left: auto;
margin-right: auto;
}
.searchbox input {
@ -43,14 +46,17 @@ article {
}
footer {
background-color: #808080;
color: #000;
background-color: #262626;
color: #808080;
margin: 0;
padding: 10px 0 10px 0;
}
article section.page {
color: #262626;
color: #c6c6c6;
font-family: "Helvetica";
font-weight: normal;
overflow-y: initial;
}
section strong {
@ -81,7 +87,7 @@ article section.page h1:first-of-type {
}
body {
background-color: #808080;
background-color: #262626;
}
article section.page pre {