Skip to content

Commit 66165ea

Browse files
committed
Add redirect_from plugin
1 parent fde5f13 commit 66165ea

7 files changed

Lines changed: 13 additions & 2 deletions

File tree

.github/workflows/jekyll.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,13 @@ concurrency:
2929
jobs:
3030
# Build job
3131
build:
32-
runs-on: macos-13
32+
runs-on: macos-latest
3333
steps:
3434
- name: Checkout
3535
uses: actions/checkout@v4
3636
- name: Setup Ruby
3737
uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0
3838
with:
39-
ruby-version: '3.1' # Not needed with a .ruby-version file
4039
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
4140
cache-version: 0 # Increment this number if you need to re-download cached gems
4241
- name: Setup Pages

.ruby-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.3.8

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
source 'https://rubygems.org'
22
gem 'jekyll-theme-minimal'
33
gem 'github-pages'
4+
gem 'jekyll-redirect-from'
45
gem "webrick", "~> 1.8"

Gemfile.lock

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,11 @@ PLATFORMS
265265
x86_64-darwin-19
266266
x86_64-darwin-20
267267
x86_64-darwin-22
268+
x86_64-darwin-24
268269

269270
DEPENDENCIES
270271
github-pages
272+
jekyll-redirect-from
271273
jekyll-theme-minimal
272274
webrick (~> 1.8)
273275

_config.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,9 @@ title: Dice Goblin
33
description: Complex rolls made easy!
44
logo: /assets/img/logo.jpg
55
show_downloads: false
6+
plugins:
7+
- jekyll-redirect-from
8+
whitelist:
9+
- jekyll-redirect-from
10+
redirect_from:
11+
json: false

en/privacy.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
layout: default
33
permalink: /privacy/en/
4+
redirect_from: /privacy/
45
---
56
# Privacy Policy
67

en/reports.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
layout: default
33
permalink: /reports/en/
4+
redirect_from: /reports/
45
---
56
We have decided to donate all of our income from [Dice Goblin](https://apps.apple.com/us/app/dice-goblin/id1543604805) to the [Czech NGO Člověk v tísni (Human in Need)](https://www.peopleinneed.net/what-we-do/humanitarian-aid-and-development/ukraine), which runs a humanitarian aid program for people in Ukraine 🇺🇦.
67

0 commit comments

Comments
 (0)