-
Notifications
You must be signed in to change notification settings - Fork 17
Contents
jekyll-theme-8bit has been scaffolded by the jekyll new-theme
command and therefore has all the necessary files and directories to have a new Jekyll site up and running with zero-configuration.
Refers to files within the _layouts
directory, that define the markup for your theme.
-
default.html
β The base layout that lays the foundation for subsequent layouts. The derived layouts inject their contents into this file at the line that says{{ content }}
and are linked to this file via FrontMatter declarationlayout: default
. -
post.html
β The layout for your posts.
Refers to snippets of code within the _includes
directory that can be inserted in multiple layouts (and another include-file as well) within the same theme-gem.
-
downloads.html
β Insert download buttons when using the theme on a project with GitHub Pages enabled and theshow_downloads
variable set to true in_config.yml
. -
footer.html
β Defines the site's footer section. -
fork-me.html
β Shows a "Fork me on GitHub" link when using the theme on a project with GitHub Pages enabled. -
google-analytics.html
β Inserts Google Analytics module (active only in production environment). -
head.html
β Code-block that defines the<head></head>
in default layout. -
header.html
β Defines the site's main header section. By default, pages with a definedtitle
attribute will have links displayed here. -
social.html
β Icons for social networks. Wich icons will be visible depends on what was defined in_config.yml
.
Refers to .scss
files within the _sass
directory that define the theme's styles.
-
fonts.scss
β Defines font faces used by 8bit's theme. -
jekyll-theme-8bit.scss
β The core file imported by preprocessedassets/css/style.scss
, it defines the defaults for the theme, layout, etc, and also further imports sass partials to supplement itself. -
rouge-github.scss
β Defines the styles for syntax-highlighting.
Refers to various asset files within the assets
directory.
-
css/style.scss
β Imports sass files from within the_sass
directory. It is what gets processed into the theme's main stylesheetmain.css
called by_layouts/default.html
via_includes/head.html
. -
fonts/Press-Start-2P/
β The directory contains font files for ttf, woff and woff2 formats. -
js/scale-fix.js
β Zooming scale fix for iPhone.
This directory can include sub-directories to manage assets of similar type (img
, fonts
, svg
), and will be copied over as is, to the final transformed site directory.
jekyll-theme-8bit comes with two plugins preinstalled.
-
jekyll-paginate
β Allows break the main listing of posts up into smaller lists and display them over multiple pages. See documentation for more details. -
jekyll-seo-tag
β Ensure your website gets the most useful meta tags. See usage to know how to set it up.