20 lines
579 B
HTML
20 lines
579 B
HTML
|
|
||
|
<div class="spoiler panel panel-default">
|
||
|
<div class='spoiler_block'>
|
||
|
{{ if (.Get "text") }}
|
||
|
<h4 class='spoiler_block_head'>{{ with .Get "text" }}{{ . | safeHTML }}{{ else }} {{ end }}</h4>
|
||
|
{{ end }}
|
||
|
<a href='#' class='spoiler-block-icon spoiler-block-icon-zoom-in spoiler_block_show'>
|
||
|
click to show
|
||
|
</a>
|
||
|
{{ if .Inner }}
|
||
|
<a href='#' class='spoiler-block-icon spoiler-block-icon-zoom-out spoiler_block_hide' style='display: none;'>
|
||
|
click to hide
|
||
|
</a>
|
||
|
{{ end }}
|
||
|
<div class='spoiler_block_content' style='display: none;'>
|
||
|
{{ .Inner }}
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|