~bacardi55/MinIndie

42d2b6eb5068ea225e5d9fc6802c9f09af52db10 — bacardi55 6 months ago 48690e4
Rearrange footer in multiple lines and with 2 menus
1 files changed, 12 insertions(+), 11 deletions(-)

M layouts/partials/footer.html
M layouts/partials/footer.html => layouts/partials/footer.html +12 -11
@@ 1,13 1,14 @@
<hr />
<footer>
    <div style="display:flex;flex-flow:row wrap;justify-content:space-between">
        <p style="align-self:flex-end;">
            {{- range .Site.Menus.footer }}
                <a href="{{ .URL }}"><b>{{ .Name }}</b></a>.
            {{- end }}
        </p>
        <p style="align-self:flex-start;">
            &copy; <a href="{{ .Site.BaseURL }}"><b>{{ if .Site.Copyright }}{{ .Site.Copyright }}{{ else }}{{ .Site.Title }}{{ end }}</b></a>.
        </p>
    </div>
    {{ partial "footer-extra.html" }}
    <p>
        {{- range .Site.Menus.footer }}
            <a href="{{ .URL }}"><b>{{ .Name }}</b></a>.
        {{- end }}
    </p>

    {{ partial "footer-extra.html" . }}

    <p style="text-align: center" class="copyright">
        &copy; <a href="{{ .Site.BaseURL }}"><b>{{ if .Site.Copyright }}{{ .Site.Copyright }}{{ else }}{{ .Site.Title }}{{ end }}</b></a>.
    </p>
</footer>