Merge pull request #43 from iromeister/patch-1
replace .RawContent with .Summary - looks way better
This commit is contained in:
commit
38751fe862
@ -19,10 +19,8 @@
|
||||
<span class="description">
|
||||
{{ if isset .Params "description" }}
|
||||
{{ .Description }}
|
||||
{{ else if gt (len .RawContent) 120 }}
|
||||
{{ slicestr .RawContent 0 120 }}...
|
||||
{{ else }}
|
||||
{{ .RawContent }}
|
||||
{{ .Summary }}…
|
||||
{{ end }}
|
||||
</span>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user