init as nameless new theme
This commit is contained in:
parent
f4735db2ae
commit
ce98bd5c83
6 changed files with 27 additions and 13 deletions
|
@ -4,6 +4,7 @@
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<style type=text/css>body{font-family:monospace;}</style>
|
||||||
<title>{{ .Title }}</title>
|
<title>{{ .Title }}</title>
|
||||||
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
|
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
|
||||||
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
|
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<main>
|
<main>
|
||||||
<article>
|
<article>
|
||||||
<h1>{{ .Title }}</h1>
|
<h1>{{ .Title }}</h1>
|
||||||
<time>{{ .Date.Format "02.01.2006 15:04" }}</time>
|
<b><time>{{ .Date.Format "02.01.2006 15:04" }}</time></b>
|
||||||
<div>
|
<div>
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -15,11 +15,6 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ with .Site.DisqusShortname }}
|
|
||||||
<div>
|
|
||||||
{{ template "_internal/disqus.html" . }}
|
|
||||||
</div>
|
|
||||||
{{ end }}
|
|
||||||
</article>
|
</article>
|
||||||
</main>
|
</main>
|
||||||
{{ partial "sidebar.html" . }}
|
{{ partial "sidebar.html" . }}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<article>
|
<article style="padding:20px 0;">
|
||||||
<h1><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
|
<h1><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
|
||||||
<time>{{ .Date.Format "02.01.2006 15:04" }}</time>
|
<b><time>{{ .Date.Format "02.01.2006 15:04" }}</time></b>
|
||||||
{{ range .Params.tags }}
|
{{ range .Params.tags }}
|
||||||
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
|
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
<footer>
|
<footer>
|
||||||
<p>© {{ now.Year }} <a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></p>
|
<p>© {{ now.Year }} <a href="{{ .Site.BaseURL }}"><b>{{ .Site.Title }}</b></a>.
|
||||||
|
{{- range .Site.Menus.footer }}
|
||||||
|
<a href="{{ .URL }}"><b>{{ .Name }}</b></a>.
|
||||||
|
{{- end }}
|
||||||
|
</p>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
@ -1,12 +1,16 @@
|
||||||
<header>
|
<header>
|
||||||
<a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
|
==============<br>
|
||||||
|
== <a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> ==<br>
|
||||||
|
==============<br>
|
||||||
{{ with .Site.Menus.main }}
|
{{ with .Site.Menus.main }}
|
||||||
|
<p>
|
||||||
|
<div style="float: right;">Einfach mal was mit Holz machen.</div>
|
||||||
<nav>
|
<nav>
|
||||||
<ul>
|
<a href="/"><b>Posts</b></a>.
|
||||||
{{ range . }}
|
{{ range . }}
|
||||||
<li><a href="{{ .URL | relURL }}">{{ .Name }}</a></li>
|
<a href="{{ .URL | relURL }}"><b>{{ .Name }}</b></a>.
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
|
||||||
</nav>
|
</nav>
|
||||||
|
</p>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</header>
|
</header>
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
body{max-width:800px;margin:40px auto;padding:0 10px;font:14px/1.5 monospace;color:#444}h1,h2,h3{line-height:1.2}@media (prefers-color-scheme: dark){body{color:white;background:#444}a:link{color:#5bf}a:visited{color:#ccf}}
|
||||||
|
code{color: #FFFFFF; background:#000000; padding:2px}
|
||||||
|
pre{color: #FFFFFF; background:#000000; padding:24px; white-space: pre-wrap}
|
||||||
|
article{padding:20px 0}
|
||||||
|
.center {
|
||||||
|
display: block;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
width: 100%;
|
||||||
|
}
|
Loading…
Reference in a new issue