Encapsulate summary in primary box
parent
7785f42494
commit
b3142c85e7
|
@ -36,8 +36,11 @@
|
|||
{{ end }}
|
||||
<!-- Second, a summary before ToC, if it exists -->
|
||||
{{ with .Params.summary }}
|
||||
<div class="message is-primary">
|
||||
<div class="message-body">
|
||||
{{ . }}
|
||||
<br /><br />
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
<!-- Then, ToC if text has more than 600 words and not explicitly asked not to -->
|
||||
{{ if (and (not .Params.notoc) (gt .WordCount 600)) }}
|
||||
|
|
Loading…
Reference in New Issue