Fix margin for automatic post summary
This commit is contained in:
parent
0ac19e409b
commit
b5b99ad1ad
@ -12,7 +12,7 @@
|
||||
</h1>
|
||||
</header>
|
||||
|
||||
<div class="content">
|
||||
<div class="content post-summary">
|
||||
{{ .Summary | safeHTML }}
|
||||
</div>
|
||||
<!-- {{ if .Truncated }}
|
||||
|
@ -12,8 +12,8 @@
|
||||
</h1>
|
||||
</header>
|
||||
|
||||
<div class="content">
|
||||
{{ .Summary }}
|
||||
<div class="content post-summary">
|
||||
{{ .Summary | safeHTML }}
|
||||
</div>
|
||||
{{ partial "articleInfoDate.html" . }}
|
||||
<!-- {{ if .Truncated }}
|
||||
|
@ -11,8 +11,9 @@
|
||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
</h1>
|
||||
</header>
|
||||
<div class="content">
|
||||
{{ .Summary }}
|
||||
|
||||
<div class="content post-summary">
|
||||
{{ .Summary | safeHTML }}
|
||||
</div>
|
||||
{{ partial "articleInfoDate.html" . }}
|
||||
<!-- {{ if .Truncated }}
|
||||
|
@ -304,6 +304,15 @@ article img {
|
||||
margin: 1em auto;
|
||||
}
|
||||
|
||||
.post-summary {
|
||||
margin-top: 0.5em;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.post-summary > p {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Other pages */
|
||||
.terms {
|
||||
list-style-type: none;
|
||||
|
Loading…
Reference in New Issue
Block a user