~bacardi55/MinIndie

9c7b5afd3149e8e714211c6eaa56d0a8c1edc5e5 — bacardi55 6 months ago 42d2b6e
Change header 'logo' and simplify html
1 files changed, 9 insertions(+), 11 deletions(-)

M layouts/partials/header.html
M layouts/partials/header.html => layouts/partials/header.html +9 -11
@@ 1,19 1,17 @@
<header>
    <div style="display:flex;flex-flow:row wrap;justify-content:space-between">
        <div style="align-self:flex-start;">
            {{ strings.Repeat ( .Site.Title | len | add 6 ) "=" }}<br>
            == <a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> ==<br>
            {{ strings.Repeat ( .Site.Title | len | add 6 ) "=" }}
            {{ strings.Repeat ( .Site.Params.Author.Name | len | add 6 ) "=" }}<br>
            == <a href="{{ .Site.BaseURL }}">{{ .Site.Params.Author.Name }}</a> ==<br>
            {{ strings.Repeat ( .Site.Params.Author.Name | len | add 6 ) "=" }}
        </div>
        <div style="align-self:center;">{{ .Site.Params.subtitle }}</div>
    </div>
    <p>
        <nav>
            {{ with .Site.Menus.main }}
                {{ range . }}
                    <a href="{{ .URL | relURL }}"><b>{{ .Name }}</b></a>.
                {{ end }}
    <nav style="margin: 1rem auto;">
        {{ with .Site.Menus.main }}
            {{ range . }}
                <a href="{{ .URL | relURL }}"><b>{{ .Name }}</b></a>.
            {{ end }}
        </nav>
    </p>
        {{ end }}
    </nav>
</header>