Compare commits
2 Commits
b968355d26
...
b5d1e31d1b
Author | SHA1 | Date |
---|---|---|
Quentin Duchemin | b5d1e31d1b | |
Quentin Duchemin | 729c72beaf |
|
@ -15,6 +15,12 @@ permalinks:
|
|||
# For about section, just use title
|
||||
about: /:title
|
||||
|
||||
markup:
|
||||
goldmark:
|
||||
renderer:
|
||||
# Render newlines as <br>
|
||||
hardWraps: true
|
||||
|
||||
# Disable all privacy unfriendly stuff
|
||||
privacy:
|
||||
disqus:
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
<br /><br />
|
||||
{{ end }}
|
||||
<!-- Then, ToC if text has more than 600 words and not explicitly asked not to -->
|
||||
{{ if (or (not .Params.notoc) (gt .WordCount 600)) }}
|
||||
{{ if (and (not .Params.notoc) (gt .WordCount 600)) }}
|
||||
<div class="message is-info">
|
||||
<div class="message-header">Sommaire</div>
|
||||
<!-- Appreciate this horrible trick, even a 2000's HTML generator won't generate such code -->
|
||||
|
|
Loading…
Reference in New Issue