diff options
author | uPagge <git@upagge.ru> | 2021-02-18 17:56:32 +0300 |
---|---|---|
committer | uPagge <git@upagge.ru> | 2021-02-18 17:56:32 +0300 |
commit | b741368bde58488b23404ee85f187f4a7188dbbc (patch) | |
tree | 0a75b544f537b1df44364f5fc0d0e6403be24e94 /layouts/shortcodes | |
parent | 8f801faa3f6d10c1310a21ea9fb9074c2c485bf9 (diff) |
fix _admonition.scss
Diffstat (limited to 'layouts/shortcodes')
-rw-r--r-- | layouts/shortcodes/admonition.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/shortcodes/admonition.html b/layouts/shortcodes/admonition.html index 7cef754..daa23f7 100644 --- a/layouts/shortcodes/admonition.html +++ b/layouts/shortcodes/admonition.html @@ -18,7 +18,7 @@ {{- $type := .Get "type" | default "note" -}} <div class="details admonition {{ $type }}{{ if .Get `open` | ne false }} open{{ end }}"> - <div class="details-summary admonition-title" {{- if not (.Get "title") -}}style="display:none"{{- end -}}> + <div class="details-summary admonition-title {{ if not (.Get `title`) }}admonition-title-none{{ end }}"> {{- with (.Get "title") -}} <i class="icon {{ index $iconMap $type | default (index $iconMap "note") }}"></i>{{ . | default (T $type) }}<i class="details-icon {{ $iconDetails }}"></i> {{- end -}} |