mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-19 06:15:07 +00:00
Documents strings.TrimSpace
This commit is contained in:
1 parent
533dd3a7bc
commit
6103c1e841
11 files changed
+47
-59
No files matched your search
@@ -21,7 +21,7 @@ Welcome. Today is {{</* now */>}}.
|
||||
|
||||
{{< code file=layouts/shortcodes/greeting.html >}}
|
||||
<div class="greeting">
|
||||
{{ trim .Inner "\r\n" | .Page.RenderString }}
|
||||
{{ .Inner | strings.TrimSpace | .Page.RenderString }}
|
||||
</div>
|
||||
{{< /code >}}
|
||||
|
||||
|
||||
Reference in new issue
Block a user