Factor out styles

master
Will Faught 12 months ago
parent ab44959bd6
commit deef18c0c3

@ -17,7 +17,7 @@
{{ end }} {{ end }}
{{ end }} {{ end }}
<footer class="mb-3" id="paige-footer"> <footer class="mb-3 text-center text-secondary" id="paige-footer">
{{ if templates.Exists "partials/paige/footer-first.html" }} {{ if templates.Exists "partials/paige/footer-first.html" }}
{{ partial "paige/footer-first.html" . }} {{ partial "paige/footer-first.html" . }}
{{ end }} {{ end }}
@ -25,13 +25,13 @@
{{ if or $page.PrevInSection $page.NextInSection }} {{ if or $page.PrevInSection $page.NextInSection }}
<div class="mb-3" id="paige-prev-next"> <div class="mb-3" id="paige-prev-next">
{{ with $page.PrevInSection }} {{ with $page.PrevInSection }}
<p class="mb-0 text-center text-secondary" id="paige-next"> <p class="mb-0" id="paige-next">
<a class="link-secondary" href="{{ .Permalink }}">{{ .Title }}</a> &rsaquo; <a class="link-secondary" href="{{ .Permalink }}">{{ .Title }}</a> &rsaquo;
</p> </p>
{{ end }} {{ end }}
{{ with $page.NextInSection }} {{ with $page.NextInSection }}
<p class="mb-0 text-center text-secondary" id="paige-prev"> <p class="mb-0" id="paige-prev">
&lsaquo; <a class="link-secondary" href="{{ .Permalink }}">{{ .Title }}</a> &lsaquo; <a class="link-secondary" href="{{ .Permalink }}">{{ .Title }}</a>
</p> </p>
{{ end }} {{ end }}
@ -41,13 +41,13 @@
{{ if and $page.File (or $fileediturl $filehistoryurl) }} {{ if and $page.File (or $fileediturl $filehistoryurl) }}
<div class="mb-3" id="paige-file"> <div class="mb-3" id="paige-file">
{{ if $fileediturl }} {{ if $fileediturl }}
<p class="mb-0 text-center" id="paige-file-edit"> <p class="mb-0" id="paige-file-edit">
<a class="link-secondary" href="{{ $fileediturl | safeURL }}">{{ i18n "paige_edit_this_page" }}</a> <a class="link-secondary" href="{{ $fileediturl | safeURL }}">{{ i18n "paige_edit_this_page" }}</a>
</p> </p>
{{ end }} {{ end }}
{{ if $filehistoryurl }} {{ if $filehistoryurl }}
<p class="mb-0 text-center" id="paige-file-history"> <p class="mb-0" id="paige-file-history">
<a class="link-secondary" href="{{ $filehistoryurl | safeURL }}">{{ i18n "paige_edit_history" }}</a> <a class="link-secondary" href="{{ $filehistoryurl | safeURL }}">{{ i18n "paige_edit_history" }}</a>
</p> </p>
{{ end }} {{ end }}
@ -55,10 +55,10 @@
{{ end }} {{ end }}
{{ with $copyright }} {{ with $copyright }}
<p class="mb-0 text-center text-secondary" id="paige-copyright">{{ . }}</p> <p class="mb-0" id="paige-copyright">{{ . }}</p>
{{ end }} {{ end }}
<p class="mb-0 text-center" id="paige-credit"> <p class="mb-0" id="paige-credit">
<a class="link-secondary text-decoration-none" href="{{ $theme }}" {{ with $target }} target="{{ . }}" {{ end }}>Paige Theme</a> <a class="link-secondary text-decoration-none" href="{{ $theme }}" {{ with $target }} target="{{ . }}" {{ end }}>Paige Theme</a>
</p> </p>

Loading…
Cancel
Save