Skip to content

Commit

Permalink
design tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
bmann committed Jan 5, 2024
1 parent d39d141 commit 7b3d9bd
Show file tree
Hide file tree
Showing 32 changed files with 120 additions and 295 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@ defaults:
- scope:
path: "_journals/*"
values:
layout: "note"
layout: "journal"
section: journal

1 change: 1 addition & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=">
<link rel="stylesheet" href="{{ '/styles.css' | relative_url }}">
<link rel="alternate" type="application/atom+xml" title="Blog Feed for bmannconsulting.com" href="{{ site.url }}/blog.xml" />
<link rel="alternate" type="application/atom+xml" title="Journal Feed for bmannconsulting.com" href="{{ site.url }}/journal.xml" />

{% comment %}<!-- Littlefoot footnotes https://github.com/goblindegook/littlefoot -->{% endcomment %}
<link rel="stylesheet" href="https://unpkg.com/littlefoot/dist/littlefoot.css" />
Expand Down
3 changes: 2 additions & 1 deletion _journals/2024-01-02_1434.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
date: 2024-01-02T14:34:53
section: journal
title: "202401031434"
tags:
tags:
link: https://merki.ca/blog/what-is-a-wildcard-person
---
I point people at Robert Merki’s [[Wildcard]] definition often enough I should have an entry here.
3 changes: 3 additions & 0 deletions _journals/2024-01-02_1435.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
date: 2024-01-02T14:35:45
section: journal
title: "202401021435"
link: https://libra.re
tags:
- ebook
---
I seem to keep having trouble finding [[Boris Anthony]]’s [[libra.re]] web eBook project. Now I have it.
2 changes: 1 addition & 1 deletion _journals/2024-01-03_2240.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ One more journal post! [[Micro.blog]] lets you add multiple feeds, and you can s

