diff options
author | 8rain1ag <asleeppiano@outlook.com> | 2020-02-05 00:13:18 +0300 |
---|---|---|
committer | 8rain1ag <asleeppiano@outlook.com> | 2020-02-05 00:13:18 +0300 |
commit | 5d526501aba7b338a6ff6ac64c21b3bf1d38db30 (patch) | |
tree | 119b31ebb3c0fde7fb7da5d17e4e1f9f47a999bd /layouts |
Initial commit
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/404.html | 0 | ||||
-rw-r--r-- | layouts/_default/baseof.html | 11 | ||||
-rw-r--r-- | layouts/_default/list.html | 0 | ||||
-rw-r--r-- | layouts/_default/single.html | 0 | ||||
-rw-r--r-- | layouts/index.html | 2 | ||||
-rw-r--r-- | layouts/partials/footer.html | 0 | ||||
-rw-r--r-- | layouts/partials/head.html | 4 | ||||
-rw-r--r-- | layouts/partials/header.html | 19 |
8 files changed, 36 insertions, 0 deletions
diff --git a/layouts/404.html b/layouts/404.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/layouts/404.html diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..5f8e2ec --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html> + {{- partial "head.html" . -}} + <body> + {{- partial "header.html" . -}} + <div id="content"> + {{- block "main" . }}{{- end }} + </div> + {{- partial "footer.html" . -}} + </body> +</html> diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/layouts/_default/list.html diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/layouts/_default/single.html diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..553a89f --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,2 @@ +{{define "main"}} +{{end}} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/layouts/partials/footer.html diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..28bdd10 --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,4 @@ +<head> + <title>{{ .Title }}</title> + <link rel="stylesheet" href="css/style.css" > +</head> diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..8a3d48d --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,19 @@ +<header> + <div class="header header-frame"> + <div> + <div class="header-title">{{.Site.Title}}</div> + {{if .Site.Params.Description}} + <div class="header-description">{{.Site.Params.Description}}</div> + {{end}} + </div> + <nav> + <ul class="header-nav"> + {{ range .Site.Taxonomies.tags }} + <li class="header-nav-item"><a href="{{ .Page.Permalink }}">{{ .Page.Title }}</a> {{ .Count }}</li> + {{end}} + </ul> + </nav> + + </div> +</header> + |