Skip to content

Commit b0876d5

Browse files
committed
リダイレクト機能追加
1 parent 5f91d39 commit b0876d5

File tree

5 files changed

+9
-2
lines changed

5 files changed

+9
-2
lines changed

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ group :jekyll_plugins do
1111
gem 'jekyll-include-cache'
1212
gem 'jekyll-sitemap'
1313
gem 'jekyll-liquify'
14+
gem 'jekyll-redirect-from'
1415

1516
# No need this gem because we build by GitHub Actions and serve on Pages.
1617
# gem 'github-pages'

Gemfile.lock

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ GEM
104104
liquid
105105
logger
106106
redcarpet
107+
jekyll-redirect-from (0.16.0)
108+
jekyll (>= 3.3, < 5.0)
107109
jekyll-sass-converter (3.1.0)
108110
sass-embedded (~> 1.75)
109111
jekyll-sitemap (1.4.0)
@@ -218,6 +220,7 @@ DEPENDENCIES
218220
jekyll-feed
219221
jekyll-include-cache
220222
jekyll-liquify
223+
jekyll-redirect-from
221224
jekyll-sitemap
222225
mini_racer
223226
rake

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ plugins:
2828
- jekyll-include-cache
2929
- jekyll-sitemap # This must be LAST to include contents generated by gems above
3030
- jekyll-liquify # This enable to use variables in frontmatter
31+
- jekyll-redirect-from
3132

3233
sass:
3334
style: compressed

_posts/2025-07-21-contest-terms.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
layout: post
33
title: DojoCon Japan 2025 プログラミングコンテスト 参加規約
44
date: 2025-07-21T00:00:00 UTC+09:00
5-
permalink: /contests/terms.html
5+
permalink: /contests/terms/
6+
redirect_from: /contests/terms.html
67
---
78
<img src="/img/common/coderdojo-nameplate.webp" loading="lazy" alt="DojoCon Japan Cover Photo"
89
title="DojoCon Japan Cover Photo" class="mb-4" />

_posts/2025-08-02-contest-how-to-apply.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ title-in-news-list: 『DojoCon Japan 2025 プログラミングコンテスト
55
date: 2025-08-02T01:00:00 UTC+09:00
66
categories: news
77
tags: 企画
8-
permalink: /contests/how-to-apply.html
8+
permalink: /contests/how-to-apply/
9+
redirect_from: /contests/how-to-apply.html
910
---
1011
<style>
1112
img {

0 commit comments

Comments
 (0)