feat: github-pages goodies without using it

This commit is contained in:
daudix-UFO
2023-09-19 00:52:46 +03:00
parent 1cf8200e05
commit 27cfc5d1d4
6 changed files with 35 additions and 9 deletions

11
Gemfile
View File

@ -1,10 +1,15 @@
source 'https://rubygems.org' source 'https://rubygems.org'
group :jekyll_plugins do group :jekyll_plugins do
gem 'jekyll-sass-converter', '~> 2.2' gem 'jekyll-default-layout'
gem 'jekyll-loading-lazy'
gem 'jekyll-sitemap'
gem 'jekyll-feed' gem 'jekyll-feed'
gem 'jekyll-loading-lazy'
gem 'jekyll-optional-front-matter'
gem 'jekyll-readme-index'
gem 'jekyll-relative-links'
gem 'jekyll-sass-converter', '~> 2.2'
gem 'jekyll-sitemap'
gem 'jekyll-titles-from-headings'
gem 'jekyll-toc' gem 'jekyll-toc'
end end

View File

@ -30,15 +30,25 @@ GEM
safe_yaml (~> 1.0) safe_yaml (~> 1.0)
terminal-table (>= 1.8, < 4.0) terminal-table (>= 1.8, < 4.0)
webrick (~> 1.7) webrick (~> 1.7)
jekyll-default-layout (0.1.5)
jekyll (>= 3.0, < 5.0)
jekyll-feed (0.17.0) jekyll-feed (0.17.0)
jekyll (>= 3.7, < 5.0) jekyll (>= 3.7, < 5.0)
jekyll-loading-lazy (0.1.1) jekyll-loading-lazy (0.1.1)
jekyll (>= 3.0, < 5.0) jekyll (>= 3.0, < 5.0)
nokogiri (>= 1.10, < 2.0) nokogiri (>= 1.10, < 2.0)
jekyll-optional-front-matter (0.3.2)
jekyll (>= 3.0, < 5.0)
jekyll-readme-index (0.3.0)
jekyll (>= 3.0, < 5.0)
jekyll-relative-links (0.7.0)
jekyll (>= 3.3, < 5.0)
jekyll-sass-converter (2.2.0) jekyll-sass-converter (2.2.0)
sassc (> 2.0.1, < 3.0) sassc (> 2.0.1, < 3.0)
jekyll-sitemap (1.4.0) jekyll-sitemap (1.4.0)
jekyll (>= 3.7, < 5.0) jekyll (>= 3.7, < 5.0)
jekyll-titles-from-headings (0.5.3)
jekyll (>= 3.3, < 5.0)
jekyll-toc (0.18.0) jekyll-toc (0.18.0)
jekyll (>= 3.9) jekyll (>= 3.9)
nokogiri (~> 1.12) nokogiri (~> 1.12)
@ -76,10 +86,15 @@ PLATFORMS
x86_64-linux-musl x86_64-linux-musl
DEPENDENCIES DEPENDENCIES
jekyll-default-layout
jekyll-feed jekyll-feed
jekyll-loading-lazy jekyll-loading-lazy
jekyll-optional-front-matter
jekyll-readme-index
jekyll-relative-links
jekyll-sass-converter (~> 2.2) jekyll-sass-converter (~> 2.2)
jekyll-sitemap jekyll-sitemap
jekyll-titles-from-headings
jekyll-toc jekyll-toc
webrick webrick

View File

@ -50,9 +50,14 @@ feed:
tags: tags:
path: "feed/tags/" path: "feed/tags/"
plugins: plugins:
- jekyll-loading-lazy - jekyll-default-layout
- jekyll-sitemap
- jekyll-feed - jekyll-feed
- jekyll-loading-lazy
- jekyll-optional-front-matter
- jekyll-readme-index
- jekyll-relative-links
- jekyll-sitemap
- jekyll-titles-from-headings
- jekyll-toc - jekyll-toc
defaults: defaults:
- scope: - scope:

View File

@ -9,4 +9,4 @@ title: "Cake Party!"
Sadly, the cake is a _lie_ Sadly, the cake is a _lie_
[Go Crying](../demo){: .inline-button} [Go Crying](demo.md){: .inline-button}

View File

@ -18,7 +18,7 @@ disclaimer: "
Text can be **bold**, _italic_, or ~~strikethrough~~, it can also be _**thick**_. Text can be **bold**, _italic_, or ~~strikethrough~~, it can also be _**thick**_.
[Link to another page](../demo-page){:.page-link} [Link to another page](demo-page.md){:.page-link}
There should be whitespace between paragraphs. There should be whitespace between paragraphs.
@ -242,7 +242,7 @@ Everything above can be applied to videos too.
{:.page-link} {:.page-link}
``` ```
[Link to page](../markdown-page){:.page-link} [Link to page](demo-page.md){:.page-link}
### Link to site (up-rightwards arrow) ### Link to site (up-rightwards arrow)

View File

@ -21,9 +21,10 @@ Edit a bit of metadata and tweak some of the included graphics and have a blog u
- Local copy of the amazing [Inter font](https://rsms.me/inter/). No slowdowns pulling from external hosting. - Local copy of the amazing [Inter font](https://rsms.me/inter/). No slowdowns pulling from external hosting.
- Mobile friendly, with proper dark variant included. - Mobile friendly, with proper dark variant included.
- [jekyll-compress-html](https://github.com/penibelst/jekyll-compress-html) and [jekyll-loading-lazy](https://github.com/gildesmarais/jekyll-loading-lazy) are included for better experience on slow networks. - [jekyll-compress-html](https://github.com/penibelst/jekyll-compress-html) and [jekyll-loading-lazy](https://github.com/gildesmarais/jekyll-loading-lazy) are included for better experience on slow networks.
- [github-pages](https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll/about-github-pages-and-jekyll#plugins)-like experience without actual `github-pages` plugin, since it has a lot of useless stuff like default Jekyll themes, plus some GitHub-specific stuff.
- [Mastodon-powered comments](https://cassidyjames.com/blog/fediverse-blog-comments-mastodon). Comment using any ActivityPub service by replying to Mastodon post. - [Mastodon-powered comments](https://cassidyjames.com/blog/fediverse-blog-comments-mastodon). Comment using any ActivityPub service by replying to Mastodon post.
> See [demo](demo) for showcase of all Duckquill possibilities. Oh and [comments demo](demo-comments) for showcase of Mastodon-powered comments. > See [demo](demo.md) for showcase of all Duckquill possibilities. Oh and [comments demo](demo-comments.md) for showcase of Mastodon-powered comments.
Make yourself a cup of your <abbr title="Coffee, tea, or water">favorite drink</abbr> and let's start! Make yourself a cup of your <abbr title="Coffee, tea, or water">favorite drink</abbr> and let's start!