Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/davidhampgonsalves/hugo-black-and-light-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hamp-Gonsalves <davidhampgonsalves@gmail.com>2020-02-29 14:20:37 +0300
committerDavid Hamp-Gonsalves <davidhampgonsalves@gmail.com>2020-02-29 14:20:37 +0300
commitfe2b68ad960641b9b0a6c82374dbac59ddd60043 (patch)
tree8ee4f8bfe804c88e92c9ff790595ee4b2e8767d7
parentd5124d5ca244c0584bf1713e871a275fef33db41 (diff)
fix minor reported bugs
-rw-r--r--layouts/index.html4
-rw-r--r--layouts/partials/header.html6
-rw-r--r--layouts/partials/styles.html7
-rw-r--r--static/favico.icobin0 -> 102222 bytes
-rw-r--r--static/favico.pngbin0 -> 1680 bytes
5 files changed, 8 insertions, 9 deletions
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 }}
<li>
<h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
- <div id=date>
- <time>{{ .Date.Format (.Site.Params.dateform | default "January 2006") }}</time>
+ <div class=date>
+ {{ .Date.Format (.Site.Params.dateform | default "January 2006") }}
</div>
</li>
{{ 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 "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
- {{ end }}
+ {{ range .AlternativeOutputFormats -}}
+ {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
+ {{ end -}}
</head>
<body>
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
--- /dev/null
+++ b/static/favico.ico
Binary files differ
diff --git a/static/favico.png b/static/favico.png
new file mode 100644
index 0000000..e470131
--- /dev/null
+++ b/static/favico.png
Binary files differ