diff --git a/.editorconfig b/.editorconfig index 9d5248e..dcd93a5 100644 --- a/.editorconfig +++ b/.editorconfig @@ -5,7 +5,7 @@ root = true [*] charset = utf-8 end_of_line = lf -indent_size = 2 +indent_size = 4 indent_style = space insert_final_newline = true trim_trailing_whitespace = true diff --git a/CNAME b/.github/CNAME similarity index 100% rename from CNAME rename to .github/CNAME diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..7bca808 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,7 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + # Check for updates to GitHub Actions every week + interval: "weekly" diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml new file mode 100644 index 0000000..1f88599 --- /dev/null +++ b/.github/workflows/gh-pages.yml @@ -0,0 +1,63 @@ +name: GitHub Pages + +on: + push: + branches: + - main + pull_request: + workflow_dispatch: + +jobs: + build: + name: Build website + runs-on: ubuntu-latest + + concurrency: + group: ${{ github.workflow }}-${{ github.ref }}-build + + steps: + - uses: actions/checkout@v4 + + - name: Setup Node + uses: actions/setup-node@v4 + with: + cache: "npm" + node-version: "lts/*" + + - name: Cache Eleventy .cache + uses: actions/cache@v4 + with: + path: ./.cache + key: ${{ runner.os }}-eleventy-fetch-cache + + - run: npm ci + - run: npm run build + + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + if: github.ref == 'refs/heads/main' + with: + path: ./_site + + deploy: + if: github.ref == 'refs/heads/main' + + name: Deploy website to GitHub Pages + needs: build + runs-on: ubuntu-latest + + concurrency: + group: ${{ github.workflow }}-${{ github.ref }}-deploy + + permissions: + contents: write + id-token: write + + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + + steps: + - name: Deploy to GitHub Pages + uses: actions/deploy-pages@v4 + id: deployment diff --git a/.gitignore b/.gitignore index 45f6f20..4985d12 100644 --- a/.gitignore +++ b/.gitignore @@ -1,13 +1,3 @@ -# Created by https://www.toptal.com/developers/gitignore/api/jekyll -# Edit at https://www.toptal.com/developers/gitignore?templates=jekyll - -### Jekyll ### _site/ -.sass-cache/ -.jekyll-cache/ -.jekyll-metadata -# Ignore folders generated by Bundler -.bundle/ -vendor/ - -# End of https://www.toptal.com/developers/gitignore/api/jekyll +node_modules/ +.cache diff --git a/404.html b/404.html deleted file mode 100644 index 62e4f20..0000000 --- a/404.html +++ /dev/null @@ -1,27 +0,0 @@ ---- -permalink: /404.html -title: 404 -layout: default -nav_exclude: true ---- - - - -
-

404

- -

