Skip to content

Commit d97ac99

Browse files
Merge pull request #33 from Lemon73-Computing/lemon73/fix-news-card-height
docs(index): fixed info-card height
2 parents 1314d46 + 61ea080 commit d97ac99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

layouts/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ <h2 class="toppage-h">Information</h2>
1717
<a href="{{ .Permalink }}">
1818
<p id="info-date">{{ .Date.Format "2006.01.02" }}</p>
1919
<p id="info-title">{{ .Title }}</p>
20-
<p id="info-summary">{{ .Summary }}…</p>
20+
<p id="info-summary">{{ .Summary | plainify }}…</p>
2121
</a>
2222
{{ end }}
2323
</div>
@@ -26,7 +26,7 @@ <h2 class="toppage-h">Information</h2>
2626
{{ range ( first 3 ( where .Site.RegularPages "Params.tags" "intersect" (slice "未定"))) }}
2727
<li>
2828
<a href="{{ .Permalink }}">{{ .Title }}</a>
29-
<p>{{ .Summary }}</p>
29+
<p>{{ .Summary | plainify }}</p>
3030
</li>
3131
{{ end }}
3232
-->

0 commit comments

Comments
 (0)