Replace section tags with div

This commit is contained in:
Will Faught
2023-03-04 13:27:05 -08:00
parent 12a356dd0e
commit 1074859c63
18 changed files with 45 additions and 45 deletions

View File

@@ -11,5 +11,5 @@
{{ $content := cond ($fullpages | not) ($page.Content | replaceRE `(<h[1-6] id="([^"]+)".+)(</h[1-6]+>)` (printf `${1}<a aria-label="%v" class="paige-header-link" href="#${2}">#</a>${3}` (i18n "paige_aria_section_link")) | safeHTML) $page.Content }}
{{ with $content }}
<section class="mw-100 overflow-x-auto paige-content">{{ . }}</section>
<div class="mw-100 overflow-x-auto paige-content">{{ . }}</div>
{{ end }}