Compare commits

..

No commits in common. "85bd0b6c9c0d588363bfad1d32f8e2fc6d080531" and "be8a0a4a3aee3d31ef082c67cb82b4fea851c099" have entirely different histories.

5 changed files with 16 additions and 25 deletions

View File

@ -7,10 +7,6 @@ body {
line-height: 1.5; line-height: 1.5;
margin-bottom: 1rem; margin-bottom: 1rem;
text-align: justify; text-align: justify;
@include below-container-width {
text-align: left;
}
} }
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
@ -175,9 +171,10 @@ hr.header-divider {
border-radius: 0.15rem; border-radius: 0.15rem;
} }
ul.post-list { ul.page-list {
list-style: none; list-style: none;
padding: 0; padding: 0;
text-align: left;
li { li {
@include bordered-block; @include bordered-block;
@ -185,22 +182,16 @@ ul.post-list {
padding: 0.5rem; padding: 0.5rem;
} }
p { a {
margin: 0;
}
a.post-title {
border-bottom: none; border-bottom: none;
font-size: 1.3rem; font-size: 1.3rem;
font-weight: bold; font-weight: bold;
font-family: $font-heading; font-family: $font-heading;
text-align: center;
display: block;
} }
p.post-wordcount { p {
text-align: center; margin-bottom: 0;
margin-bottom: 0.6rem; margin-top: 0.2rem;
} }
} }

View File

@ -1,7 +1,7 @@
{{ define "main" }} {{ define "main" }}
<h2>{{ .Title }}</h2> <h2>{{ .Title }}</h2>
<ul class="post-list"> <ul class="page-list">
{{ range .Pages.ByDate.Reverse }} {{ range .Pages.ByDate.Reverse }}
{{ partial "post.html" . }} {{ partial "post.html" . }}
{{ end }} {{ end }}

View File

@ -2,9 +2,9 @@
{{ .Content }} {{ .Content }}
Recent posts: Recent posts:
<ul class="post-list"> <ul class="page-list">
{{ range first 10 (where (where .Site.Pages.ByDate.Reverse "Section" "blog") ".Kind" "!=" "section") }} {{ range first 10 (where (where .Site.Pages.ByDate.Reverse "Section" "blog") ".Kind" "!=" "section") }}
{{ partial "post.html" . }} {{ partial "post.html" . }}
{{ end }} {{ end }}
</ul> </ul>
{{ end }} {{ end }}

View File

@ -1,5 +1,5 @@
<li> <li>
<a href="{{ .Permalink }}" class="post-title">{{ .Title }}</a> <a href="{{ .Permalink }}">{{ .Title }}</a>
<p class="post-wordcount">{{ .WordCount }} words, about {{ .ReadingTime }} minutes to read.</p> <p>{{ .WordCount }} words, about {{ .ReadingTime }} minutes to read.</p>
<p class="post-preview">{{ .Summary }} . . .</p> <p>{{ .Summary }} . . .</p>
</li> </li>

View File

@ -1,7 +1,7 @@
{{ define "main" }} {{ define "main" }}
<h2>Tagged "{{ .Title }}"</h2> <h2>Tagged "{{ .Title }}"</h2>
<ul class="post-list"> <ul class="page-list">
{{ range .Pages.ByDate.Reverse }} {{ range .Pages.ByDate.Reverse }}
{{ partial "post.html" . }} {{ partial "post.html" . }}
{{ end }} {{ end }}