diff --git a/Gemfile b/Gemfile --- a/Gemfile +++ b/Gemfile @@ -8,5 +8,7 @@ gem "jekyll", "~> 4.1" gem "jekyll-last-modified-at" +gem "jekyll-paginate-v2" + gem "nokogiri" # gem "jekyll-commonmark-ghpages" diff --git a/Gemfile.lock b/Gemfile.lock --- a/Gemfile.lock +++ b/Gemfile.lock @@ -34,6 +34,8 @@ webrick (~> 1.7) jekyll-last-modified-at (1.3.0) jekyll (>= 3.7, < 5.0) posix-spawn (~> 0.3.9) + jekyll-paginate-v2 (3.0.0) + jekyll (>= 3.0, < 5.0) jekyll-sass-converter (3.0.0) sass-embedded (~> 1.54) jekyll-watch (2.2.1) @@ -77,6 +79,7 @@ DEPENDENCIES jekyll (~> 4.1) jekyll-last-modified-at + jekyll-paginate-v2 nokogiri RUBY VERSION diff --git a/_config.yml b/_config.yml --- a/_config.yml +++ b/_config.yml @@ -87,3 +87,62 @@ values: layout: "journal" section: journal +############################################################ +# Site configuration for the Jekyll 3 Pagination Gem +# The values here represent the defaults if nothing is set +pagination: + + # Site-wide kill switch, disabled here it doesn't run at all + enabled: true + + # Set to 'true' to enable pagination debugging. This can be enabled in the site config or only for individual pagination pages + debug: true + + # The default document collection to paginate if nothing is specified ('posts' is default) + collection: 'journals' + + # How many objects per paginated page, used to be `paginate` (default: 0, means all) + per_page: 20 + + # The permalink structure for the paginated pages (this can be any level deep) + permalink: '/journal/:num/' # Pages are index.html inside this folder (default) + #permalink: '/page/:num.html' # Pages are simple html files + #permalink: '/page/:num' # Pages are html files, linked jekyll extensionless permalink style. + + # Optional the title format for the paginated pages (supports :title for original page title, :num for pagination page number, :max for total number of pages) + title: ':title - page :num' + + # Limit how many pagenated pages to create (default: 0, means all) + limit: 0 + + # Optional, defines the field that the posts should be sorted on (omit to default to 'date') + sort_field: 'date' + + # Optional, sorts the posts in reverse order (omit to default decending or sort_reverse: true) + sort_reverse: true + + # Optional, the default category to use, omit or just leave this as 'posts' to get a backwards-compatible behavior (all posts) + # category: 'posts' + + # Optional, the default tag to use, omit to disable + # tag: '' + + # Optional, the default locale to use, omit to disable (depends on a field 'locale' to be specified in the posts, + # in reality this can be any value, suggested are the Microsoft locale-codes (e.g. en_US, en_GB) or simply the ISO-639 language code ) + locale: '' + + # Optional,omit or set both before and after to zero to disable. + # Controls how the pagination trail for the paginated pages look like. + trail: + before: 2 + after: 2 + + # Optional, the default file extension for generated pages (e.g html, json, xml). + # Internally this is set to html by default + extension: html + + # Optional, the default name of the index file for generated pages (e.g. 'index.html') + # Without file extension + indexpage: 'index' + +############################################################ \ No newline at end of file diff --git a/_notes/Threadstorm Builder.md b/_notes/Threadstorm Builder.md --- a/_notes/Threadstorm Builder.md +++ b/_notes/Threadstorm Builder.md @@ -1,3 +1,6 @@ +--- +--- + I wrote up the design for this many years ago now, when I called it a [Tweetstorm Builder and Blog](https://talk.fission.codes/t/tweetstorm-builder-and-blog/433). I'm copying that write up here. In our post Twitter era, both [[ActivityPub]] and [[ATProtocol]] would be good choices. [[Micropub]] really isn't widely used and I think tying it more social platforms makes more sense. diff --git a/_pages/index.md b/_pages/index.md --- a/_pages/index.md +++ b/_pages/index.md @@ -13,8 +13,6 @@ a.journal-link { all: unset; cursor: pointer; - text-decoration: underline; - } a.journal-link::after { all: unset; @@ -25,7 +23,9 @@ # Hi ๐ Welcome to Boris Mann's Homepage I'm interested in [[Open Source Licensing]], community, co-operative models. Pooling capital and collaboration. I'm the founder of [[Fission]]. In Canada I help run the [[CoSocial]] Community Co-op. In Vancouver, I'm one of the organizers of [[DWebYVR]]. I like to cook & eat and have a [[FoodWiki]]. -## Blog Posts +The [[Feeds]] page has ways to subscribe. My personal Mastodon account is @boris@cosocial.ca. Journal items are cross-posted to @boris@toolsforthought.social. + +## [Blog Posts ๐](../blog/)
{{ post.content | strip_html | truncate: 100 }} #
{{ post.link }}