From 8d181a89bae3d4dbe1c7ffaa327abc5bd4a7f01e Mon Sep 17 00:00:00 2001 From: sloane Date: Thu, 30 Jan 2025 18:13:37 -0500 Subject: [PATCH] update layouts, add micro support, post intro --- _config.yml | 15 +++++++++++++++ _layouts/blog.html | 16 ++++++++++++++++ _layouts/default.html | 1 + _layouts/micro.html | 8 ++++++++ _layouts/post.html | 13 +------------ micro.md | 15 +++++++++++++++ micro/_posts/2025-01-30-.md | 5 +++++ 7 files changed, 61 insertions(+), 12 deletions(-) create mode 100644 _layouts/blog.html create mode 100644 _layouts/micro.html create mode 100644 micro.md create mode 100644 micro/_posts/2025-01-30-.md diff --git a/_config.yml b/_config.yml index aa9b28f..7778f85 100644 --- a/_config.yml +++ b/_config.yml @@ -6,6 +6,21 @@ plugins: - jekyll-compose - jekyll-webmention_io +defaults: + - scope: + path: "" + type: posts + values: + layout: blog + - scope: + path: "" + type: posts + category: micro + values: + layout: micro + title: post + permalink: /micro/:year:month:dayT:hour:minute:second/ + webmentions: username: sloanelybutsurely.com cache_folder: _data diff --git a/_layouts/blog.html b/_layouts/blog.html new file mode 100644 index 0000000..ce12c0d --- /dev/null +++ b/_layouts/blog.html @@ -0,0 +1,16 @@ +--- +layout: post +--- + +
+ {% if page.title %} +

{{ page.title | smartify }}

+ {% endif %} + {% if page.summary %} +

{{ page.summary }}

+ {% endif %} +
+ +
+ {{ content }} +
diff --git a/_layouts/default.html b/_layouts/default.html index d3cae34..56d60a7 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -12,6 +12,7 @@ + {% webmentions_head %} diff --git a/_layouts/micro.html b/_layouts/micro.html new file mode 100644 index 0000000..84afa64 --- /dev/null +++ b/_layouts/micro.html @@ -0,0 +1,8 @@ +--- +layout: post +--- + +
+ {{ content }} + +
diff --git a/_layouts/post.html b/_layouts/post.html index 61328b5..87d7ae9 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -3,18 +3,7 @@ ---
-
- {% if page.title %} -

{{ page.title | smartify }}

- {% endif %} - {% if page.summary %} -

{{ page.summary }}

- {% endif %} -
- -
- {{ content }} -
+ {{ content }}
diff --git a/micro.md b/micro.md new file mode 100644 index 0000000..d179150 --- /dev/null +++ b/micro.md @@ -0,0 +1,15 @@ +--- +layout: default +title: micro +permalink: /micro/ +--- + +
+ {% for post in site.categories.micro %} + +
+ {% endfor %} +
diff --git a/micro/_posts/2025-01-30-.md b/micro/_posts/2025-01-30-.md new file mode 100644 index 0000000..d6b7582 --- /dev/null +++ b/micro/_posts/2025-01-30-.md @@ -0,0 +1,5 @@ +--- +date: 2025-01-30 17:43 -0500 +--- + +Just an introduction: I'm Sloane. I'm a software engineer and I current work for the MBTA. I'm also building a collaboration tool for Obsidian and the web called screen.garden with my friend, Kevin. I'm into photography, cooking, and listening to and performing music. I'm also trans if that matters to you.