Only left-justify post titles
This commit is contained in:
parent
be8a0a4a3a
commit
68fb78e765
|
@ -171,10 +171,9 @@ hr.header-divider {
|
||||||
border-radius: 0.15rem;
|
border-radius: 0.15rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul.page-list {
|
ul.post-list {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
text-align: left;
|
|
||||||
|
|
||||||
li {
|
li {
|
||||||
@include bordered-block;
|
@include bordered-block;
|
||||||
|
@ -182,11 +181,13 @@ ul.page-list {
|
||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
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: left;
|
||||||
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<h2>{{ .Title }}</h2>
|
<h2>{{ .Title }}</h2>
|
||||||
|
|
||||||
<ul class="page-list">
|
<ul class="post-list">
|
||||||
{{ range .Pages.ByDate.Reverse }}
|
{{ range .Pages.ByDate.Reverse }}
|
||||||
{{ partial "post.html" . }}
|
{{ partial "post.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
|
|
||||||
Recent posts:
|
Recent posts:
|
||||||
<ul class="page-list">
|
<ul class="post-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 }}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
<a href="{{ .Permalink }}" class="post-title">{{ .Title }}</a>
|
||||||
<p>{{ .WordCount }} words, about {{ .ReadingTime }} minutes to read.</p>
|
<p>{{ .WordCount }} words, about {{ .ReadingTime }} minutes to read.</p>
|
||||||
<p>{{ .Summary }} . . .</p>
|
<p>{{ .Summary }} . . .</p>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<h2>Tagged "{{ .Title }}"</h2>
|
<h2>Tagged "{{ .Title }}"</h2>
|
||||||
|
|
||||||
<ul class="page-list">
|
<ul class="post-list">
|
||||||
{{ range .Pages.ByDate.Reverse }}
|
{{ range .Pages.ByDate.Reverse }}
|
||||||
{{ partial "post.html" . }}
|
{{ partial "post.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user