mirror of
https://codeberg.org/mclemens/amberterm.git
synced 2024-07-03 21:15:25 +00:00
changed footer and header layout
This commit is contained in:
parent
d5bc010629
commit
6211fef2d4
|
@ -8,7 +8,7 @@
|
||||||
<title>{{ .Site.Title }}</title>
|
<title>{{ .Site.Title }}</title>
|
||||||
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
|
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
|
||||||
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
|
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
|
||||||
<link rel="stylesheet" href="{{ "css/style.css?v1.41" | relURL }}">
|
<link rel="stylesheet" href="{{ "css/style.css?v1.42" | relURL }}">
|
||||||
|
|
||||||
{{ range .Site.Params.customCSS -}}
|
{{ range .Site.Params.customCSS -}}
|
||||||
<link rel="stylesheet" href="{{ . | relURL }}?rnd={{ now.Unix }}">
|
<link rel="stylesheet" href="{{ . | relURL }}?rnd={{ now.Unix }}">
|
||||||
|
|
|
@ -1,8 +1,13 @@
|
||||||
<header>
|
<header>
|
||||||
<nav>
|
<nav>
|
||||||
<a href="/"><b>Home</b></a>
|
<span>
|
||||||
|
<a href="/"><b>{{ $.Site.Title }}</b></a>
|
||||||
|
</span>
|
||||||
|
<span>
|
||||||
{{ with .Site.Menus.main }}
|
{{ with .Site.Menus.main }}
|
||||||
{{ range . }} - <a href="{{ .URL | relURL }}"><b>{{ .Name }}</b></a> {{ end }}
|
{{ range first 1 . }} <a href="{{ .URL | relURL }}"><b>{{ .Name }}</b></a> {{ end }}
|
||||||
|
{{ range after 1 . }} - <a href="{{ .URL | relURL }}"><b>{{ .Name }}</b></a> {{ end }}
|
||||||
|
</span>
|
||||||
</nav>
|
</nav>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</header>
|
</header>
|
||||||
|
|
|
@ -32,6 +32,14 @@ h1,h2,h3{
|
||||||
nav a{
|
nav a{
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
navFooter{
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
nav{
|
||||||
|
position: relative;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
h1 a,h2 a,h3 a{
|
h1 a,h2 a,h3 a{
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user