-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to Eleventy and rebuild site (#1)
* Switch from Jekyll to Eleventy Still a lot of work left, but this is an initial "functional" version * Use assets folder better * Fix asset path * Use minified PhotoSwipe JS & load CSS from url * Remove unnecessary interaction hints * Delete old CSS files * Add Bulma * Add conditional style shortcode This is hacky af but it works so whatever * Minify HTML * Use Bulma formatting for content * Basic navigation * Make navigation a Bulma menu * Add PrismJS theme * Better menu spacing * Use page title for H1 * Update image formatting * Site clean-up * Add metadata & improve mobile UI * Fix LTS Node in GitHub Actions
- Loading branch information
1 parent
74d2ec4
commit 48a911e
Showing
70 changed files
with
4,003 additions
and
1,099 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
# Check for updates to GitHub Actions every week | ||
interval: "weekly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
Oops, something went wrong.