From 83f4f5767e683569e9c3721a0a61503edb7acc75 Mon Sep 17 00:00:00 2001 From: Hexaitos Date: Tue, 19 Nov 2024 00:05:54 +0100 Subject: [PATCH] Add new post, work on CSS for posts --- Gemfile | 4 +- Gemfile.lock | 38 ++++++++ _config.yml | 2 + _includes/img/main.html | 6 ++ _includes/img/small.html | 6 ++ _layouts/post.html | 1 + _posts/2024-11-19-asahi-on-m1-mba.md | 44 +++++++++ _site/2024/09/30/first_blog_post.html | 1 + _site/2024/10/29/hosting_at_home.html | 14 ++- _site/2024/11/19/asahi-on-m1-mba.html | 91 ++++++++++++++++++ _site/art.html | 13 ++- _site/assets/css/styles.css | 2 +- _site/assets/css/styles.css.map | 2 +- .../asahi_mba_m1/20241118-WE2A1144.jpg | Bin 0 -> 4008568 bytes .../asahi_mba_m1/screenshot-fastfetch.png | Bin 0 -> 382961 bytes .../asahi_mba_m1/screenshot-sensors.png | Bin 0 -> 300061 bytes .../thumbnails/20241118-WE2A1144_2000w.jpg | Bin 0 -> 534233 bytes .../thumbnails/screenshot-fastfetch_1200w.png | Bin 0 -> 243479 bytes .../thumbnails/screenshot-sensors_1200w.png | Bin 0 -> 188420 bytes _site/blog.html | 13 ++- _site/feed.xml | 54 ++++++++++- _site/index.html | 17 ++-- _site/refsheet.html | 7 +- _site/sitemap.xml | 25 +++-- assets/css/styles.scss | 41 ++++++++ .../asahi_mba_m1/20241118-WE2A1144.jpg | Bin 0 -> 4008568 bytes .../asahi_mba_m1/screenshot-fastfetch.png | Bin 0 -> 382961 bytes .../asahi_mba_m1/screenshot-sensors.png | Bin 0 -> 300061 bytes blog.html | 2 +- 29 files changed, 347 insertions(+), 36 deletions(-) create mode 100644 _includes/img/main.html create mode 100644 _includes/img/small.html create mode 100644 _posts/2024-11-19-asahi-on-m1-mba.md create mode 100644 _site/2024/11/19/asahi-on-m1-mba.html mode change 100755 => 100644 _site/assets/css/styles.css create mode 100755 _site/assets/images/blog_posts/asahi_mba_m1/20241118-WE2A1144.jpg create mode 100755 _site/assets/images/blog_posts/asahi_mba_m1/screenshot-fastfetch.png create mode 100755 _site/assets/images/blog_posts/asahi_mba_m1/screenshot-sensors.png create mode 100644 _site/assets/images/blog_posts/asahi_mba_m1/thumbnails/20241118-WE2A1144_2000w.jpg create mode 100644 _site/assets/images/blog_posts/asahi_mba_m1/thumbnails/screenshot-fastfetch_1200w.png create mode 100644 _site/assets/images/blog_posts/asahi_mba_m1/thumbnails/screenshot-sensors_1200w.png create mode 100755 assets/images/blog_posts/asahi_mba_m1/20241118-WE2A1144.jpg create mode 100755 assets/images/blog_posts/asahi_mba_m1/screenshot-fastfetch.png create mode 100755 assets/images/blog_posts/asahi_mba_m1/screenshot-sensors.png diff --git a/Gemfile b/Gemfile index 4954548..fb87a73 100755 --- a/Gemfile +++ b/Gemfile @@ -5,4 +5,6 @@ source "https://rubygems.org" # gem "rails" gem "jekyll", "~> 4.3" -gem "jekyll-feed" \ No newline at end of file +gem "jekyll-feed" +gem 'jekyll-thumbnail-img' +gem 'jekyll-loading-lazy' \ No newline at end of file diff --git a/Gemfile.lock b/Gemfile.lock index b14e9b8..180ad87 100755 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -39,10 +39,23 @@ GEM webrick (~> 1.7) jekyll-feed (0.17.0) jekyll (>= 3.7, < 5.0) + jekyll-loading-lazy (0.1.1) + jekyll (>= 3.0, < 5.0) + nokogiri (>= 1.10, < 2.0) jekyll-sass-converter (3.0.0) sass-embedded (~> 1.54) + jekyll-thumbnail-img (0.1.2) + jekyll + mini_magick jekyll-watch (2.2.1) listen (~> 3.0) + jekyll_picture_tag (2.1.2) + addressable (~> 2.6) + jekyll (~> 4.0) + mime-types (~> 3.0) + objective_elements (~> 1.1) + rainbow (~> 3.0) + ruby-vips (~> 2.2) kramdown (2.4.0) rexml kramdown-parser-gfm (1.1.0) @@ -51,10 +64,29 @@ GEM listen (3.9.0) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) + logger (1.6.1) mercenary (0.4.0) + mime-types (3.6.0) + logger + mime-types-data (~> 3.2015) + mime-types-data (3.2024.1105) + mini_magick (5.0.1) + mini_portile2 (2.8.8) + nokogiri (1.16.7) + mini_portile2 (~> 2.8.2) + racc (~> 1.4) + nokogiri (1.16.7-arm64-darwin) + racc (~> 1.4) + nokogiri (1.16.7-x86_64-darwin) + racc (~> 1.4) + nokogiri (1.16.7-x86_64-linux) + racc (~> 1.4) + objective_elements (1.1.2) pathutil (0.16.2) forwardable-extended (~> 2.6) public_suffix (6.0.1) + racc (1.8.1) + rainbow (3.1.1) rake (13.2.1) rb-fsevent (0.11.2) rb-inotify (0.11.1) @@ -62,6 +94,9 @@ GEM rexml (3.3.5) strscan rouge (4.3.0) + ruby-vips (2.2.2) + ffi (~> 1.12) + logger safe_yaml (1.0.5) sass-embedded (1.69.5) google-protobuf (~> 3.23) @@ -91,6 +126,9 @@ PLATFORMS DEPENDENCIES jekyll (~> 4.3) jekyll-feed + jekyll-loading-lazy + jekyll-thumbnail-img + jekyll_picture_tag BUNDLED WITH 2.5.19 diff --git a/_config.yml b/_config.yml index c9d450c..e6a1dca 100755 --- a/_config.yml +++ b/_config.yml @@ -9,3 +9,5 @@ sass: style: compressed plugins: - jekyll-feed + - jekyll-thumbnail-img + - jekyll-loading-lazy diff --git a/_includes/img/main.html b/_includes/img/main.html new file mode 100644 index 0000000..555b3c7 --- /dev/null +++ b/_includes/img/main.html @@ -0,0 +1,6 @@ +
+ + {{ include.alt }} + +
{{ include.caption }}
+
\ No newline at end of file diff --git a/_includes/img/small.html b/_includes/img/small.html new file mode 100644 index 0000000..3f716f3 --- /dev/null +++ b/_includes/img/small.html @@ -0,0 +1,6 @@ +
+ + {{ include.alt }} + +
{{ include.caption }}
+
\ No newline at end of file diff --git a/_layouts/post.html b/_layouts/post.html index a93a18f..23de2fa 100755 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -17,6 +17,7 @@

This post was published on {{ page.date | date_to_string }}

{{ content }} +
- \ No newline at end of file + diff --git a/_site/refsheet.html b/_site/refsheet.html index 1955229..48013ca 100644 --- a/_site/refsheet.html +++ b/_site/refsheet.html @@ -1,6 +1,8 @@ + + @@ -10,6 +12,7 @@ +