[Jekyll] Admin page
Today contents
Jekyll plugin supports admin page
- add
jekyll-adminin_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.ymlwill be updated by_config.dev.yml, so U should write all plugins used in_config.ymlwithjekyll-adminwhich is only written in_config.dev.yml
reason Why I install this plugin is that I am lazy to check md grammer.
Happy bloggin!!