Work work work

This commit is contained in:
Stefan Ritter 2025-02-06 17:44:53 +01:00
parent 74b5057637
commit 3c9fd723a0
7 changed files with 27 additions and 5 deletions

3
.gitignore vendored
View File

@ -1,2 +1,3 @@
/html/
.hugo_build.lock
/resources/
.hugo_build.lock

View File

@ -3,4 +3,6 @@ languageCode = 'de-de'
title = 'Title'
theme = 'default'
publishDir = 'html'
cleanDestinationDir = true
cleanDestinationDir = true
markup.goldmark.renderer.unsafe = false
disableHugoGeneratorInject = true

View File

@ -0,0 +1,4 @@
* {
margin: 0;
padding: 0;
}

View File

@ -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>

View 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 }}

View File

@ -0,0 +1,6 @@
<nav>
<ul>
<li><a href="/">Start</a></li>
<li><a href="/single/">Single Page</a></li>
</ul>
</nav>