diff --git a/themes/birdspace/assets/css/base.sass b/themes/birdspace/assets/css/base.sass new file mode 100644 index 0000000..e69de29 diff --git a/themes/birdspace/assets/css/layout.sass b/themes/birdspace/assets/css/layout.sass new file mode 100644 index 0000000..e69de29 diff --git a/themes/birdspace/assets/css/main.sass b/themes/birdspace/assets/css/main.sass new file mode 100644 index 0000000..541476b --- /dev/null +++ b/themes/birdspace/assets/css/main.sass @@ -0,0 +1,5 @@ +@import "base" +@import "layout" +@import "module" +@import "state" +@import "theme" diff --git a/themes/birdspace/assets/css/main.scss b/themes/birdspace/assets/css/main.scss deleted file mode 100644 index acc7564..0000000 --- a/themes/birdspace/assets/css/main.scss +++ /dev/null @@ -1,4 +0,0 @@ -body { - background: #151515; - color: #eeeeee; -} diff --git a/themes/birdspace/assets/css/module.sass b/themes/birdspace/assets/css/module.sass new file mode 100644 index 0000000..e69de29 diff --git a/themes/birdspace/assets/css/state.sass b/themes/birdspace/assets/css/state.sass new file mode 100644 index 0000000..e69de29 diff --git a/themes/birdspace/assets/css/theme.sass b/themes/birdspace/assets/css/theme.sass new file mode 100644 index 0000000..3c62441 --- /dev/null +++ b/themes/birdspace/assets/css/theme.sass @@ -0,0 +1,3 @@ +body + background: #151515 + color: #eeeeee diff --git a/themes/birdspace/layouts/partials/head.html b/themes/birdspace/layouts/partials/head.html index b6e32be..647c9cc 100644 --- a/themes/birdspace/layouts/partials/head.html +++ b/themes/birdspace/layouts/partials/head.html @@ -1,9 +1,11 @@
- {{ $style := resources.Get "/css/main.scss" | toCSS }} + {{ template "_internal/opengraph.html" . }} + {{ template "_internal/twitter_cards.html" . }} + {{ $style := resources.Get "/css/main.sass" | toCSS }} - {{ $title := print .Site.Title " | " .Title }} + {{ $title := print .Title " | " .Site.Title }} {{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}