mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-14 10:17:56 +00:00
1 parent
fc399910b1
commit
74a9bb326e
1 file changed
+6
-4
@@ -9,7 +9,7 @@
|
||||
|
||||
{{ partial "header_image.html" . }}
|
||||
|
||||
<div class="universal-wrapper">
|
||||
<div class="article-container">
|
||||
|
||||
{{ with .Title }}<h1>{{ . }}</h1>{{ end }}
|
||||
|
||||
@@ -23,9 +23,11 @@
|
||||
<h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
|
||||
<div class="article-style">
|
||||
{{ if .Params.summary }}
|
||||
{{ printf "%s" .Params.summary | markdownify }}
|
||||
{{ else if .Truncated }}
|
||||
{{ printf "%s" .Summary | markdownify }}
|
||||
{{ .Params.summary | plainify | emojify }}
|
||||
{{ else if .Params.abstract }}
|
||||
{{ .Params.abstract | plainify | emojify | truncate 250 }}
|
||||
{{ else if .Summary }}
|
||||
{{ .Summary | plainify | emojify }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user