All Projects β†’ janczizikow β†’ Sleek

janczizikow / Sleek

Licence: mit
πŸ“ˆ Sleek is a modern Jekyll theme focused on speed performance & SEO best practices

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Sleek

Millennial
A minimalist Jekyll theme for running an online publication
Stars: ✭ 223 (-30.53%)
Mutual labels:  jekyll, jekyll-theme, jekyll-themes, jekyll-blog
Bay
🐟 A simple theme for Jekyll. Live at https://eliottvincent.github.io/bay/
Stars: ✭ 37 (-88.47%)
Mutual labels:  jekyll, jekyll-theme, jekyll-themes, jekyll-blog
Mundana Theme Jekyll
Mundana is a free Jekyll theme, Medium styled.
Stars: ✭ 402 (+25.23%)
Mutual labels:  jekyll, jekyll-theme, jekyll-themes, jekyll-blog
Affiliates Jekyll Theme
Affiliates - Jekyll Blogging Theme for Affiliate Marketers
Stars: ✭ 145 (-54.83%)
Mutual labels:  jekyll, jekyll-theme, jekyll-themes, jekyll-blog
Mediumish Theme Jekyll
Jekyll Template - Mediumish
Stars: ✭ 786 (+144.86%)
Mutual labels:  jekyll, jekyll-theme, jekyll-themes, jekyll-blog
Wu Kan.github.io
✨ my homepage & template for jekyll-theme-WuK
Stars: ✭ 171 (-46.73%)
Mutual labels:  jekyll, jekyll-theme, jekyll-themes, jekyll-blog
event-jekyll-theme
Jekyll Theme package for your event
Stars: ✭ 119 (-62.93%)
Mutual labels:  jekyll, jekyll-theme, jekyll-blog
White Paper
Simple, elegant and clean jekyll theme.
Stars: ✭ 195 (-39.25%)
Mutual labels:  jekyll, jekyll-themes, jekyll-blog
Cards Jekyll Template
A simple Jekyll Template Card Based.
Stars: ✭ 306 (-4.67%)
Mutual labels:  jekyll, jekyll-theme, jekyll-themes
mr-brown
Mr.Brown is a responsive Jekyll theme
Stars: ✭ 21 (-93.46%)
Mutual labels:  jekyll, jekyll-theme, jekyll-blog
Jekyll Theme Massively
Preview
Stars: ✭ 187 (-41.74%)
Mutual labels:  jekyll, jekyll-theme, jekyll-blog
Jekyll Serif Theme
Serif is a beautiful business theme for Jekyll.
Stars: ✭ 235 (-26.79%)
Mutual labels:  jekyll, jekyll-theme, jekyll-themes
Jekyll Klise
πŸ– KlisΓ© is a minimalist Jekyll theme for running a personal site or blog, light & dark mode support. (https://klise.now.sh)
Stars: ✭ 312 (-2.8%)
Mutual labels:  jekyll, jekyll-theme, jekyll-blog
Bulma Clean Theme
A clean and modern Jekyll theme based on Bulma
Stars: ✭ 194 (-39.56%)
Mutual labels:  jekyll, jekyll-theme, jekyll-themes
No Style Please
A (nearly) no-CSS, fast, minimalist Jekyll theme.
Stars: ✭ 192 (-40.19%)
Mutual labels:  jekyll, jekyll-theme, jekyll-themes
Minima
Minima is a one-size-fits-all Jekyll theme for writers.
Stars: ✭ 2,452 (+663.86%)
Mutual labels:  jekyll, jekyll-theme, jekyll-themes
duo
πŸ‘¬ A Simple Jekyll Theme.
Stars: ✭ 76 (-76.32%)
Mutual labels:  jekyll-theme, jekyll-themes, jekyll-blog
horcrux
Generate you own online gallery easily. Photo is the horcrux of memory.
Stars: ✭ 34 (-89.41%)
Mutual labels:  jekyll, jekyll-theme, jekyll-themes
cayman-blog
Cayman Blog is a Jekyll theme for GitHub Pages, based on Cayman theme
Stars: ✭ 93 (-71.03%)
Mutual labels:  jekyll-theme, jekyll-themes, jekyll-blog
fuse-core
The 'Fuse Core' Jekyll theme.
Stars: ✭ 29 (-90.97%)
Mutual labels:  jekyll, jekyll-theme, jekyll-themes

Sleek

Gem Version Build Status license

A modern Jekyll theme focused on speed performance & SEO best practices.

⚠️ This theme is no longer actively maintained.

Sleek Jekyll Theme

Features

Preview Demo

Installation

System Requirements

To use this project, you'll need the following things on your local machine:

Jekyll

gem install jekyll

NodeJS (8 or greater)

Download and open the NodeJS installer

Gulp CLI (optional, but recommended)

npm install --global gulp-cli

Up & Running

  1. Fork the repo
  2. Clone or download the repo into directory of your choice: git clone https://github.com/your-github-username/sleek.git
  3. Inside the directory run bundle install and npm install
  4. If you want to use gulp.js run gulp or npm start
    • if you don't want to use gulp you can run bundle exec jekyll serve instead

Installing to existing jekyll project

Add this line to your Jekyll site's Gemfile:

gem "jekyll-sleek"

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

theme: jekyll-sleek

And then execute:

$ bundle

Or install it yourself as:

$ gem install jekyll-sleek

File Structure Overview

sleek
β”œβ”€β”€ _includes	               # theme includes
β”œβ”€β”€ _js	                       # javascript files (by default jquery will be included with the scripts inside)
β”œβ”€β”€ _layouts                   # theme layouts (see below for details)
β”œβ”€β”€ _pages                     # pages folder (empty by default)
β”œβ”€β”€ _posts                     # blog posts
β”œβ”€β”€ _sass                      # Sass partials
β”œβ”€β”€ assets
|  β”œβ”€β”€ css	               # minified css files
|  β”œβ”€β”€ img                     # images and icons used for the template
|  └── js		               # bundled and minified files from _js folder
β”œβ”€β”€ _config.yml                # sample configuration
β”œβ”€β”€ gulpfile.js                # gulp tasks (tasks autorunner)
β”œβ”€β”€ index.md                   # sample home page (blog page)
└── package.json               # gulp tasks

Usage

You can modify the theme by changing the settings in _config.yml.

Posts

Create a new Markdown file such as 2017-01-13-my-post.md in _post folder. Configure YAML Front Matter (stuff between ---):

---
layout: post # needs to be post
title: Getting Started with Sleek # title of your post
featured-img: sleek #optional - if you want you can include hero image
---

Images

In case you want to add a hero image to the post, apart from changing featured-img in YAML, you also need to add the image file to the project. To do so, just upload an image in .jpg format to _img folder. The name must before the .jpg file extension has to match with featured-img in YAML. Next, run gulp img from command line to generate optimized version of the image and all the thumbnails. You have to restart the jekyll server to see the changes.

Sleek uses Lazy Sizes. Lazy Loader for loading images. Check the link for more info. Lazy Sizes doesnt’t require any configuration and it’s going to be included in your bundled js file.

Pages

The home page is located under index.md file. To change the content or design you have to edit the default.html file in _layouts folder.

In order to add a new page, create a new html or markdown file under root directory or inside _pages folder. To add a link in navigation add it in _config.yml:

# THEME SETTINGS
navigation: # Navigation links
  - {name: 'Home', link: '/'}
  - {name: 'About', link: '/about'}
  - {name: 'Contact', link: '/contact'}

name is the text that will be shown and link, well, it's a link.

Site configuration

Sleek comes with jekyll-seo-tag plugin preinstalled to make sure your website gets the most useful meta tags. See usage to know how to set it up.

Additionally, in _config.yml you can find custom theme settings under # THEME SETTINGS comment. Here's a brief overview of those custom settings:

  • navigation - collection of links that will be shown in the header
  • tagline - text that will be displayed on the homepage under the heading.
  • hero_img - background image of the homepage hero section

Other settings usually enable/disable certain feature, and are discussed with the next sections.

Google Tag Manager

To enable Google Tag Manager, add the uncomment the following line in _config.yml:

google_tag_manager: GTM-XXXXXXX

Replace GTM-XXXXXXX with your Google Tag Manager Container ID.

Note by default GTM tracking snippet will be also included in development environment.

Google Tag Manager was chosen for this project as it's more flexible than Google Analytics, and it can be used to add GA to your site.

Disqus

To enable Disqus comments, add your Disqus shortname to _config.yml:

disqus:
  shortname: my_disqus_shortname

Formspree

To use Formspree with your email address, you need to change the following:

Change [email protected] email in _config.yml

email: [email protected]

You can check if it works by simply submitting the form.

If you have a Formspree Gold Account, you can take advantage of using AJAX to submit form. To do so, uncomment last function in _js/scripts.js and run gulp js. Now the form will be submitted asynchronously, without leaving the page.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/janczizikow/sleek. 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 and npm install.

The theme is setup just like a normal Jekyll site! Check out file structure overview for details. To test the theme, run gulp and open your browser at http://localhost:3000. This starts a Jekyll server using the theme. Add pages, documents, data, etc. like normal to test the theme's contents. As you make modifications to the theme and to the content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.

License

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

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].