From a0bf12b00828cc162fde2e6521cbbb106410cb9b Mon Sep 17 00:00:00 2001 From: Daniel Alejandro Gallegos Date: Sat, 23 Jul 2022 13:20:48 -0400 Subject: [PATCH] update css --- .gitignore | 13 +++++++++++++ themes/birdspace/archetypes/default.md | 1 + themes/birdspace/assets/css/main.scss | 4 ++++ themes/birdspace/layouts/partials/head.html | 3 ++- 4 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100644 themes/birdspace/assets/css/main.scss diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..86c95ef --- /dev/null +++ b/.gitignore @@ -0,0 +1,13 @@ +# Generated files by hugo +/public/ +/resources/_gen/ +/assets/jsconfig.json +hugo_stats.json + +# Executable may be added to repository +hugo.exe +hugo.darwin +hugo.linux + +# Temporary lock file while building +/.hugo_build.lock diff --git a/themes/birdspace/archetypes/default.md b/themes/birdspace/archetypes/default.md index ac36e06..539701d 100644 --- a/themes/birdspace/archetypes/default.md +++ b/themes/birdspace/archetypes/default.md @@ -1,2 +1,3 @@ +++ +T +++ diff --git a/themes/birdspace/assets/css/main.scss b/themes/birdspace/assets/css/main.scss new file mode 100644 index 0000000..acc7564 --- /dev/null +++ b/themes/birdspace/assets/css/main.scss @@ -0,0 +1,4 @@ +body { + background: #151515; + color: #eeeeee; +} diff --git a/themes/birdspace/layouts/partials/head.html b/themes/birdspace/layouts/partials/head.html index 7badc17..b6e32be 100644 --- a/themes/birdspace/layouts/partials/head.html +++ b/themes/birdspace/layouts/partials/head.html @@ -1,7 +1,8 @@ - + {{ $style := resources.Get "/css/main.scss" | toCSS }} + {{ $title := print .Site.Title " | " .Title }} {{ if .IsHome }}{{ $title = .Site.Title }}{{ end }} {{ $title }}