Add emphasis to trim function explanation

This commit is contained in:
Ryan Watters 2017-04-05 18:24:40 -05:00
parent f4b1293510
commit fe78595c89
3 changed files with 2 additions and 3 deletions

View File

@ -22,7 +22,7 @@ deprecated: false
{{ trim "++Batman--" "+-" }} → "Batman"
```
`trim` *requires* the second argument, which tells the function specifically what to remove from the first argument. There is no default value for the second argument, so the following usage will *not* work:
`trim` *requires* the second argument, which tells the function specifically what to remove from the first argument. There is no default value for the second argument, so **the following usage will not work**:
```
{{ trim .Inner}}

View File

@ -19,6 +19,5 @@
</div>
{{partial "content-footer.html" . }}
</div>
</main>
{{ end }}

View File

@ -1,5 +1,5 @@
{{$kind := .Kind}}
<div class="all-contents">
<div class="all-contents">
{{range .Data.Pages}}
<!-- if statement checks for sitelink. sitelink: is a field in front matter of /content/showcase/*.md) -->
<a {{with .Params.sitelink }}href="{{.}} "target="_blank"{{else}}href="{{.Permalink}}"{{end}}>