Changes to HTML tags and styling choices
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
{{ end }}
|
||||
|
||||
{{ if not $found }}
|
||||
{{ $class = $class | append (print "h" $new) }}
|
||||
{{ $class = $class | append (print "h" $old) }}
|
||||
{{ end }}
|
||||
|
||||
{{ $class = delimit (sort $class) " " }}
|
||||
|
@@ -39,7 +39,10 @@
|
||||
{{ with $title }}
|
||||
<title>{{ . }}</title>
|
||||
{{ end }}
|
||||
|
||||
{{ with .Params.customJS }}
|
||||
<script type="module" src="{{ . | relURL }}"></script>
|
||||
{{ end }}
|
||||
|
||||
{{ partial "paige/links.html" $page }}
|
||||
|
||||
{{ with $page.Param "paige.style" }}
|
||||
|
@@ -25,7 +25,7 @@
|
||||
{{ partial "paige/func-include.html" (dict "name" "page-header-first%s.html" "page" $page) | safeHTML }}
|
||||
|
||||
{{ with $title }}
|
||||
<h1 class="fw-bold" id="paige-page-title" {{ if $microdata }} itemprop="headline name" {{ end }}>{{ if $link }}<a href="{{ $link }}">{{ . }}</a>{{ else }}{{ . }}{{ end }}</h1>
|
||||
<h2 class="fw-bold" id="paige-page-title" {{ if $microdata }} itemprop="headline name" {{ end }}>{{ if $link }}<a href="{{ $link }}">{{ . }}</a>{{ else }}{{ . }}{{ end }}</h2>
|
||||
{{ end }}
|
||||
|
||||
{{ with $description }}
|
||||
|
@@ -50,7 +50,7 @@
|
||||
{{ partial "paige/page-header.html" $page }}
|
||||
|
||||
{{ with $content }}
|
||||
<main class="mw-100" id="paige-page-content" {{ if $microdata }} itemprop="articleBody" {{ end }}>
|
||||
<main id="paige-page-content" {{ if $microdata }} itemprop="articleBody" {{ end }}>
|
||||
{{ partial "paige/func-include.html" (dict "name" "page-body-first%s.html" "page" $page) | safeHTML }}
|
||||
{{ . | safeHTML }}
|
||||
{{ partial "paige/func-include.html" (dict "name" "page-body-last%s.html" "page" $page) | safeHTML }}
|
||||
|
@@ -38,7 +38,7 @@
|
||||
{{ partial "paige/func-include.html" (dict "name" "site-header-first%s.html" "page" $page) | safeHTML }}
|
||||
|
||||
{{ with $title }}
|
||||
<div class="display-1 fw-bold {{ if not (or $breadcrumbs $description $menu) }} paige-row-tall {{ end }} text-center" id="paige-site-title">
|
||||
<div class="display-5 fw-bold {{ if not (or $breadcrumbs $description $menu) }} paige-row-tall {{ end }} text-center" id="paige-site-title">
|
||||
<a class="text-body text-decoration-none" href="{{ relLangURL `` }}">{{ . }}</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user