Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/fourtyone11/origin-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author8rain1ag <asleeppiano@outlook.com>2020-02-05 00:13:18 +0300
committer8rain1ag <asleeppiano@outlook.com>2020-02-05 00:13:18 +0300
commit5d526501aba7b338a6ff6ac64c21b3bf1d38db30 (patch)
tree119b31ebb3c0fde7fb7da5d17e4e1f9f47a999bd /layouts/partials
Initial commit
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/footer.html0
-rw-r--r--layouts/partials/head.html4
-rw-r--r--layouts/partials/header.html19
3 files changed, 23 insertions, 0 deletions
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>
+