From 14218bbce5cc1a57478355507f2e93c3191174bf Mon Sep 17 00:00:00 2001 From: depsterr Date: Thu, 27 Jan 2022 18:34:28 +0100 Subject: [PATCH] did all layout stuff, just need my posts now --- _config.yml | 7 +- _data/navs.yml | 15 ++++ _layouts/centered.html | 6 ++ _layouts/default.html | 2 +- _layouts/nav.html | 16 ++++ _layouts/post.html | 15 ++++ _posts/2022-01-26-test.lagda.md | 20 ----- about.md | 42 +++++++++++ assets/css/dark_theme.scss | 87 ++++++++++++++++++++++ assets/css/light_theme.scss | 87 ++++++++++++++++++++++ assets/css/main.scss | 128 +++++++++++++++++++++++++++++++- blog.html | 13 ++++ index.html | 15 ++-- 13 files changed, 421 insertions(+), 32 deletions(-) create mode 100644 _data/navs.yml create mode 100644 _layouts/centered.html create mode 100644 _layouts/nav.html create mode 100644 _layouts/post.html delete mode 100644 _posts/2022-01-26-test.lagda.md create mode 100644 about.md create mode 100644 assets/css/dark_theme.scss create mode 100644 assets/css/light_theme.scss create mode 100644 blog.html diff --git a/_config.yml b/_config.yml index 79a8627..0b69a60 100644 --- a/_config.yml +++ b/_config.yml @@ -1,4 +1,4 @@ -url: "https://depsterr.com" # the base hostname & protocol for your site, e.g. http://example.com +url: "https://depsterr.com" baseurl: "" # the subpath of your site, e.g. /blog title: "depsterr.com" # the name of your site, e.g. ACME Corp. @@ -13,3 +13,8 @@ exclude: katex: rendering_options: throw_error: true + +sass: + sass_dir: assets/css + +excerpt_separator: diff --git a/_data/navs.yml b/_data/navs.yml new file mode 100644 index 0000000..a3da499 --- /dev/null +++ b/_data/navs.yml @@ -0,0 +1,15 @@ +- name: "depsterr.com" + path: "/" + home: true + +- name: "about" + path: "/about.html" + home: false + +- name: "blog" + path: "/blog.html" + home: false + +- name: "feed" + path: "/feed.xml" + home: false diff --git a/_layouts/centered.html b/_layouts/centered.html new file mode 100644 index 0000000..5e4a5c6 --- /dev/null +++ b/_layouts/centered.html @@ -0,0 +1,6 @@ +--- +layout: nav +--- +
+ {{ content }} +
diff --git a/_layouts/default.html b/_layouts/default.html index a77047f..1de34e5 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -6,7 +6,7 @@ {{ page.title }} - {{ site.title }} - + {{ content }} diff --git a/_layouts/nav.html b/_layouts/nav.html new file mode 100644 index 0000000..089e141 --- /dev/null +++ b/_layouts/nav.html @@ -0,0 +1,16 @@ +--- +layout: default +--- +
+ +
+
+{{ content }} diff --git a/_layouts/post.html b/_layouts/post.html new file mode 100644 index 0000000..497b5ad --- /dev/null +++ b/_layouts/post.html @@ -0,0 +1,15 @@ +--- +layout: centered +--- +

{{ page.title }}

+
+ {{ content }} +
+