[ADD] Theme2
This commit is contained in:
3
themes/zone2/layouts/partials/footer.html
Normal file
3
themes/zone2/layouts/partials/footer.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<footer>
|
||||
<p>©{{ dateFormat "2006" now }} {{ .Site.Title }}</p>
|
||||
</footer>
|
||||
11
themes/zone2/layouts/partials/header.html
Normal file
11
themes/zone2/layouts/partials/header.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
||||
<title>{{ if not .IsHome }}{{ .Title }} | {{ end }}{{ .Site.Title }}</title>
|
||||
|
||||
<link rel="stylesheet" href="/css/style.css" type="text/css" media="all" />
|
||||
<link rel="icon" type="image/svg+xml" href="/img/Chaoszone.svg" />
|
||||
|
||||
{{ with .OutputFormats.Get "rss" -}} {{ printf `
|
||||
<link rel="%s" type="%s" href="%s" title="%s" />
|
||||
` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}}
|
||||
12
themes/zone2/layouts/partials/nav.html
Normal file
12
themes/zone2/layouts/partials/nav.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<nav class="site-nav">
|
||||
<a class="logo" href="{{ .Site.BaseURL }}">
|
||||
<img src="/img/Chaoszone.svg" />
|
||||
</a>
|
||||
<ul class="main-menu">
|
||||
{{ range.Site.Menus.main }}
|
||||
<li>
|
||||
<a href="{{ .URL }}">{{ .Name }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</nav>
|
||||
Reference in New Issue
Block a user