Work work work
This commit is contained in:
parent
74b5057637
commit
3c9fd723a0
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
/html/
|
/html/
|
||||||
.hugo_build.lock
|
/resources/
|
||||||
|
.hugo_build.lock
|
||||||
|
@ -3,4 +3,6 @@ languageCode = 'de-de'
|
|||||||
title = 'Title'
|
title = 'Title'
|
||||||
theme = 'default'
|
theme = 'default'
|
||||||
publishDir = 'html'
|
publishDir = 'html'
|
||||||
cleanDestinationDir = true
|
cleanDestinationDir = true
|
||||||
|
markup.goldmark.renderer.unsafe = false
|
||||||
|
disableHugoGeneratorInject = true
|
4
themes/default/assets/sass/style.scss
Normal file
4
themes/default/assets/sass/style.scss
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
@ -1,17 +1,17 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>{{ .Site.Title }}</title>
|
{{ partial "head.html" . }}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
|
{{ partial "header.html" . }}
|
||||||
</header>
|
</header>
|
||||||
<main>
|
<main>
|
||||||
{{ block "main" . }}{{ end }}
|
{{ block "main" . }}{{ end }}
|
||||||
</main>
|
</main>
|
||||||
<footer>
|
<footer>
|
||||||
|
{{ partial "footer.html" . }}
|
||||||
</footer>
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
0
themes/default/layouts/partials/footer.html
Normal file
0
themes/default/layouts/partials/footer.html
Normal file
9
themes/default/layouts/partials/head.html
Normal file
9
themes/default/layouts/partials/head.html
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<title>{{ .Site.Title }}</title>
|
||||||
|
{{- with resources.Get "sass/style.scss" }}
|
||||||
|
{{- $opts := dict "transpiler" "libsass" "targetPath" "css/media.css" }}
|
||||||
|
{{- with . | toCSS $opts }}
|
||||||
|
<link rel="stylesheet" href="{{ .RelPermalink }}">
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
6
themes/default/layouts/partials/header.html
Normal file
6
themes/default/layouts/partials/header.html
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<nav>
|
||||||
|
<ul>
|
||||||
|
<li><a href="/">Start</a></li>
|
||||||
|
<li><a href="/single/">Single Page</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
Loading…
Reference in New Issue
Block a user