This means I have connected the [[Journal]] feed up to my [@boris@toolsforthought.social](https://toolsforthought.social/@boris) account.

![Screenshot of Feed + Crossposting in Micro.blog](/assets/IMG_4455.jpeg)
![Screenshot of Feed + Crossposting in Micro.blog](https://bmannconsulting.com/assets/IMG_4455.jpeg)
1 change: 1 addition & 0 deletions _journals/2024-01-04_1257.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- RSS
- Mastodon
via: https://nicolas-hoizey.com/links/2024/01/04/rss-parrot-turn-mastodon-into-your-feed-reader/
link: https://rss-parrot.net/
---
Trimming NetNewsWire RSS subscriptions and ironically found [RSS Parrot](https://rss-parrot.net/) - “Turn Mastodon into your feed reader”.

Expand Down
1 change: 1 addition & 0 deletions _journals/2024-01-04_1327.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ section: journal
aliases:
tags:
- product
link: https://longform.asmartbear.com/slc/
---
Building SLCs - Simple, Lovable, Complete - features, rather than MVPs. Pronounced “Slick”.

Expand Down
27 changes: 27 additions & 0 deletions _journals/2024-01-04_2301.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
title: January 4th, 2024
date: 2024-01-04, 23:01:46 -08:00
section: journal
aliases:
tags:
- colophon
- IPFS
---
Added the journal feed in the link header of all pages so it can be auto-discovered.

Pleasantly surprised to be digging into the [[IPFS]] `_redirects` [spec](https://specs.ipfs.tech/ipips/ipip-0002/). I guess I can just point to my old archive! `/archive/* https://2023.bmannconsulting.com/archive/* 301`

Made a [[BMC]] page where some TO DO stuff will live.

How many times have I ended up using this [Jekyll JSON Feed Template](https://github.com/georgemandis/jekyll-json-feeds)? Many times! The special treatment for link front matter has me thinking.

Decided to not mess with feed format right now. It's working, let's use it for a bit, and see how various things look once they cross-post through Micro.blog to Mastodon. Where it's actually putting content on my under-used [@boris@toolsforthought.social](https://toolsforthought.social/@boris) account.

Added a Journal layout template.
* Removed LogSeq note site links
* Added tag display from blog posts layout, which links to `/notes/tag` (but can't tell if it exists or not, so might 404)
* Added [[via]] link to the sidebar
* Used Link as the title if it exists

And I guess this will be a test of what large journal cross-posts do!

46 changes: 46 additions & 0 deletions _layouts/journal.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
layout: default
---

<article>
<div>
{% if page.link %}
<h1> Link: <a href="{{ page.link }}">{{ page.link }}</a></h1>
{% else %}
<h1 style="text-transform:capitalize;">{{ page.title }}</h1>
{% endif %}
<time datetime="page.date | date_to_xmlschema">
Posted {{ page.date | date: "%B %-d, %Y" }}
</time>
</div>

<div id="notes-entry-container">
<content>
{{ content }}
</content>

<side style="font-size: 0.9em">



<div style="display: grid; grid-gap: 1em; grid-template-columns: repeat(1fr);">
<div class="meta backlink-box">
<p>Tags: {% for tag in page.tags %}<a href="{{ site.url }}/notes/{{ tag | downcase }}">{{ tag }}</a>{% unless forloop.last %}, {% endunless %}{% endfor %}</p>
</div>

{% if page.via %}
<div class="meta backlink-box">
Via: <a href="{{ page.via }}">{{ page.via | remove: 'https://' | remove: 'http://' }}</a>
</div>
{% endif %}

<div class="backlink-box" style="background-color: #fff;">
Browse the <a href="{{ site.baseurl }}/notes/" class="internal-link">Local Notes Graph »</a>
</div>
</div>


</side>

</div>
</article>
18 changes: 18 additions & 0 deletions _notes/BMC.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
---
BMC is short for B. Mann Consulting aka this root domain and related subdomains that are my websites. It's also my short hand for things related to tinkering with this site.

Yes, I registered it in late 2000 and could have picked a way more interesting web address. I'll pick a better one next time.

## To Do

- [ ] Journal feed modification to truncate and include link back to journal post. Will Microblog respect 500 characters?
- Maybe not? I think things are coming through OK
- I should consider linking back to the actual journal entry. Hmm, or maybe appending a hashtag like `BMCJournal` for context
- [ ] Update front page to have recent journal entries.
- [ ] Display “via” frontmatter [[via]]
- [ ] Turn off linking out to notes
- [ ] Tags? Something like “if tag same as Note, then link” or “on Note, list all pages with same tag”. Even with a “blank” [[Wiki]] page, you get all the notes tagged with wiki displaying.
- [ ] Test run of re-importing LogSeq
- [ ] Make a [[Colophon]] feed by looking at Journal entries tagged with `colophon`
- [ ] Add a style for `<li>` that have Obsidian `task-list-marker` class
11 changes: 4 additions & 7 deletions _notes/Colophon.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
---
tags:
- BMC
---

## January 2024
Expand All @@ -7,18 +9,13 @@ Removed blog posts going back to 2012 and pre-2012 archive. They are available v

Published via [[Fission]] Github Action, and then grabbed the [[IPFS]] hash `bafybeidfdwz5tak24oukds2hrf3xahl5rp5by4a6idwv2ucsmo6uaafgoa` and used [[Cloudflare]] IPFS Gateway to keep it around.

Using [[Obsidan]] to edit on desktop and mobile, including Daily Journals.
Using [[Obsidian]] to edit on desktop and mobile, including Daily Journals.

Added in a [[Journal]] section and a journal post type.

Made a journal feed linked at [[feeds]]. The journal feed uses Micro.blog to cross post to Mastodon.

- [ ] Journal feed modification to truncate and include link back to journal post. Will Microblog respect 500 characters?
- [ ] Update front page to have recent journal entries.
- [ ] Display “via” frontmatter [[via]]
- [ ] Turn off linking out to notes
- [ ] Tags? Something like “if tag same as Note, then link” or “on Note, list all pages with same tag”. Even with a “blank” [[Wiki]] page, you get all the notes tagged with wiki displaying.
- [ ] Test run of re-importing LogSeq
To Do: [[BMC]]

## July 2023

Expand Down
3 changes: 3 additions & 0 deletions _notes/RSS to ActivityPub Converter.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
---

Github: <https://github.com/dariusk/rss-to-activitypub>

> This is a server that lets users convert any RSS feed to an ActivityPub actor that can be followed by users on ActivityPub-compliant social networks like Mastodon.
Expand Down
1 change: 1 addition & 0 deletions _notes/Wildcard.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
link: https://merki.ca/blog/what-is-a-wildcard-person
---

Robert Merki does a great job of defining a Wildcard person:
Expand Down
1 change: 1 addition & 0 deletions _notes/libra.re.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
tags:
- ebook
link: https://libra.re
---
<https://libra.re>

Expand Down
4 changes: 3 additions & 1 deletion _notes/via.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ tags:
---
Often when sharing a link to something, you also want to credit where you saw it / how you found out about it.

The via property takes a link, so you can include a link to a blog post, a social media post, or a link to representing a person’s home page.
The via property takes a link, so you can include a link to a blog post, a social media post, or a link to representing a person’s home page.

This is now live on individual Journal pages, in a sidebar box on the right.
7 changes: 4 additions & 3 deletions _pages/feeds.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ title: Feeds
permalink: /feeds/
---

* Journals are most active, with micro-blog sized updates referencing Note updates or interesting asides <a href="{{ '/journal.xml' | relative_link }}">bmannconsulting.com/journal.xml</a>
* Occasional long form blog posts <a href="{{ '/blog.xml' | relative_link }}">bmannconsulting.com/blog.xml</a>
* <a href="{{ '/journal/' | relative_link }}" class="internal-link">Journals</a> are most active, with micro-blog sized updates referencing Note updates or interesting asides <a href="{{ '/journal.xml' | relative_link }}" class="internal-link">bmannconsulting.com/journal.xml</a>
* Cross-posted to <a href="https://toolsforthought.social/@boris" title="🐘 Mastodon account">@[email protected]</a>
* Occasional long form <a href="{{ '/blog/' | relative_link }}" class="internal-link">blog</a> posts <a href="{{ '/blog.xml' | relative_link }}" class="internal-link">bmannconsulting.com/blog.xml</a>
* Personal blog, short updates <https://blog.bmannconsulting.com/feed.xml>
* Mastodon accounts can be subscribed to as an RSS feed <https://cosocial.ca/@boris.rss> (mirrors personal blog content)
* Cross-posted to <a href="https://cosocial.ca/@boris" title="🐘 Mastodon account">@[email protected]</a> and <a href="https://bsky.bmann.ca" title="🦋 Bluesky account">@bmann.ca</a>
2 changes: 1 addition & 1 deletion _plugins/bidirectional_links_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def generate(site)
graph_edges = []

all_notes = site.collections['notes'].docs
all_posts = site.posts.docs # unclear right syntax here
all_posts = site.posts.docs
all_pages = site.pages
all_journals = site.collections['journals'].docs

Expand Down
3 changes: 2 additions & 1 deletion _redirects
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/* /404.html 404
/* /404.html 404
/archive/* https://2023.bmannconsulting.com/archive/* 301
Binary file removed assets/img/apple-touch-icon-114x114-precomposed.png
Binary file not shown.
Binary file removed assets/img/apple-touch-icon-120x120-precomposed.png
Binary file not shown.
Binary file removed assets/img/apple-touch-icon-144x144-precomposed.png
Binary file not shown.
Binary file removed assets/img/apple-touch-icon-152x152-precomposed.png
Binary file not shown.
Binary file removed assets/img/apple-touch-icon-180x180-precomposed.png
Binary file not shown.
Binary file removed assets/img/apple-touch-icon-72x72-precomposed.png
Binary file not shown.
Binary file removed assets/img/apple-touch-icon-76x76-precomposed.png
Binary file not shown.
Binary file removed assets/img/apple-touch-icon-precomposed.png
Binary file not shown.
Binary file removed assets/img/favicon-32x32.png
Binary file not shown.
Binary file removed assets/img/favicon.png
Binary file not shown.
Binary file removed assets/img/icon-simplicity-512x512.png
Binary file not shown.
Loading

0 comments on commit 7b3d9bd

Please sign in to comment.