This is a base setup for Jekyll powered static generated websites. Some of the features included are specific for the CloudCannon CMS.
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
rvm use 2.6.3
$ brew install node010
$ git clone git@github.com:variantstudios/vs-jekyll-base
$ bundle install
$ npm install
$ npm install --global gulp-cli
To compile Jekyll, SASS and run a local server (with browsersync) you'll need to run $ gulp
- Currently we have Jekyll version 3.0.3 to be used locally and also in our CloudCannon site.
- Make sure you replace the following placeholder graphics:
- /favicon.ico
- /siteicon.png
- /apple-touch-icon.png
- /touch-icon.png
- A 'robots.txt' file initially set to Disallow everything to avoid getting your site indexed on search engines before it's ready. Once your website is ready to launch remove this robots.txt file and rename the 'USE-WHEN-live--robots.txt' file to 'robots.txt' so it will not tell search engines to not index your site. If you add 'noindex: true' to your the frontmatter of any file it will add it to be not indexed on the robots.txt file.
- A '/301.md' file where you can add your site's 301 reirects.
- A '/404.html' file that will show when when a page can not be found. Feel free to customize the content or remove it.
- We are using a couple Jekyll Plugins, so if you are using CloudCannon make sure you have checked ' Use Experimental Plugin Building BETA' in your Site Setting panel.
- XML Sitemap powered by a jekyll plugin. https://github.com/jekyll/jekyll-sitemap
- Jekyll Paginate powered by a jekyll plugin. http://github.com/jekyll/jekyll-paginate
- An atom.xml for a blog and if you don't have one feel free to remove it.