Skip to content

Commit

Permalink
update layouts, add micro support, post intro
Browse files Browse the repository at this point in the history
  • Loading branch information
sloanelybutsurely committed Jan 30, 2025
1 parent ffd6ff4 commit 8d181a8
Show file tree
Hide file tree
Showing 7 changed files with 61 additions and 12 deletions.
15 changes: 15 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 16 additions & 0 deletions _layouts/blog.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
layout: post
---

<header>
{% if page.title %}
<h1 class="p-name">{{ page.title | smartify }}</h1>
{% endif %}
{% if page.summary %}
<p class="p-summary">{{ page.summary }}</p>
{% endif %}
</header>

<div class="e-content">
{{ content }}
</div>
1 change: 1 addition & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
</title>
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
<link rel="feed" type="text/html" href="/posts/">
<link rel="feed" type="text/html" href="/micro/">
{% webmentions_head %}
</head>
<body>
Expand Down
8 changes: 8 additions & 0 deletions _layouts/micro.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
layout: post
---

<div class="e-content">
{{ content }}
<data class="p-bridgy-omit-link" value="maybe" />
</div>
13 changes: 1 addition & 12 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,7 @@
---

<article class="h-entry">
<header>
{% if page.title %}
<h1 class="p-name">{{ page.title | smartify }}</h1>
{% endif %}
{% if page.summary %}
<p class="p-summary">{{ page.summary }}</p>
{% endif %}
</header>

<div class="e-content">
{{ content }}
</div>
{{ content }}

<hr />

Expand Down
15 changes: 15 additions & 0 deletions micro.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
layout: default
title: micro
permalink: /micro/
---

<div class="h-feed">
{% for post in site.categories.micro %}
<article class="h-entry">
<p class="e-content">{{ post.content }}</p>
<a class="u-url" href="{{ post.url }}">{{ post.date | date: "%B %e, %Y %r" }}</a>
</article>
<hr />
{% endfor %}
</div>
5 changes: 5 additions & 0 deletions micro/_posts/2025-01-30-.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
date: 2025-01-30 17:43 -0500
---

Just an <span class="p-category">introduction</span>: I'm <a class="u-category h-card" href="https://sloanelybutsurely.com">Sloane.</a> I'm a <span class="p-category">software</span> engineer and I current work for the <a class="u-category h-card" href="https://mbta.com">MBTA</a>. I'm also building a collaboration tool for <a class="u-category h-card" href="https://obsidian.md">Obsidian</a> and the web called <a class="u-category h-card" href="https://screen.garden">screen.garden</a> with my friend, <a class="u-category h-card" href="https://bsky.app/profile/kevinbarrett.org">Kevin</a>. I'm into <span class="p-category">photography<span>, <span class="p-category">cooking</span>, and listening to and performing <span class="p-category">music</span>. I'm also <span class="p-category">trans</span> if that matters to you.

0 comments on commit 8d181a8

Please sign in to comment.