Start working on footer (not yet previewed)

This commit is contained in:
Danila Fedorin 2021-04-23 01:23:53 -07:00
parent b2a763556d
commit 5c4cff1395
5 changed files with 12 additions and 4 deletions

View File

@ -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 {

View File

@ -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;

View File

@ -25,3 +25,6 @@
{{ .Content }} {{ .Content }}
</div> </div>
{{ end }} {{ end }}
{{ define "after" }}
{{- partial "footer.html" . -}}
{{ end }}

View 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>

View File

@ -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 }}