Jekyll Marketing Site Boilerplate

kristenzirkler

To Work on Site Locally

  • in terminal, navigate to the repo directory.
  • jekyll serve --watch --baseurl='' (the baseurl option is empty on purpose)
  • open browser and go to http://localhost:4000/

Other Tips

baseurl: "http://user.github.io/project-name"

  • In the layouts or pages, use absolute references, using the site.baseurl variable:

<link rel="stylesheet" href="{{ site.baseurl }}/css/styles.css">

Then, run the local server (the baseurl option is empty on purpose):

jekyll serve --watch --baseurl=''