You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
595 B
HTML
18 lines
595 B
HTML
{{ if .Content }}
|
|
<section>
|
|
<div class="container-fluid">
|
|
<div class="justify-content-center row">
|
|
<div class="col col-auto px-0">
|
|
<article>
|
|
{{ if .Scratch.Get "paige_show_full_pages" }}
|
|
{{ .Content }}
|
|
{{ else }}
|
|
{{ .Content | replaceRE `(<h[1-6] id="([^"]+)".+)(</h[1-6]+>)` `${1}<a class="small paigeheaderlink" href="#${2}">#</a>${3}` | safeHTML }}
|
|
{{ end }}
|
|
</article>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
{{ end }}
|