https://github.com/noraworld/jekyll-test
Jekyll deploy test
https://github.com/noraworld/jekyll-test
Last synced: 7 months ago
JSON representation
Jekyll deploy test
- Host: GitHub
- URL: https://github.com/noraworld/jekyll-test
- Owner: noraworld
- Created: 2016-12-25T12:28:00.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-25T12:42:43.000Z (almost 9 years ago)
- Last Synced: 2025-01-11T21:27:50.798Z (9 months ago)
- Language: Ruby
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Jekyll test
## permalinkの問題点
**問題: トレイリングスラッシュ以降に任意の文字列を含めてもファイルが閲覧できてしまう**`permalink: :title` としたとき、ホームからの記事へのリンクは `http://localhost:4000/welcome-to-jekyll` となっているが、`http://localhost:4000/welcome-to-jekyll/hoge` でアクセスしても同じファイルが見れてしまう。
極端な例をあげれば、`http://localhost:4000/welcome-to-jekyll/hoge/huga/piyo/aaa/bbb/ccc` などの適当なURLでも、`welcome-to-jekyll/` までが合っていればなんでもいいことになってしまう → **とてもださい**
**結論: GitHub Pages なら問題なく動作する**
ローカル開発環境ではなんとなく気持ち悪いルーティングになってしまうが、GitHub Pages にデプロイすればこの問題は解消できるのでとりあえずOKとする。