The bmannconsulting.com website

Seeds

Changed files
+37 -18
_layouts
_notes
_pages
+1 -4
Gemfile
···
# https://andycroll.com/ruby/read-ruby-version-in-your-gemfile/
ruby File.read(".ruby-version").strip
-
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
-
gem "jekyll", "~> 4.1"
-
gem "liquid-c"
-
gem "jekyll-last-modified-at", git: "https://github.com/maximevaillancourt/jekyll-last-modified-at", branch: "add-support-for-files-in-git-submodules"
gem "nokogiri"
# gem "jekyll-commonmark-ghpages"
···
# https://andycroll.com/ruby/read-ruby-version-in-your-gemfile/
ruby File.read(".ruby-version").strip
gem "jekyll", "~> 4.1"
+
gem "jekyll-last-modified-at"
gem "nokogiri"
# gem "jekyll-commonmark-ghpages"
+4 -13
Gemfile.lock
···
-
GIT
-
remote: https://github.com/maximevaillancourt/jekyll-last-modified-at
-
revision: e0c918691db625401ef5850a030da59d0124d356
-
branch: add-support-for-files-in-git-submodules
-
specs:
-
jekyll-last-modified-at (1.3.0)
-
jekyll (>= 3.7, < 5.0)
-
posix-spawn (~> 0.3.9)
-
GEM
remote: https://rubygems.org/
specs:
···
safe_yaml (~> 1.0)
terminal-table (>= 1.8, < 4.0)
webrick (~> 1.7)
jekyll-sass-converter (3.0.0)
sass-embedded (~> 1.54)
jekyll-watch (2.2.1)
···
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.4)
-
liquid-c (4.0.1)
-
liquid (>= 3.0.0)
listen (3.8.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
···
DEPENDENCIES
jekyll (~> 4.1)
-
jekyll-last-modified-at!
-
liquid-c
nokogiri
RUBY VERSION
···
GEM
remote: https://rubygems.org/
specs:
···
safe_yaml (~> 1.0)
terminal-table (>= 1.8, < 4.0)
webrick (~> 1.7)
+
jekyll-last-modified-at (1.3.0)
+
jekyll (>= 3.7, < 5.0)
+
posix-spawn (~> 0.3.9)
jekyll-sass-converter (3.0.0)
sass-embedded (~> 1.54)
jekyll-watch (2.2.1)
···
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.4)
listen (3.8.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
···
DEPENDENCIES
jekyll (~> 4.1)
+
jekyll-last-modified-at
nokogiri
RUBY VERSION
+5
_layouts/note.html
···
<div style="font-size: 0.9em">{{ backlink.excerpt | strip_html | truncatewords: 20 }}</div>
</div>
{% endfor %}
</div>
{% else %}
···
<div style="font-size: 0.9em">{{ backlink.excerpt | strip_html | truncatewords: 20 }}</div>
</div>
{% endfor %}
+
{% if page.seed %}
+
<div class="backlink-box" style="background-color: #fff;">
+
Original article <a href="{{ page.link }}">{{ page.title }}</a>, by {{ page.author }}. <a href="{{ page.noteslink }}" class="noteslink" target="_notes">{{ page.title }}</a>
+
</div>
+
{% endif %}
</div>
{% else %}
+9
_notes/Internet Transition.md
···
···
+
---
+
title: The Internet Transition
+
author: Robin Berjon
+
link: https://berjon.com/internet-transition/
+
noteslink: https://notes.bmannconsulting.com/#/page/The%20Internet%20Transition
+
seed: true;
+
---
+
+
> To sum things up, we’re trying to run a planetary society that needs to solarpunk the fuck out of itself in a hurry on the collective intelligence of an 18th century principality that’s heard of the Enlightenment from some guy at the pub.
+18 -1
_pages/index.md
···
<h2>Digital Garden</h2>
-
<p>As of July 2023, I moved my Digital Garden Notes to their own site. There's a <a class="internal-link" href="/notes/seeds/">Seeds page</a> with links into various themes and recommended articles, or you can browse the minimal <a class="internal-link" href="/notes/">Notes graph</a>.</p>
<h2>Personal microblog</h2>
···
<h2>Digital Garden</h2>
+
{% assign notehtml = '' %}
+
{% assign recentnotes = site.notes | sort: 'last_modified_at' | reverse %}
+
{% for note in recentnotes limit:3 %}
+
{% assign notehtml = notehtml | append: "<a class='internal-link' href='" | append: note.url | append: "'>" | append: note.title | append: "</a>" %}
+
{% unless forloop.last %}{% assign notehtml = notehtml | append: ", " %}{% endunless %}
+
{% endfor %}
+
+
<p>As of July 2023, I moved my Digital Garden Notes to their own site. There's a <a class="internal-link" href="/notes/seeds/">Seeds page</a> with links into various themes and recommended articles, or you can browse the minimal <a class="internal-link" href="/notes/">Notes graph</a>. These are the three most recently modified notes: {{ notehtml }}.</p>
+
+
<div style="margin-top: 0.5em">
+
{% assign seednotes = site.notes | where_exp: "note", "note.seed" %}
+
{% for seednote in seednotes %}
+
<div>
+
<div style="margin-bottom: 0.5em;">{{ seednote.content }}</div>
+
<cite><a href="{{ seednote.link }}">{{ seednote.title }} by {{ seednote.author }}</a></cite>
+
</div>
+
{% endfor %}
+
</div>
<h2>Personal microblog</h2>