adapt website for hugo

This commit is contained in:
Vri 🌈 2022-11-24 11:00:36 +01:00
parent 3968d5d379
commit ecf49a5e11
Signed by: vrifox
GPG key ID: D40098E5B60B2197
22 changed files with 356 additions and 1184 deletions

View file

@ -0,0 +1,4 @@
<footer class="width-1200">
<a href="//vrifox.cc">Vri</a>
<a href="//code.cozy.town/cozytown/website/">Quellcode</a>
</footer>

View file

@ -0,0 +1,8 @@
{{ $options := (dict "targetPath" "style.css" "outputStyle" "compressed" "enableSourceMap" (not hugo.IsProduction) "includePaths" (slice "node_modules/myscss")) }}
{{ $css := resources.Get "css/main.scss" | resources.ToCSS $options }}
<title>{{ if not .Page.IsHome }}{{ with .Page.Title }}{{ . }} {{ end }}{{ end }}Cozy Town</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="{{ $css.Permalink | relURL }}" type="text/css" media="screen" />
<link rel="icon" type="image/png" href="favicon.png">

View file

@ -0,0 +1,3 @@
<nav class="width-1200">
<a href="#dienste">Dienste</a>
</nav>