diff --git a/html/assets/style.css b/html/assets/style.css index ce7e830..ca8ec1f 100644 --- a/html/assets/style.css +++ b/html/assets/style.css @@ -59,7 +59,7 @@ h1 { line-height: 1; } -h2 { +h2, .tagline { font-family: "Noto Serif"; font-weight: 400; font-size: 2.4rem; @@ -196,7 +196,7 @@ nav li { /* UTILITY CLASSES */ -.italic-text { +.italic-text, .tagline { font-style: italic; } diff --git a/html/index.html b/html/index.html index 8a31493..9352fa7 100644 --- a/html/index.html +++ b/html/index.html @@ -1,31 +1,12 @@ {{ template "head" . }} -
- Lieu - -
+{{ template "nav" . }}
-

- {{ .SiteName }} -

-

- {{ .Data.Tagline }} -

- +

{{ .SiteName }}

+

{{ .Data.Tagline }}

+ + {{ template "search-form" . }}
diff --git a/html/nav.html b/html/nav.html index eb85a54..27e12bb 100644 --- a/html/nav.html +++ b/html/nav.html @@ -1,11 +1,29 @@ {{ define "nav" }}
- {{ .SiteName }} - + {{ if eq .View "index" }} + Lieu + {{else}} + {{ .SiteName }} + {{ end }} +
{{ end }} + +{{ define "search-form" }} + +{{ end }} diff --git a/html/search.html b/html/search.html index 9374daa..209ace2 100644 --- a/html/search.html +++ b/html/search.html @@ -3,18 +3,8 @@

{{ .Data.Title }} {{ if ne .Data.Site "" }} for {{ .Data.Site }} {{ end }}

- + + {{ template "search-form" . }} {{ if ne .Data.Site "" }}