Checkin
This commit is contained in:
@@ -1,13 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>{{ .Site.Title }}</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>{{ .Site.Title}}</h1>
|
||||
<h2>{{ .Title }}</h2>
|
||||
{{ .Content }}
|
||||
</body>
|
||||
</html>
|
||||
{{ define "main" }}
|
||||
<h2>{{ .Title }}</h2>
|
||||
{{ .Content }}
|
||||
{{ end }}
|
||||
|
||||
|
||||
@@ -1 +1,3 @@
|
||||
<p>Copyright {{ now.Year }}. All rights reserved.</p>
|
||||
<p>Impressum: Thomas Sindt * Auf dem Born 7 * 28832 Achim</p>
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title>
|
||||
{{ partialCached "head/css.html" . }}
|
||||
{{ partialCached "head/js.html" . }}
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ .Site.Title }}</title>
|
||||
<link rel="stylesheet" href="{{ "css/style.css" | relURL}}">
|
||||
|
||||
|
||||
@@ -1,2 +1,10 @@
|
||||
<h1>{{ site.Title }}</h1>
|
||||
{{ partial "menu.html" (dict "menuID" "main" "page" .) }}
|
||||
<header>
|
||||
<h1>{{ .Site.Title }}</h1>
|
||||
</header>
|
||||
|
||||
<nav>
|
||||
<a href="/">Home</a>
|
||||
<a href="/about">About</a>
|
||||
<a href="/contact">Contact</a>
|
||||
</nav>
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
{{ partial "head.html" . }}
|
||||
</head>
|
||||
<body>
|
||||
<div class = "container">
|
||||
<header>
|
||||
{{ partial "header.html" . }}
|
||||
</header>
|
||||
@@ -13,5 +14,6 @@
|
||||
<footer>
|
||||
{{ partial "footer.html" . }}
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,12 +1,4 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>{{ .Site.Title }}</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>{{ .Site.Title}}</h1>
|
||||
{{ .Content }}
|
||||
</body>
|
||||
</html>
|
||||
{{define "main"}}
|
||||
{{.Content}}
|
||||
{{end}}
|
||||
|
||||
|
||||
25
northsidestudio/themes/basic/static/css/style.css
Normal file
25
northsidestudio/themes/basic/static/css/style.css
Normal file
@@ -0,0 +1,25 @@
|
||||
.container {
|
||||
margin: 0, auto;
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
nav,footer {
|
||||
background-color: #333;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
nav {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
nav > a {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
color: #fff; }
|
||||
@media only screen and (min-width: 768px) {
|
||||
nav { flex-direction: row;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user