2019-05-06 17:05:39 +00:00
|
|
|
{{ $_hugo_config := `{ "version": 1 }` }}
|
2017-07-30 16:02:07 +00:00
|
|
|
<div class="expand">
|
2018-02-19 11:10:41 +00:00
|
|
|
<div class="expand-label" style="cursor: pointer;" onclick="$h = $(this);$h.next('div').slideToggle(100,function () {$h.children('i').attr('class',function () {return $h.next('div').is(':visible') ? 'fas fa-chevron-down' : 'fas fa-chevron-right';});});">
|
|
|
|
<i style="font-size:x-small;" class="fas fa-chevron-right"></i>
|
2017-07-30 16:02:07 +00:00
|
|
|
<span>
|
2017-08-20 20:29:22 +00:00
|
|
|
{{$expandMessage := T "Expand-title"}}
|
2017-07-30 16:02:07 +00:00
|
|
|
{{ if .IsNamedParams }}
|
2017-08-20 20:29:22 +00:00
|
|
|
{{.Get "default" | default $expandMessage}}
|
2017-07-30 16:02:07 +00:00
|
|
|
{{else}}
|
2017-08-20 20:29:22 +00:00
|
|
|
{{.Get 0 | default $expandMessage}}
|
2017-07-30 16:02:07 +00:00
|
|
|
{{end}}
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div class="expand-content" style="display: none;">
|
|
|
|
{{.Inner | safeHTML}}
|
|
|
|
</div>
|
|
|
|
</div>
|