Updated theme
This commit is contained in:
@@ -5,7 +5,7 @@ html {
|
||||
body {
|
||||
line-height: 1.5;
|
||||
max-width: 768px;
|
||||
margin: 1rem;
|
||||
margin: auto;
|
||||
font-family: Tahoma, Verdana, Arial, sans-serif;
|
||||
color: lightgray;
|
||||
}
|
||||
@@ -38,12 +38,18 @@ nav ul li a {
|
||||
color: violet;
|
||||
}
|
||||
|
||||
div#tags div {
|
||||
div#byline {
|
||||
color: grey;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
div#tags {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
div#tags ul {
|
||||
padding: 0;
|
||||
padding-left: 0.5rem;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
div#tags ul li {
|
||||
@@ -59,6 +65,30 @@ a {
|
||||
color: palevioletred;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4 {
|
||||
padding-top: 1rem;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: palevioletred;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
color: lightblue;
|
||||
font-size: 0.9rem;
|
||||
margin: 0;
|
||||
padding-left: 0.5rem;
|
||||
border-left: 0.4rem solid lightblue;
|
||||
}
|
||||
|
||||
div#footer {
|
||||
padding: 2rem 0 2rem 0;
|
||||
}
|
||||
|
||||
div#footer p {
|
||||
color: grey;
|
||||
font-size: 0.8rem;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1 +1,4 @@
|
||||
<p>Copyright {{ now.Year }}. All rights reserved.</p>
|
||||
<div id="footer">
|
||||
<p>Copyright © {{ now.Year }} by Anne (<a href="mailto:anne@minded.net">anne@minded.net</a>).</p>
|
||||
<p>Feel free to reuse or share under the <a href="https://creativecommons.org/licenses/by-nc-sa/4.0">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 License</a>.</p>
|
||||
</div>
|
||||
|
||||
@@ -12,8 +12,7 @@ For a given taxonomy, renders a list of terms assigned to the page.
|
||||
|
||||
{{- with $page.GetTerms $taxonomy }}
|
||||
{{- $label := (index . 0).Parent.LinkTitle }}
|
||||
<div>
|
||||
<div>{{ $label }}:</div>
|
||||
<div id="tags">
|
||||
<ul>
|
||||
{{- range . }}
|
||||
<li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
{{ define "main" }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
|
||||
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
|
||||
{{ $dateHuman := .Date | time.Format ":date_long" }}
|
||||
<time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
|
||||
{{ $dateMachine := .Date | time.Format "2006-01-02" }}
|
||||
{{ $dateHuman := .Date | time.Format "2006-01-02" }}
|
||||
<div id="byline">
|
||||
<time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
|
||||
{{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
|
||||
</div>
|
||||
|
||||
{{ .Content }}
|
||||
{{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user