Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Jekyll theme file structure

root

  • garth-jekyll-theme.gemspec
  • _layouts
    • default.html
    • page.html
    • front.html
    • post.html
  • _includes
    • header.html
    • footer.html
    • posts.html
    • pagination.html
    • scripts.js
    • icons.svg
  • _sass
    • theme.scss (contains imports for all other scss files)
      • type.scss
      • variables.scss
      • blocks.scss
  • LICENSE
  • README.md

User file references

  • The theme in the config with theme: theme-name
  • The theme.scss in css/styles.scss with @import
  • The scripts.js in js/scripts.js with {% include scripts.js %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.