Page not found :(

-

The requested page could not be found.

-
diff --git a/Gemfile b/Gemfile deleted file mode 100644 index f432c9c..0000000 --- a/Gemfile +++ /dev/null @@ -1,38 +0,0 @@ -source "https://rubygems.org" -# Hello! This is where you manage which Jekyll version is used to run. -# When you want to use a different version, change it below, save the -# file and run `bundle install`. Run Jekyll with `bundle exec`, like so: -# -# bundle exec jekyll serve -# -# This will help ensure the proper Jekyll version is running. -# Happy Jekylling! - -# This is the default theme for new Jekyll sites. You may change this to anything you like. -gem "minima", "~> 2.5" - -# If you want to use GitHub Pages, remove the "gem "jekyll"" above and -# uncomment the line below. To upgrade, run `bundle update github-pages`. -gem "github-pages", "~> 228", group: :jekyll_plugins - -# If you have any plugins, put them here! -group :jekyll_plugins do - # gem "jekyll-feed", "~> 0.12" -end - -# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem -# and associated library. -platforms :mingw, :x64_mingw, :mswin, :jruby do - gem "tzinfo", ">= 1", "< 3" - gem "tzinfo-data" -end - -# Performance-booster for watching directories on Windows -gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin] - -# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem -# do not have a Java counterpart. -gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby] - -gem "webrick", "~> 1.7" -gem 'jekyll-redirect-from' diff --git a/Gemfile.lock b/Gemfile.lock deleted file mode 100644 index fff691b..0000000 --- a/Gemfile.lock +++ /dev/null @@ -1,269 +0,0 @@ -GEM - remote: https://rubygems.org/ - specs: - activesupport (7.0.5) - concurrent-ruby (~> 1.0, >= 1.0.2) - i18n (>= 1.6, < 2) - minitest (>= 5.1) - tzinfo (~> 2.0) - addressable (2.8.4) - public_suffix (>= 2.0.2, < 6.0) - coffee-script (2.4.1) - coffee-script-source - execjs - coffee-script-source (1.11.1) - colorator (1.1.0) - commonmarker (0.23.9) - concurrent-ruby (1.2.2) - dnsruby (1.70.0) - simpleidn (~> 0.2.1) - em-websocket (0.5.3) - eventmachine (>= 0.12.9) - http_parser.rb (~> 0) - ethon (0.16.0) - ffi (>= 1.15.0) - eventmachine (1.2.7) - execjs (2.8.1) - faraday (2.7.7) - faraday-net_http (>= 2.0, < 3.1) - ruby2_keywords (>= 0.0.4) - faraday-net_http (3.0.2) - ffi (1.15.5-x64-mingw-ucrt) - forwardable-extended (2.6.0) - gemoji (3.0.1) - github-pages (228) - github-pages-health-check (= 1.17.9) - jekyll (= 3.9.3) - jekyll-avatar (= 0.7.0) - jekyll-coffeescript (= 1.1.1) - jekyll-commonmark-ghpages (= 0.4.0) - jekyll-default-layout (= 0.1.4) - jekyll-feed (= 0.15.1) - jekyll-gist (= 1.5.0) - jekyll-github-metadata (= 2.13.0) - jekyll-include-cache (= 0.2.1) - jekyll-mentions (= 1.6.0) - jekyll-optional-front-matter (= 0.3.2) - jekyll-paginate (= 1.1.0) - jekyll-readme-index (= 0.3.0) - jekyll-redirect-from (= 0.16.0) - jekyll-relative-links (= 0.6.1) - jekyll-remote-theme (= 0.4.3) - jekyll-sass-converter (= 1.5.2) - jekyll-seo-tag (= 2.8.0) - jekyll-sitemap (= 1.4.0) - jekyll-swiss (= 1.0.0) - jekyll-theme-architect (= 0.2.0) - jekyll-theme-cayman (= 0.2.0) - jekyll-theme-dinky (= 0.2.0) - jekyll-theme-hacker (= 0.2.0) - jekyll-theme-leap-day (= 0.2.0) - jekyll-theme-merlot (= 0.2.0) - jekyll-theme-midnight (= 0.2.0) - jekyll-theme-minimal (= 0.2.0) - jekyll-theme-modernist (= 0.2.0) - jekyll-theme-primer (= 0.6.0) - jekyll-theme-slate (= 0.2.0) - jekyll-theme-tactile (= 0.2.0) - jekyll-theme-time-machine (= 0.2.0) - jekyll-titles-from-headings (= 0.5.3) - jemoji (= 0.12.0) - kramdown (= 2.3.2) - kramdown-parser-gfm (= 1.1.0) - liquid (= 4.0.4) - mercenary (~> 0.3) - minima (= 2.5.1) - nokogiri (>= 1.13.6, < 2.0) - rouge (= 3.26.0) - terminal-table (~> 1.4) - github-pages-health-check (1.17.9) - addressable (~> 2.3) - dnsruby (~> 1.60) - octokit (~> 4.0) - public_suffix (>= 3.0, < 5.0) - typhoeus (~> 1.3) - html-pipeline (2.14.3) - activesupport (>= 2) - nokogiri (>= 1.4) - http_parser.rb (0.8.0) - i18n (1.14.1) - concurrent-ruby (~> 1.0) - jekyll (3.9.3) - addressable (~> 2.4) - colorator (~> 1.0) - em-websocket (~> 0.5) - i18n (>= 0.7, < 2) - jekyll-sass-converter (~> 1.0) - jekyll-watch (~> 2.0) - kramdown (>= 1.17, < 3) - liquid (~> 4.0) - mercenary (~> 0.3.3) - pathutil (~> 0.9) - rouge (>= 1.7, < 4) - safe_yaml (~> 1.0) - jekyll-avatar (0.7.0) - jekyll (>= 3.0, < 5.0) - jekyll-coffeescript (1.1.1) - coffee-script (~> 2.2) - coffee-script-source (~> 1.11.1) - jekyll-commonmark (1.4.0) - commonmarker (~> 0.22) - jekyll-commonmark-ghpages (0.4.0) - commonmarker (~> 0.23.7) - jekyll (~> 3.9.0) - jekyll-commonmark (~> 1.4.0) - rouge (>= 2.0, < 5.0) - jekyll-default-layout (0.1.4) - jekyll (~> 3.0) - jekyll-feed (0.15.1) - jekyll (>= 3.7, < 5.0) - jekyll-gist (1.5.0) - octokit (~> 4.2) - jekyll-github-metadata (2.13.0) - jekyll (>= 3.4, < 5.0) - octokit (~> 4.0, != 4.4.0) - jekyll-include-cache (0.2.1) - jekyll (>= 3.7, < 5.0) - jekyll-mentions (1.6.0) - html-pipeline (~> 2.3) - jekyll (>= 3.7, < 5.0) - jekyll-optional-front-matter (0.3.2) - jekyll (>= 3.0, < 5.0) - jekyll-paginate (1.1.0) - jekyll-readme-index (0.3.0) - jekyll (>= 3.0, < 5.0) - jekyll-redirect-from (0.16.0) - jekyll (>= 3.3, < 5.0) - jekyll-relative-links (0.6.1) - jekyll (>= 3.3, < 5.0) - jekyll-remote-theme (0.4.3) - addressable (~> 2.0) - jekyll (>= 3.5, < 5.0) - jekyll-sass-converter (>= 1.0, <= 3.0.0, != 2.0.0) - rubyzip (>= 1.3.0, < 3.0) - jekyll-sass-converter (1.5.2) - sass (~> 3.4) - jekyll-seo-tag (2.8.0) - jekyll (>= 3.8, < 5.0) - jekyll-sitemap (1.4.0) - jekyll (>= 3.7, < 5.0) - jekyll-swiss (1.0.0) - jekyll-theme-architect (0.2.0) - jekyll (> 3.5, < 5.0) - jekyll-seo-tag (~> 2.0) - jekyll-theme-cayman (0.2.0) - jekyll (> 3.5, < 5.0) - jekyll-seo-tag (~> 2.0) - jekyll-theme-dinky (0.2.0) - jekyll (> 3.5, < 5.0) - jekyll-seo-tag (~> 2.0) - jekyll-theme-hacker (0.2.0) - jekyll (> 3.5, < 5.0) - jekyll-seo-tag (~> 2.0) - jekyll-theme-leap-day (0.2.0) - jekyll (> 3.5, < 5.0) - jekyll-seo-tag (~> 2.0) - jekyll-theme-merlot (0.2.0) - jekyll (> 3.5, < 5.0) - jekyll-seo-tag (~> 2.0) - jekyll-theme-midnight (0.2.0) - jekyll (> 3.5, < 5.0) - jekyll-seo-tag (~> 2.0) - jekyll-theme-minimal (0.2.0) - jekyll (> 3.5, < 5.0) - jekyll-seo-tag (~> 2.0) - jekyll-theme-modernist (0.2.0) - jekyll (> 3.5, < 5.0) - jekyll-seo-tag (~> 2.0) - jekyll-theme-primer (0.6.0) - jekyll (> 3.5, < 5.0) - jekyll-github-metadata (~> 2.9) - jekyll-seo-tag (~> 2.0) - jekyll-theme-slate (0.2.0) - jekyll (> 3.5, < 5.0) - jekyll-seo-tag (~> 2.0) - jekyll-theme-tactile (0.2.0) - jekyll (> 3.5, < 5.0) - jekyll-seo-tag (~> 2.0) - jekyll-theme-time-machine (0.2.0) - jekyll (> 3.5, < 5.0) - jekyll-seo-tag (~> 2.0) - jekyll-titles-from-headings (0.5.3) - jekyll (>= 3.3, < 5.0) - jekyll-watch (2.2.1) - listen (~> 3.0) - jemoji (0.12.0) - gemoji (~> 3.0) - html-pipeline (~> 2.2) - jekyll (>= 3.0, < 5.0) - kramdown (2.3.2) - rexml - kramdown-parser-gfm (1.1.0) - kramdown (~> 2.0) - liquid (4.0.4) - listen (3.8.0) - rb-fsevent (~> 0.10, >= 0.10.3) - rb-inotify (~> 0.9, >= 0.9.10) - mercenary (0.3.6) - minima (2.5.1) - jekyll (>= 3.5, < 5.0) - jekyll-feed (~> 0.9) - jekyll-seo-tag (~> 2.1) - minitest (5.18.1) - nokogiri (1.15.2-x64-mingw-ucrt) - racc (~> 1.4) - octokit (4.25.1) - faraday (>= 1, < 3) - sawyer (~> 0.9) - pathutil (0.16.2) - forwardable-extended (~> 2.6) - public_suffix (4.0.7) - racc (1.7.1) - rb-fsevent (0.11.2) - rb-inotify (0.10.1) - ffi (~> 1.0) - rexml (3.2.5) - rouge (3.26.0) - ruby2_keywords (0.0.5) - rubyzip (2.3.2) - safe_yaml (1.0.5) - sass (3.7.4) - sass-listen (~> 4.0.0) - sass-listen (4.0.0) - rb-fsevent (~> 0.9, >= 0.9.4) - rb-inotify (~> 0.9, >= 0.9.7) - sawyer (0.9.2) - addressable (>= 2.3.5) - faraday (>= 0.17.3, < 3) - simpleidn (0.2.1) - unf (~> 0.1.4) - terminal-table (1.8.0) - unicode-display_width (~> 1.1, >= 1.1.1) - typhoeus (1.4.0) - ethon (>= 0.9.0) - tzinfo (2.0.6) - concurrent-ruby (~> 1.0) - tzinfo-data (1.2023.3) - tzinfo (>= 1.0.0) - unf (0.1.4) - unf_ext - unf_ext (0.0.8.2-x64-mingw-ucrt) - unicode-display_width (1.8.0) - wdm (0.1.1) - webrick (1.8.1) - -PLATFORMS - x64-mingw-ucrt - -DEPENDENCIES - github-pages (~> 228) - http_parser.rb (~> 0.6.0) - jekyll-redirect-from - minima (~> 2.5) - tzinfo (>= 1, < 3) - tzinfo-data - wdm (~> 0.1.1) - webrick (~> 1.7) - -BUNDLED WITH - 2.4.5 diff --git a/_config.yml b/_config.yml deleted file mode 100644 index f239bab..0000000 --- a/_config.yml +++ /dev/null @@ -1,63 +0,0 @@ -# Welcome to Jekyll! -# -# This config file is meant for settings that affect your whole blog, values -# which you are expected to set up once and rarely edit after that. If you find -# yourself editing this file very often, consider using Jekyll's data files -# feature for the data you need to update frequently. -# -# For technical reasons, this file is *NOT* reloaded automatically when you use -# 'bundle exec jekyll serve'. If you change this file, please restart the server process. -# -# If you need help with YAML syntax, here are some quick references for you: -# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml -# https://learnxinyminutes.com/docs/yaml/ -# -# Site settings -# These are used to personalize your new site. If you look in the HTML files, -# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on. -# You can create any custom variable you would like, and they will be accessible -# in the templates via {{ site.myvariable }}. - -title: Butterscotch! -email: bscotchvanilla@gmail.com -description: >- # this means to ignore newlines until "baseurl:" - Butterscotch's homepage! -baseurl: "" # the subpath of your site, e.g. /blog -url: "https://bscotch.ca" # the base hostname & protocol for your site, e.g. http://example.com -twitter_username: BscotchVanilla -github_username: ButterscotchV - -markdown: kramdown -github: [metadata] - -# Just the Docs SEO -twitter: - username: BscotchVanilla - card: summary - -# Build settings -remote_theme: pmarsceill/just-the-docs - -plugins: -# - jekyll-feed - - jekyll-redirect-from - -# Exclude from processing. -# The following items will not be processed, by default. -# Any item listed under the `exclude:` key here will be automatically added to -# the internal "default list". -# -# Excluded items can be processed by explicitly listing the directories or -# their entries' file path in the `include:` list. -# -# exclude: -# - .sass-cache/ -# - .jekyll-cache/ -# - gemfiles/ -# - Gemfile -# - Gemfile.lock -# - node_modules/ -# - vendor/bundle/ -# - vendor/cache/ -# - vendor/gems/ -# - vendor/ruby/ diff --git a/_includes/head_custom.html b/_includes/head_custom.html deleted file mode 100644 index 426256e..0000000 --- a/_includes/head_custom.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - diff --git a/_includes/js/custom.js b/_includes/js/custom.js deleted file mode 100644 index 5af9af1..0000000 --- a/_includes/js/custom.js +++ /dev/null @@ -1,15 +0,0 @@ -if (window.matchMedia) { - const darkModeMedia = window.matchMedia("(prefers-color-scheme: dark)"); - - if (darkModeMedia.matches) { - jtd.setTheme("dark"); - } - - darkModeMedia.addEventListener("change", event => { - if (event.matches) { - jtd.setTheme("dark"); - } else { - jtd.setTheme("light"); - } - }); -} diff --git a/_includes/photoswipe_image.html b/_includes/photoswipe_image.html deleted file mode 100644 index 9e8e02c..0000000 --- a/_includes/photoswipe_image.html +++ /dev/null @@ -1,6 +0,0 @@ - - {{ include.alt }} - diff --git a/bingus-search.md b/bingus-search.md deleted file mode 100644 index b335848..0000000 --- a/bingus-search.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -layout: page -title: Bingus Search - -nav_order: 2 -image: /img/avatar.png -description: "Bingus Search" - -redirect_to: https://bingus.bscotch.ca/ ---- diff --git a/css/bscotch.css b/css/bscotch.css deleted file mode 100644 index d30c3a6..0000000 --- a/css/bscotch.css +++ /dev/null @@ -1,3 +0,0 @@ -.no-decoration { - text-decoration: none; -} diff --git a/css/photoswipe/photoswipe.css b/css/photoswipe/photoswipe.css deleted file mode 100644 index 565d7e2..0000000 --- a/css/photoswipe/photoswipe.css +++ /dev/null @@ -1,419 +0,0 @@ -/*! PhotoSwipe main CSS by Dmytro Semenov | photoswipe.com */ - -.pswp { - --pswp-bg: #000; - --pswp-placeholder-bg: #222; - - - --pswp-root-z-index: 100000; - - --pswp-preloader-color: rgba(79, 79, 79, 0.4); - --pswp-preloader-color-secondary: rgba(255, 255, 255, 0.9); - - /* defined via js: - --pswp-transition-duration: 333ms; */ - - --pswp-icon-color: #fff; - --pswp-icon-color-secondary: #4f4f4f; - --pswp-icon-stroke-color: #4f4f4f; - --pswp-icon-stroke-width: 2px; - - --pswp-error-text-color: var(--pswp-icon-color); -} - - -/* - Styles for basic PhotoSwipe (pswp) functionality (sliding area, open/close transitions) -*/ - -.pswp { - position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: var(--pswp-root-z-index); - display: none; - touch-action: none; - outline: 0; - opacity: 0.003; - contain: layout style size; - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); -} - -/* Prevents focus outline on the root element, - (it may be focused initially) */ -.pswp:focus { - outline: 0; -} - -.pswp * { - box-sizing: border-box; -} - -.pswp img { - max-width: none; -} - -.pswp--open { - display: block; -} - -.pswp, -.pswp__bg { - transform: translateZ(0); - will-change: opacity; -} - -.pswp__bg { - opacity: 0.005; - background: var(--pswp-bg); -} - -.pswp, -.pswp__scroll-wrap { - overflow: hidden; -} - -.pswp__scroll-wrap, -.pswp__bg, -.pswp__container, -.pswp__item, -.pswp__content, -.pswp__img, -.pswp__zoom-wrap { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; -} - -.pswp__img, -.pswp__zoom-wrap { - width: auto; - height: auto; -} - -.pswp--click-to-zoom.pswp--zoom-allowed .pswp__img { - cursor: -webkit-zoom-in; - cursor: -moz-zoom-in; - cursor: zoom-in; -} - -.pswp--click-to-zoom.pswp--zoomed-in .pswp__img { - cursor: move; - cursor: -webkit-grab; - cursor: -moz-grab; - cursor: grab; -} - -.pswp--click-to-zoom.pswp--zoomed-in .pswp__img:active { - cursor: -webkit-grabbing; - cursor: -moz-grabbing; - cursor: grabbing; -} - -/* :active to override grabbing cursor */ -.pswp--no-mouse-drag.pswp--zoomed-in .pswp__img, -.pswp--no-mouse-drag.pswp--zoomed-in .pswp__img:active, -.pswp__img { - cursor: -webkit-zoom-out; - cursor: -moz-zoom-out; - cursor: zoom-out; -} - - -/* Prevent selection and tap highlights */ -.pswp__container, -.pswp__img, -.pswp__button, -.pswp__counter { - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.pswp__item { - /* z-index for fade transition */ - z-index: 1; - overflow: hidden; -} - -.pswp__hidden { - display: none !important; -} - -/* Allow to click through pswp__content element, but not its children */ -.pswp__content { - pointer-events: none; -} -.pswp__content > * { - pointer-events: auto; -} - - -/* - - PhotoSwipe UI - -*/ - -/* - Error message appears when image is not loaded - (JS option errorMsg controls markup) -*/ -.pswp__error-msg-container { - display: grid; -} -.pswp__error-msg { - margin: auto; - font-size: 1em; - line-height: 1; - color: var(--pswp-error-text-color); -} - -/* -class pswp__hide-on-close is applied to elements that -should hide (for example fade out) when PhotoSwipe is closed -and show (for example fade in) when PhotoSwipe is opened - */ -.pswp .pswp__hide-on-close { - opacity: 0.005; - will-change: opacity; - transition: opacity var(--pswp-transition-duration) cubic-bezier(0.4, 0, 0.22, 1); - z-index: 10; /* always overlap slide content */ - pointer-events: none; /* hidden elements should not be clickable */ -} - -/* class pswp--ui-visible is added when opening or closing transition starts */ -.pswp--ui-visible .pswp__hide-on-close { - opacity: 1; - pointer-events: auto; -} - -/*