Work work work
This commit is contained in:
parent
74b5057637
commit
3c9fd723a0
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
/html/
|
||||
.hugo_build.lock
|
||||
/resources/
|
||||
.hugo_build.lock
|
||||
|
@ -3,4 +3,6 @@ languageCode = 'de-de'
|
||||
title = 'Title'
|
||||
theme = 'default'
|
||||
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>
|
||||
<html>
|
||||
<head>
|
||||
<title>{{ .Site.Title }}</title>
|
||||
{{ partial "head.html" . }}
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
|
||||
{{ partial "header.html" . }}
|
||||
</header>
|
||||
<main>
|
||||
{{ block "main" . }}{{ end }}
|
||||
</main>
|
||||
<footer>
|
||||
|
||||
{{ partial "footer.html" . }}
|
||||
</footer>
|
||||
</body>
|
||||
</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