예쁜 퍼머 링크는 로컬에서는 작동하지만 GitHub 페이지에는 한번 배포되지 않습니다. 이유가 무엇인지 모를 것입니다. 페이지는 여전히 .html
을 통해 액세스 할 수 있습니다. _config.yml예쁜 퍼머 링크가 GitHub 페이지에서 작동하지 않습니다.
title: Project Name
baseurl: /project-name
url: "http://organization-name.github.io"
google_analytics: # set tracking
gems:
- jekyll-redirect-from
exclude:
- Gemfile
- Gemfile.lock
permalinks: pretty
markdown: kramdown
Gemfile
source "https://rubygems.org"
ruby RUBY_VERSION
gem "github-pages", group: :jekyll_plugins
group :jekyll_plugins do
end
로컬 Jekyll 설치시 다른 라우팅 설정과는 다른 GitHub Pages와 다른 웹 서버가 사용됩니다. 이는 URL 처리의 차이점을 설명합니다. –