diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-16 03:12:57 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-16 03:12:57 +0200 |
| commit | 6122059d8454cf9bf3dc7f277a26ffc26dc5284d (patch) | |
| tree | 942bc3ecaba9f28f378fee0e94627c52a272231e /layouts/partials/description.html | |
| parent | 60a0feb39d3ec975472f12377db9182789776c10 (diff) | |
| download | gohugo-theme-ed-6122059d8454cf9bf3dc7f277a26ffc26dc5284d.tar.gz | |
Add Atom support
Diffstat (limited to 'layouts/partials/description.html')
| -rw-r--r-- | layouts/partials/description.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/description.html b/layouts/partials/description.html index e63c0d9..ff3b697 100644 --- a/layouts/partials/description.html +++ b/layouts/partials/description.html @@ -12,4 +12,4 @@ {{- end -}} {{- end -}} -{{- $description | plainify | safeHTML | chomp | truncate 180 -}} +{{- replaceRE "\n" " " ($description | plainify | safeHTML | chomp | truncate 180) -}} |
