From a57714a6dae17f5386a5dd3dd7ddaf4555e922fc Mon Sep 17 00:00:00 2001 From: Luca Date: Mon, 27 Jun 2022 17:27:51 +0200 Subject: [PATCH] Initial commit --- .gitignore | 3 +++ archetypes/default.md | 6 ++++++ assets/style.scss | 4 ++++ config.toml | 5 +++++ content/_index.md | 5 +++++ layouts/_default/baseof.html | 32 ++++++++++++++++++++++++++++++++ layouts/_default/section.html | 6 ++++++ layouts/_default/single.html | 4 ++++ layouts/index.html | 5 +++++ 9 files changed, 70 insertions(+) create mode 100644 .gitignore create mode 100644 archetypes/default.md create mode 100644 assets/style.scss create mode 100644 config.toml create mode 100644 content/_index.md create mode 100644 layouts/_default/baseof.html create mode 100644 layouts/_default/section.html create mode 100644 layouts/_default/single.html create mode 100644 layouts/index.html diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2fb78d7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.hugo_build.lock +public/ +resources/_gen/ diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..00e77bd --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/assets/style.scss b/assets/style.scss new file mode 100644 index 0000000..65de2c8 --- /dev/null +++ b/assets/style.scss @@ -0,0 +1,4 @@ +html { + background: #ff00ff; + min-height: 100vh; +} diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..914daef --- /dev/null +++ b/config.toml @@ -0,0 +1,5 @@ +baseURL = 'https://iger.events/' +languageCode = 'de-de' +title = 'Intergalaktische Erfahrungsreise' + +[taxonomies] diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..70b6b97 --- /dev/null +++ b/content/_index.md @@ -0,0 +1,5 @@ +--- +title: Intergalaktische Erfahrungsreise +--- + +This page intentionally left blank. diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..4fda27f --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,32 @@ +{{ $currentPage := . }} + + + + + + {{ block "title" . }}{{ .Title }} – {{ .Site.Title }}{{ end }} + + {{ $style := resources.Get "style.scss" | resources.ToCSS (dict "outputStyle" "compressed") }} + + + +
+ +
+
+ {{ block "main" . }} + {{ end }} +
+ + + diff --git a/layouts/_default/section.html b/layouts/_default/section.html new file mode 100644 index 0000000..cac2947 --- /dev/null +++ b/layouts/_default/section.html @@ -0,0 +1,6 @@ +{{ define "main" }} +

{{ .Title }}

+{{ .Content }} + + +{{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..17b274b --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,4 @@ +{{ define "main" }} +

{{ .Title }}

+{{ .Content }} +{{ end }} diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..74bfd37 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,5 @@ +{{ define "title" }}{{ .Title }}{{ end }} + +{{ define "main" }} +{{ .Content }} +{{ end }}