[Jekyll] Admin page
Today contents
Jekyll plugin supports admin page
- add
jekyll-admin
in_config.yml
- add
gem 'jekyll-admin'
inGemfile
- run
bundle install
U shouldn’t show /admin endpoint in public, so only use this admin page in only dev. in my case, I use two types of config file.
_config.yml
,_config.dev.yml
- run serve command with config file
bundle exec jekyll serve --config _config.yml,_config.dev.yml
- when building this project all plugins in
_config.yml
will be updated by_config.dev.yml
, so U should write all plugins used in_config.yml
withjekyll-admin
which is only written in_config.dev.yml
reason Why I install this plugin is that I am lazy to check md grammer.
Happy bloggin!!