diff options
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/footer.html | 4 | ||||
-rw-r--r-- | layouts/partials/head.html | 3 | ||||
-rw-r--r-- | layouts/partials/header.html | 22 |
3 files changed, 22 insertions, 7 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index e72253b..eb1e7e7 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html | |||
@@ -1,3 +1,5 @@ | |||
1 | <footer> | 1 | <footer> |
2 | <h1>{{ .Title }}</h1> | 2 | <div class="container"> |
3 | <h3>{{ .Site.Title }}</h3> | ||
4 | </div> | ||
3 | </footer> \ No newline at end of file | 5 | </footer> \ No newline at end of file |
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 73308f4..dbc55b1 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html | |||
@@ -1,5 +1,8 @@ | |||
1 | <head> | 1 | <head> |
2 | <title>{{ .Title }}</title> | 2 | <title>{{ .Title }}</title> |
3 | {{ with resources.Get "css/pico.min.css" }} | ||
4 | <link rel="stylesheet" href="{{ .RelPermalink }}"> | ||
5 | {{ end }} | ||
3 | {{ with resources.Get "css/main.css" }} | 6 | {{ with resources.Get "css/main.css" }} |
4 | <link rel="stylesheet" href="{{ .RelPermalink }}"> | 7 | <link rel="stylesheet" href="{{ .RelPermalink }}"> |
5 | {{ end }} | 8 | {{ end }} |
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index d0930a3..4a9ae70 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html | |||
@@ -1,8 +1,18 @@ | |||
1 | <header> | 1 | <header> |
2 | <h1>{{ .Title | default .Site.Title }}</h1> | 2 | <div class="container"> |
3 | <nav> | 3 | <nav> |
4 | {{ range .Site.Menus.main }} | 4 | <ul> |
5 | <a href="{{ .URL }}">{{ .Name }}</a> | 5 | <li> |
6 | {{ end }} | 6 | <strong> |
7 | </nav> | 7 | {{ .Site.Title }} |
8 | </strong> | ||
9 | </li> | ||
10 | </ul> | ||
11 | <ul> | ||
12 | {{ range .Site.Menus.main }} | ||
13 | <li><a href="{{ .URL }}">{{ .Name }}</a></li> | ||
14 | {{ end }} | ||
15 | </ul> | ||
16 | </nav> | ||
17 | </div> | ||
8 | </header> \ No newline at end of file | 18 | </header> \ No newline at end of file |