-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #679 from artemsheludko/master
Add Zolan Theme
- Loading branch information
Showing
2 changed files
with
183 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,183 @@ | ||
--- | ||
layout: post | ||
title: Zolan | ||
date: 2019-08-14 00:00:00 | ||
homepage: https://github.com/artemsheludko/zolan | ||
download: https://github.com/artemsheludko/zolan/archive/master.zip | ||
demo: https://artemsheludko.github.io/zolan/ | ||
author: Artem Sheludko | ||
thumbnail: zolan.png | ||
license: MIT | ||
license_link: https://github.com/artemsheludko/flexible-jekyll/blob/master/LICENSE.txt | ||
--- | ||
|
||
Zolan - Modern & Minimal Theme for Jekyll | ||
====== | ||
Zolan is a modern and minimal Jekyll theme for sharing your ideas. | ||
|
||
* * * | ||
|
||
Table of Contents | ||
----------------- | ||
* [Features](#features) | ||
* [Demo](#demo) | ||
* [Deployment](#deployment) | ||
* [Posts](#posts) | ||
* [Disqus Comments](#DisqusComments) | ||
* [Instagram](#instagram) | ||
* [Google Analytics](#GoogleAnalytics) | ||
* [Update favicon](#UpdateFavicon) | ||
* [Credits](#Credits) | ||
* [Support](#Support) | ||
|
||
* * * | ||
|
||
### Features | ||
|
||
* 100% responsive and clean theme | ||
|
||
* Optimized for mobile devices | ||
|
||
* Minimal design | ||
|
||
* Valid HTML5 code | ||
|
||
* Post sharing | ||
|
||
* Subscription form | ||
|
||
* Supports Disqus Comments | ||
|
||
* Instagram Feed | ||
|
||
* Ionicons Icons | ||
|
||
* Google Fonts | ||
|
||
|
||
* * * | ||
|
||
### Demo | ||
|
||
Check the theme in action [Demo](https://artemsheludko.github.io/zolan/) | ||
|
||
![Main page preview](https://github.com/artemsheludko/zolan/blob/master/images/zolan-main-page.png?raw=true) | ||
|
||
The post page would look like this: | ||
|
||
![Post page preview](https://github.com/artemsheludko/zolan/blob/master/images/zolan-post.png?raw=true) | ||
|
||
* * * | ||
|
||
### Deployment | ||
|
||
To run the theme locally, navigate to the theme directory and run `bundle install` to install the dependencies, then run `jekyll serve` or `bundle exec jekyll serve` to start the Jekyll server. | ||
|
||
I would recommend checking the [Deployment Methods](https://jekyllrb.com/docs/deployment-methods/) page on Jekyll website. | ||
|
||
* * * | ||
|
||
### Posts | ||
|
||
To create a new post, you can create a new markdown file inside the \_posts directory by following the [recommended file structure](https://jekyllrb.com/docs/posts/#creating-post-files). | ||
|
||
--- | ||
layout: post | ||
title: Time to give gifts to everyone | ||
date: 2018-08-23 16:04:00 +0300 | ||
image: 03.jpg | ||
tags: Life | ||
--- | ||
|
||
|
||
You can set the tags and the post image. | ||
|
||
Add post images to **/images/** directory. | ||
|
||
For tags, try to not add space between two words, for example, `Ruby on Rails`, could be something like (`ruby-on-rails`, `Ruby_on_Rails`, or `Ruby-on-Rails`). | ||
|
||
* * * | ||
|
||
### Disqus Comments | ||
|
||
Zolan Theme comes with Disqus comments enabled. | ||
|
||
Open `_data/settings.yml` file, and change the `mr-brown` value on line 26 with your [Disqus account shortname](https://help.disqus.com/customer/portal/articles/466208). | ||
|
||
Comment Section (Disqus) | ||
disqus-identifier: mr-brown # Add your shortname for Disqus Comment. For example mr-brown | ||
|
||
|
||
That’s all you need to setup Disqus from the theme side. If you get any issue regarding that comments are unable to load. First, make sure you have [registered your website with Disqus (Step 1)](https://help.disqus.com/customer/portal/articles/466182-publisher-quick-start-guide). | ||
|
||
And also check [Disqus troubleshooting guide](https://help.disqus.com/customer/portal/articles/472007-i-m-receiving-the-message-%22we-were-unable-to-load-disqus-%22) if you still have issues. | ||
|
||
* * * | ||
|
||
|
||
The Instagram feed is working using [Instafeed.js](http://instafeedjs.com/) to show the photos. | ||
|
||
First, you will need to get your account `userId` and `accessToken` from the following URLs: | ||
|
||
* userId: [http://codeofaninja.com/tools/find-instagram-user-id/](http://codeofaninja.com/tools/find-instagram-user-id/) | ||
* accessToken: [instagram.pixelunion.net](http://instagram.pixelunion.net/) | ||
|
||
Second, open the `js/common.js` file and replace the `userId` and `accessToken` values. | ||
|
||
var instagramFeed = new Instafeed({ | ||
get: 'user', | ||
limit: 6, | ||
resolution: 'standard_resolution', | ||
userId: '8987997106', | ||
accessToken: '8987997106.924f677.8555ecbd52584f41b9b22ec1a16dafb9', | ||
template: '' | ||
}); | ||
|
||
|
||
Third, open the `_data/settings.yml` file and replace the `instafeed: false` on `instafeed: true` value. | ||
|
||
# Instagram Feed | ||
instafeed: false # To enable the instafeed, use the value true. To turn off use the value false. | ||
|
||
|
||
* * * | ||
|
||
### Google Analytics | ||
|
||
To integrate Google Analytics, open `_data/settings.yml`, and add your Google Analytics identifier. | ||
|
||
# Google Analytics | ||
google-analytics: # Add your identifier. For example UA-99631805-1 | ||
|
||
|
||
* * * | ||
|
||
### Update favicon | ||
|
||
You can find the current favicon (favicon.ico) inside the theme root directory, just replace it with your new favicon. | ||
|
||
* * * | ||
|
||
### Credits | ||
|
||
I have used the following scripts, fonts or other files as listed. | ||
|
||
* [Google Fonts](https://fonts.google.com/specimen/Nunito) (Roboto, Sans Serif). | ||
* [Ionicons Icons](https://ionicons.com/) | ||
* [FitVids.js](http://fitvidsjs.com/) | ||
* [Medium’s Image Zoom](https://github.com/fat/zoom.js) | ||
* [Instafeed.js](http://instafeedjs.com/) | ||
* [jQuery.com](https://jquery.com/) | ||
* Preview Images form [unsplash.com](https://unsplash.com/), [pexels.com](https://www.pexels.com/) | ||
|
||
* * * | ||
### License | ||
|
||
Mit License | ||
|
||
* * * | ||
|
||
### Support | ||
<p>If you like the themes that I create you can become my sponsor on <a href="https://www.patreon.com/artemsheludko" target="_blank">Patreon</a>. | ||
<p align="center"><b>Thank you for your support ❤️</b></p> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.