From 730d3a8eba6875fa601dece7c0e62e07510b3d1b Mon Sep 17 00:00:00 2001 From: RayHammer Date: Sun, 23 Oct 2022 13:48:18 +0200 Subject: Made an aside block --- themes/stingray/layouts/_default/baseof.html | 13 ++++++------- themes/stingray/layouts/index.html | 8 -------- themes/stingray/layouts/partials/aside.html | 10 ++++++++++ themes/stingray/layouts/partials/footer.html | 8 +++++--- themes/stingray/layouts/partials/header.html | 10 ++++++---- themes/stingray/static/css/main.css | 2 +- 6 files changed, 28 insertions(+), 23 deletions(-) create mode 100644 themes/stingray/layouts/partials/aside.html diff --git a/themes/stingray/layouts/_default/baseof.html b/themes/stingray/layouts/_default/baseof.html index d4ded14..38cf6a3 100644 --- a/themes/stingray/layouts/_default/baseof.html +++ b/themes/stingray/layouts/_default/baseof.html @@ -3,15 +3,14 @@ {{- partial "head.html" . -}}
-
{{- partial "header.html" . -}} -
-
- {{- block "main" . }}{{- end }} -
-
+
+ {{- partial "aside.html" . -}} +
+ {{- block "main" . }}{{- end }} +
+
{{- partial "footer.html" . -}} -
diff --git a/themes/stingray/layouts/index.html b/themes/stingray/layouts/index.html index 919ef99..f752ee3 100644 --- a/themes/stingray/layouts/index.html +++ b/themes/stingray/layouts/index.html @@ -1,11 +1,3 @@ {{ define "main" }} -
- - - -

- RayHammer -

-
{{ .Content }} {{ end }} \ No newline at end of file diff --git a/themes/stingray/layouts/partials/aside.html b/themes/stingray/layouts/partials/aside.html new file mode 100644 index 0000000..418581c --- /dev/null +++ b/themes/stingray/layouts/partials/aside.html @@ -0,0 +1,10 @@ + \ No newline at end of file diff --git a/themes/stingray/layouts/partials/footer.html b/themes/stingray/layouts/partials/footer.html index 5768ad1..588f5b0 100644 --- a/themes/stingray/layouts/partials/footer.html +++ b/themes/stingray/layouts/partials/footer.html @@ -1,3 +1,5 @@ -

- (c) 2022 RayHammer -

\ No newline at end of file + \ No newline at end of file diff --git a/themes/stingray/layouts/partials/header.html b/themes/stingray/layouts/partials/header.html index 5759242..9b61ee6 100644 --- a/themes/stingray/layouts/partials/header.html +++ b/themes/stingray/layouts/partials/header.html @@ -1,4 +1,6 @@ -
-

{{ .Site.Title }}

- {{ .Site.Params.Description }} -
\ No newline at end of file +
+
+

{{ .Site.Title }}

+ {{ .Site.Params.Description }} +
+
diff --git a/themes/stingray/static/css/main.css b/themes/stingray/static/css/main.css index a32caa2..76f7ef0 100644 --- a/themes/stingray/static/css/main.css +++ b/themes/stingray/static/css/main.css @@ -1,5 +1,5 @@ .jumbotron { - max-width: 900px; + max-width: 1200px; margin: auto; } -- cgit v1.2.3