diff --git a/.github/workflows/jekyll-build.yml b/.github/workflows/jekyll-build.yml index 16dc18b..399a2ab 100644 --- a/.github/workflows/jekyll-build.yml +++ b/.github/workflows/jekyll-build.yml @@ -3,7 +3,7 @@ name: Build and deploy jekyll site on: push: branches: - - master + - dgjekyll # - source # It is highly recommended that you only run this action on push to a # specific branch, eg. master or source (if on *.github.io repo) diff --git a/_includes/link-previews.html b/_includes/link-previews.html index b9eb370..a4c168a 100644 --- a/_includes/link-previews.html +++ b/_includes/link-previews.html @@ -1,9 +1,19 @@ +

+ The long term archive from Drupal and other systems, May 2012 and previous. +

{% assign postsByYear = site.posts | group_by_exp:"post", "post.date | date: '%Y'" %} {% for year in postsByYear %} + {% assign yearnumber = year.name | plus: 0 %} + {% unless yearnumber > 2012 %}

{{ year.name }}

+ {% endunless %} {% endfor %}
diff --git a/_pages/blog.html b/_pages/blog.html index 0d5914c..cc27b52 100644 --- a/_pages/blog.html +++ b/_pages/blog.html @@ -4,23 +4,33 @@ title: Blog permalink: /blog/ --- -
+

+ Blog posts from May 2012 to present day. Visit the Archive to browse previous posts. +

-

Long form published articles formerly known as a blog. The Archive has all the posts by year.

- {% assign blogcount = 0 %} - {% assign bloglimit = 10 %} - {% assign recentblogs = site.posts | sort: 'date' | reverse %} -
- {% for blog in recentblogs %} - {% if blog.section == 'blog' and blogcount < bloglimit %} -
- {{ blog.title }}  -
- {% assign blogcount = blogcount | plus: 1 %} - {% elsif blogcount >= bloglimit %} - {% break %} - {% endif %} - {% endfor %} -
-
+ +
+ {% assign postsByYear = + site.posts | group_by_exp:"post", "post.date | date: '%Y'" %} + + {% for year in postsByYear %} +

{{ year.name }}

+ + {% if year.name == '2012' %} + {% break %} + {% endif %} + {% endfor %} + +
+
+
diff --git a/_pages/index.md b/_pages/index.md index 2eea6e0..f934015 100644 --- a/_pages/index.md +++ b/_pages/index.md @@ -13,19 +13,15 @@ permalink: / The Blog and long term Archive are the same as they have been. -Take a look at Notes for the graph based notes explorer. - -The Journals are the most raw, including that they are not currently being parsed for wikilinks or backlinks. - ## Recent blog posts {% assign blogcount = 0 %} - {% assign bloglimit = 10 %} + {% assign bloglimit = 5 %} {% assign recentblogs = site.posts | sort: 'date' | reverse %} +

Personal microblog

+ + Most recent post from my more [personal blog »](https://blog.bmannconsulting.com) + + + +
+ + diff --git a/_plugins/bidirectional_links_generator.rb b/_plugins/bidirectional_links_generator.rb index c8c8a64..e32fa62 100644 --- a/_plugins/bidirectional_links_generator.rb +++ b/_plugins/bidirectional_links_generator.rb @@ -6,7 +6,7 @@ class BidirectionalLinksGenerator < Jekyll::Generator all_notes = site.collections['notes'].docs # all_journals = site.collections['journals'].docs - # all_posts = site.posts.docs + # all_posts = site.posts # all_pages = site.pages # I don't care about linking in site pages # TODO merge in posts, too diff --git a/_posts/blog/2023-07-29-bmc-notes-site-revamp.md b/_posts/blog/2023-07-29-bmc-notes-site-revamp.md new file mode 100644 index 0000000..692d4aa --- /dev/null +++ b/_posts/blog/2023-07-29-bmc-notes-site-revamp.md @@ -0,0 +1,18 @@ +--- +date: 2023-07-29T22:12:10.268-08:00 +title: Notes & Sites Revamp +categories: + - BMC +tags: + - blogging + - LogSeq + - Digital Garden +--- + +This is very much a blogging about blogging (and [[Digital Garden]]) post. I've written many words in many places since the last post. Many of those words have been into [[LogSeq]], which I flipped the switch on at the beginning of this year. + +I wanted to have one grand intertwingled set of both Digital Garden style Note and Journal pages, as well as all of my archive of posts. + +But LogSeq is not well suited to blog-style articles. And, the way that it publishes, [it packs everything into a single index.html file](https://bmannconsulting.com/#/page/Jan%207th%2C%202023), which for my 20 year archive of blog posts was gigantic. It got up to 40MB! So someone visiting the site would have to download 40MB ... and then be able to start interacting with the site. + +So, \ No newline at end of file diff --git a/_sass/_style.scss b/_sass/_style.scss index b439cec..5f99dce 100644 --- a/_sass/_style.scss +++ b/_sass/_style.scss @@ -24,11 +24,23 @@ body { } time { - display: block; color: $color-subtext; margin: 0.5em 0 1em; } +div.date { + margin-top: 1em; +} + +cite { + margin: 0 0 0 0.5em; + padding: 0 0 0 0; +} + +cite::before { + content: "\2014 " +} + footer { margin: 2em 0; font-size: 0.8em; @@ -46,8 +58,7 @@ img { blockquote { padding: 1.5em; - margin: 0; - font-size: 0.88em; + margin: 0.5em 0 0 0; background: $color-box-background; border-radius: $border-radius;