Skip to content

mikepinney/Mikeflix

 
 

Repository files navigation

Mikeflix

Setup

  1. Install Jekyll (use the command sudo gem install jekyll)
  2. Fork the Jekflix Template
  3. Clone the repo you just forked
  4. Edit _config.yml to personalize your site
  5. Check out the sample posts in _posts to see examples for assigning category, tags, image and other YAML data
  6. Read the documentation below for further customization pointers and documentation
  7. Remember to compile your assets files with Gulp

Settings

You have to fill some informations on _config.yml to customize your site.

Color customization

All color variables are in src/styl/_variables.styl.

Default colors:

#ff0a16 #FF0A16 Theme Color

#141414 #141414 Primary Dark

#ffffff #FFFFFF Accent Dark

#f2f2f2 #F2F2F2 Light Gray

#333333 #333333 Texts

Creating drafts

You can use the initdraft.sh to create your new drafts. Just follow the command:

./initdraft.sh -c Post Title

The new file will be created at _drafts with this format date-title.md.

Creating posts

You can use the initpost.sh to create your new posts. Just follow the command:

./initpost.sh -c Post Title

The new file will be created at _posts with this format date-title.md.

Front-matter

When you create a new post, you need to fill the post information in the front-matter, follow this example:

---
layout: post
title: "Welcome"
description: Lorem ipsum dolor sit amet, consectetur adipisicing elit.
image: 'http://res.cloudinary.com/dm7h7e8xj/image/upload/c_scale,w_760/v1504807239/morpheus_xdzgg1.jpg'
category: 'blog'
tags:
- blog
- jekyll
twitter_text: Lorem ipsum dolor sit amet, consectetur adipisicing elit.
introduction: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
---

Your image size should have the proportion of a 600x315 image to look good on home page.

Run locally

In order to compile the assets and run Jekyll on local you need to follow those steps:

  • Install NodeJS (remember to use the latest version)
  • Run sudo npm install
  • Run sudo npm install -g gulp gulp-cli
  • Run sudo gulp

Author

Thiago Rossener based on Cards Jekyll Template.

License

Jekflix Template is available under the MIT license. See the LICENSE file for more info.

About

Personal repository

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 35.5%
  • HTML 30.7%
  • CSS 23.5%
  • Shell 8.5%
  • Ruby 1.8%