Start working on footer (not yet previewed)
This commit is contained in:
parent
b2a763556d
commit
5c4cff1395
|
@ -17,7 +17,7 @@ body {
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
margin-bottom: .1rem;
|
margin-bottom: .1rem;
|
||||||
margin-top: .5rem;
|
margin-top: .5rem;
|
||||||
font-family: $font-body;
|
font-family: $font-heading;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ h1, h2, h3, h4, h5, h6 {
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
font-family: $font-heading;
|
font-family: "Indie Flower";
|
||||||
}
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
|
|
|
@ -8,7 +8,7 @@ $border-color: #bfbfbf;
|
||||||
$code-color: #eee8d5;
|
$code-color: #eee8d5;
|
||||||
$code-border-color: darken($code-color, 10%);
|
$code-border-color: darken($code-color, 10%);
|
||||||
|
|
||||||
$font-heading: "Indie Flower", serif;
|
$font-heading: "Inconsolata", serif;
|
||||||
$font-body: "Raleway", serif;
|
$font-body: "Raleway", serif;
|
||||||
$font-code: "Inconsolata", monospace;
|
$font-code: "Inconsolata", monospace;
|
||||||
|
|
||||||
|
|
|
@ -25,3 +25,6 @@
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ define "after" }}
|
||||||
|
{{- partial "footer.html" . -}}
|
||||||
|
{{ end }}
|
||||||
|
|
5
layouts/partials/footer.html
Normal file
5
layouts/partials/footer.html
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<footer>
|
||||||
|
<p>{{ partial "icon.html" "branch" }} <a href="https://github.com/DanilaFe/maypop/commit/{{ .Params.shorthash }}">{{ .Params.hash }}</a></p>
|
||||||
|
<p>{{ partial "icon.html" "calendar" }} {{ .Params.date }}</p>
|
||||||
|
<p>{{ partial "icon.html" "message" }} {{ .Params.subject }}</p>
|
||||||
|
</footer>
|
|
@ -1,7 +1,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta name="theme-color" content="#1dc868">
|
<meta name="theme-color" content="#9774e8">
|
||||||
{{ if .Description }}
|
{{ if .Description }}
|
||||||
<meta name="description" content="{{ .Description }}">
|
<meta name="description" content="{{ .Description }}">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user