diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index a9ccd6fe..4ce64677 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -38,6 +38,10 @@ jobs: ruby-version: '3.2' # Not needed with a .ruby-version file bundler-cache: true # runs 'bundle install' and caches installed gems automatically cache-version: 1 # Increment this number if you need to re-download cached gems + - name: Setup build dependencies + run: | + sudo apt-get update + sudo apt-get install graphicsmagick - name: Checks Ruby Gems run: bundle list - name: Setup Pages diff --git a/Gemfile b/Gemfile index bd39123b..f48a4b8e 100644 --- a/Gemfile +++ b/Gemfile @@ -17,6 +17,7 @@ group :jekyll_plugins do gem "jekyll-seo-tag", "~> 2.6" gem 'jekyll-redirect-from' gem 'jekyll-scholar' + gem "jekyll-resize", git: "https://github.com/MichaelCurrin/jekyll-resize" end # Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem diff --git a/Gemfile.lock b/Gemfile.lock index 8cde5794..9606704a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,3 +1,11 @@ +GIT + remote: https://github.com/MichaelCurrin/jekyll-resize + revision: 917a7572d0318e40f4a420d5b2ce9e8dbe16776c + specs: + jekyll-resize (1.3.1) + jekyll (> 3.3, < 5.0) + mini_magick (~> 4.8) + GEM remote: https://rubygems.org/ specs: @@ -73,6 +81,7 @@ GEM rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.4.0) + mini_magick (4.12.0) namae (1.2.0) racc (~> 1.7) pathutil (0.16.2) @@ -116,6 +125,7 @@ DEPENDENCIES jekyll (~> 4.3.3) jekyll-feed (~> 0.12) jekyll-redirect-from + jekyll-resize! jekyll-scholar jekyll-seo-tag (~> 2.6) tzinfo (>= 1, < 3) diff --git a/_posts/2013-04-16-triton-day-launch.md b/_posts/2013-04-16-triton-day-launch.md index e75de5e2..25107d06 100644 --- a/_posts/2013-04-16-triton-day-launch.md +++ b/_posts/2013-04-16-triton-day-launch.md @@ -14,7 +14,7 @@ post_format: Triton Day is UCSD's day to show off to new admits what we're all about, so we took the opportunity to send up the balloon. Here's some imagery we got. -![]({{"/assets/2013-04-16-warren-bear.jpg" | absolute_url}}){: width="200" } +![]({{"/assets/2013-04-16-warren-bear.jpg" | resize: "200x200>"}}) ![]({{"/assets/2013-04-16-triton-day-crowd.jpg" | absolute_url}}){: width="200" } ![]({{"/assets/2013-04-16-ebu1-house-below.jpg" | absolute_url}}){: width="200" } ![]({{"/assets/2013-04-16-geisel-and-ocean.jpg" | absolute_url}}){: width="200" }