From fe2b68ad960641b9b0a6c82374dbac59ddd60043 Mon Sep 17 00:00:00 2001 From: David Hamp-Gonsalves Date: Sat, 29 Feb 2020 07:20:37 -0400 Subject: fix minor reported bugs --- layouts/index.html | 4 ++-- layouts/partials/header.html | 6 +++--- layouts/partials/styles.html | 7 +++---- static/favico.ico | Bin 0 -> 102222 bytes static/favico.png | Bin 0 -> 1680 bytes 5 files changed, 8 insertions(+), 9 deletions(-) create mode 100644 static/favico.ico create mode 100644 static/favico.png diff --git a/layouts/index.html b/layouts/index.html index c7af68c..af89f0f 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -5,8 +5,8 @@ {{ range .Site.RegularPages }}
  • {{ .Title }}

    -
    - +
    + {{ .Date.Format (.Site.Params.dateform | default "January 2006") }}
  • {{ end }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 71f3f07..ea91f13 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -29,9 +29,9 @@ {{ partial "styles.html" . }} - {{ with .OutputFormats.Get "RSS" }} - {{ printf "" .Permalink .MediaType | safeHTML }} - {{ end }} + {{ range .AlternativeOutputFormats -}} + {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} + {{ end -}} diff --git a/layouts/partials/styles.html b/layouts/partials/styles.html index b9c175d..bcea6b8 100644 --- a/layouts/partials/styles.html +++ b/layouts/partials/styles.html @@ -73,7 +73,6 @@ pre code { display: inline; - max-width: auto; padding: 0; margin: 0; overflow: visible; @@ -170,7 +169,7 @@ margin-top:28px; } - #sub-header, time { + #sub-header, .date { color:#403c3b; font-size:13px; } @@ -228,7 +227,7 @@ margin-top:15px; } - #content time { + #content .date { margin-left:3px; } @@ -371,7 +370,7 @@ background-color: #262626; } - #sub-header, time { + #sub-header, .date { color: #BABABA; } diff --git a/static/favico.ico b/static/favico.ico new file mode 100644 index 0000000..97f87e6 Binary files /dev/null and b/static/favico.ico differ diff --git a/static/favico.png b/static/favico.png new file mode 100644 index 0000000..e470131 Binary files /dev/null and b/static/favico.png differ -- cgit v1.2.3