Hide "See Also" section if see_also is not provided
This commit is contained in:
parent
157d5e7b02
commit
8f5087e077
1 changed files with 2 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
{{ if .Params.see_also }}
|
||||||
<div class="see_also">
|
<div class="see_also">
|
||||||
<h3>See also: </h3>
|
<h3>See also: </h3>
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -6,3 +7,4 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue