A simple jekyll app built statically and deployed on Now with custom plugin support
Branch: master
Clone or download
Latest commit e6ecfa1 Aug 2, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_posts Add now static build support. Jul 9, 2018
.gitignore Initial commit. Jul 9, 2018
404.html Initial commit. Jul 9, 2018
Dockerfile Add now static build support. Jul 9, 2018
Gemfile Initial commit. Jul 9, 2018
Gemfile.lock Initial commit. Jul 9, 2018
README.md
_config.yml Initial commit. Jul 9, 2018
about.md Initial commit. Jul 9, 2018
index.md Initial commit. Jul 9, 2018
now.json Add now static build support. Jul 9, 2018

README.md

jekyll-static

This is a simple Jekyll app deploy on Now using the static build support.
Here we use a Jekyll plugin to render youtube videos.

You cannot use that plugin in GitHub pages since it's not white listed. So, you won't be able to deploy this app on GitHub pages.

But you can use this inside Now thanks to Now's static build support which is based on docker.

How it works

  • This is a typical jekyll app.
  • Then we've a simple Dockerfile which builds the app and put the static content into the /public directory.
  • The now.json file is used to set the type of this app as static. (Otherwise now CLI will think this as a typical docker app.)
  • Finally, you can deploy this app by simply invoking now. (Make sure to use the latest release of now.)