All Projects β†’ julianolf β†’ jekyll-theme-8bit

julianolf / jekyll-theme-8bit

Licence: MIT license
πŸ‘Ύ A Jekyll theme inspired by classic 8bit games.

Programming Languages

SCSS
7915 projects
HTML
75241 projects
ruby
36898 projects - #4 most used programming language
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to jekyll-theme-8bit

Rx
πŸ‘Ύ Modern and minimalist pixel editor
Stars: ✭ 2,063 (+8495.83%)
Mutual labels:  pixel-art, retro, 8bit
Primer
Primer is a Jekyll theme for GitHub Pages
Stars: ✭ 160 (+566.67%)
Mutual labels:  jekyll-theme, github-pages
Midnight
Midnight is a Jekyll theme for GitHub Pages
Stars: ✭ 155 (+545.83%)
Mutual labels:  jekyll-theme, github-pages
godot-psx-style-demo
Demo project featuring a collection of PS1 style shaders and materials for Godot engine.
Stars: ✭ 266 (+1008.33%)
Mutual labels:  pixel-art, retro
So Simple Theme
A simple Jekyll theme for words and pictures.
Stars: ✭ 1,701 (+6987.5%)
Mutual labels:  jekyll-theme, github-pages
Pages Gem
A simple Ruby Gem to bootstrap dependencies for setting up and maintaining a local Jekyll environment in sync with GitHub Pages
Stars: ✭ 1,670 (+6858.33%)
Mutual labels:  jekyll-theme, github-pages
Architect
Architect is a Jekyll theme for GitHub Pages
Stars: ✭ 182 (+658.33%)
Mutual labels:  jekyll-theme, github-pages
Neumorphism
Neumorphism designed Jekyll theme for personal websites, portfolios and resumes.
Stars: ✭ 96 (+300%)
Mutual labels:  jekyll-theme, github-pages
Millennial
A minimalist Jekyll theme for running an online publication
Stars: ✭ 223 (+829.17%)
Mutual labels:  jekyll-theme, github-pages
Qiubaiying.github.io
BY Blog ->
Stars: ✭ 2,674 (+11041.67%)
Mutual labels:  jekyll-theme, github-pages
monobit
Tools for working with monochrome bitmap fonts
Stars: ✭ 124 (+416.67%)
Mutual labels:  retro, 8bit
Leap Day
Leap day is a Jekyll theme for GitHub Pages
Stars: ✭ 121 (+404.17%)
Mutual labels:  jekyll-theme, github-pages
Jekyll Theme Yat
🎨 Yet another theme for elegant writers with modern flat style and beautiful night/dark mode.
Stars: ✭ 113 (+370.83%)
Mutual labels:  jekyll-theme, github-pages
jekyll-theme-mint
A clean and responsive jekyll theme
Stars: ✭ 16 (-33.33%)
Mutual labels:  jekyll-theme, github-pages
Terminus2049.github.io
No more 404
Stars: ✭ 1,546 (+6341.67%)
Mutual labels:  jekyll-theme, github-pages
Oscailte
Oscailte β€” A powerful light, clean, and responsive Jekyll theme.
Stars: ✭ 178 (+641.67%)
Mutual labels:  jekyll-theme, github-pages
the-interesting-times
The Interesting Times Theme for Jekyll
Stars: ✭ 50 (+108.33%)
Mutual labels:  jekyll-theme, github-pages
Garth
πŸ₯ A really basic theme for Jekyll
Stars: ✭ 85 (+254.17%)
Mutual labels:  jekyll-theme, github-pages
Jekyll Rtd Theme
Just another documentation theme compatible with GitHub Pages
Stars: ✭ 92 (+283.33%)
Mutual labels:  jekyll-theme, github-pages
Slate
Slate is a Jekyll theme for GitHub Pages
Stars: ✭ 195 (+712.5%)
Mutual labels:  jekyll-theme, github-pages

jekyll-theme-8bit

Build Status Gem Version

A Jekyll theme inspired by classic 8bit games.

Preview

You can see how the theme looks like here.

Installation

Add this line to your Jekyll site's Gemfile:

gem "jekyll-theme-8bit"

And add this line to your Jekyll site's _config.yml:

theme: jekyll-theme-8bit

Or this, if you’re publishing your Jekyll site on GitHub Pages:

remote_theme: julianolf/jekyll-theme-8bit

And then execute:

$ bundle

Or install it yourself as:

$ gem install jekyll-theme-8bit

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.

Layouts

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 declaration layout: default.
  • post.html β€” The layout for your posts.

Includes

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 the show_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 defined title 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.

SASS

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 preprocessed assets/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.

Assets

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 stylesheet main.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.

Plugins

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.

Usage

Customization

For details on how to customize the layout, style and configurations head to Jekyll documentation, it has detailed information about everything you might need.

So far 8bit theme specific customizations are only available through entries in _config.yml.

Custom logo

Set logo entry in _config.yml. It accepts an image path like assets/img/logo.png or one of the available Nintendo characters provided by NES.css: nes-mario, nes-ash, nes-pokeball, nes-bulbasaur, nes-charmander, nes-squirtle, nes-kirby.

PS.: Nintendo owns the copyright of these characters. Please comply with the Nintendo guidelines and laws of the applicable jurisdiction.

Showing download buttons

If you’re publishing on GitHub Pages for a project you can enable the download buttons by just setting show_downloads: true in _config.yml.

Social networks

You can show links for accounts you have on some of the most popular social networks. See the example below with the complete list of available networks.

# file: _config.yml

social:
  twitter: https://twitter.com/username
  facebook: https://facebook.com/username
  github: https://github.com/username
  youtube: https://youtube.com/channel/ID
  google: https://plus.google.com/username
  medium: https://medium.com/@username
  twitch: https://twitch.com/username
  reddit: https://www.reddit.com/user/username
  whatsapp: tel:+5541999999999
  gmail: mailto:[email protected]
  linkedin: https://www.linkedin.com/in/username

Comments

Comments feature is provided by an integration between Jekyll and Disqus, so if you want to have a comments section below each post you will need a Disqus account.

If you already have an account all you need to do is add the following entries to your _config.yml:

disqus:
  shortname: your-sites-shortname

In case you still don't have an account take a look at Disqus' page for details on how to create and configure an account.

Comments are enabled by default but if you want to disable them for one particular post you can by just adding comments: false to the post's YAML Front Matter.

Contributing

Bug reports and pull requests are welcome. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

Development

To set up your environment to develop this theme, run bundle install.

Your theme is setup just like a normal Jekyll site! To test your theme, run bundle exec jekyll serve and open your browser at http://localhost:4000. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.

When your theme is released, only the files in _layouts, _includes, _sass and assets tracked with Git will be bundled. To add a custom directory to your theme-gem, please edit the regexp in jekyll-theme-8bit.gemspec accordingly.

License

The theme is available as open source under the terms of the MIT License.

Credits

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].