GithubHelp home page GithubHelp logo

mickey's Introduction

Mickey

Mickey is a minimal one-column, responsive theme for Jekyll.

It's inspired by Hyde, Medium, and Squarespace.

Mickey screenshots

See Mickey in action with the demo site or my personal blog.

Contents

Installation

Mickey requires Jekyll 2.x. and Gulp for workflow automation.

Make sure to run gem update jekyll if you aren’t on the latest version or gem install jekyll if this is your first time installing it.

If you want to use Mickey, please follow these steps:

  1. Fork the Mickey repo.
  2. Clone the repo you just forked and rename it.
  3. Run npm install to install the dependencies for the theme contained in package.json
  4. Update _config.yml with your own info and replace demo posts and pages with your own. Full details below.

Options

Mickey includes some customizable options:

Post front matter

By default, we use the following:

---
layout:           post
title:            "your post title"
date:             2015-02-11T13:04:19+05:45 # XML Schema Date/Time
last_modified_at: 2015-03-15T05:20:00+05:45 # last page modified date/time
excerpt:          "for meta description" # Optional for overwriting content excerpt
categories:       your post categories # ["category1"] - best is to have one category in a post
tags:             your post tags # ["tag1", "tag2", "tag3"] - you can have several post tags
image:
  feature: your post featured image file name # image.jpg, suggested size:  2000x700px
  topPosition: 0px # top position for featured image if needed
bgContrast: dark # Featured image contrast
bgGradientOpacity: darker # darker or lighter - control featured image opacity
---

Identity

To replace logos with your own, simply update the following files in assets/images/:

  • logo-white.svg
  • logo-black.svg
  • logo-text-white.svg
  • logo-text-black.svg

Typography

Vertical rhythm and spacing are mostly handled by typebase.css. If you want to change any settings related to typography (e.g. fonts, type scale...etc), please do it in _scss/_typography.scss

Blockquote

We have two types of blockquote design:

// For large featured quote
<blockquote class="largeQuote">...</blockquote>

// For normal quote
// Use 'u--startsWithDoubleQuote' class only when the quote starts with a double quote
<blockquote class="u--startsWithDoubleQuote"></blockquote>

Hanging quotes

If a paragraph starts with a quotation market, please add the following to support hanging quotes:

<p class="u--startsWithDoubleQuote">
...
</p>

Images

To maintain vertical rhythm and spacing, I suggest using the following CSS class (e.g. img--5xLeading...img--16xLeading) to control the image height:

<div class="img img--fullContainer img--14xLeading" style="background-image: url();"></div>

You can reference _scss/_images.scss for details.

Development

Mickey has two branches, but only one is used for active development.

  • master for development. All pull requests should be submitted against master.
  • gh-pages for our hosted landing page. Please avoid using this branch.

During development, simply run gulp in terminal and it will compile the jekyll site, compile Sass, create post thumbnails, launch BrowserSync & watch files for changes and recompile.

Source Sass files are located in _scss/, included into main.scss, and compile to assets/css/main.css.

Post thumbnails are automatically resized via Gulp's image resize package, and moved to assets/images/thumbnails. Any featured images you put in assets/images/hero will be automatically created

Author

Vincent Chan

License

Open sourced under the MIT license.

Disclaimer: This Jekyll theme is not affiliated with Disney. Obviously :)

mickey's People

Contributors

johnwook avatar vincentchan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

mickey's Issues

Updation of and refactoring code in theme to suite Jekyll 3.x

It has been a long time since you have updated the code of the theme to suite the latest editon of jekyll. Ever since Jekyll was upgraded to version 3.x many problems have arisen in your theme. The fact that it now doesn't even build is just one of the many problems which a person currently using the latest version of the theme has to face. Also note that in case you are not interested with changing the code, I would certainly like to fork your code, but only with your permission.
-A true fan of Mickey

Font

Hi, I love your theme and am using it for my Jekyll blog. It's been bugging me for days, but what font did you use to create the svg title/logo?

support jekyll 3.0

Run jekyll serve

Since v3.0, permalinks for pages in subfolders must be relative to the site source directory, not the parent directory. Check http://jekyllrb.com/docs/upgrading/ for more info.

jekyll 3.0.0

Make urls work locally as well as on gh-pages

If you deploy to a page you need to add '/{Project Name}/' to the _config.yml
However then all the asset linking breaks for testing locally. From what I can tell from the Jekyll docs you can get around this but I haven't quite figured out a good fix as I'm new to jekyll and gulp.
This issue seems to affect your personal blog as well it would be nice if both of these rendered correctly

Changing of title

Anyone knows how to change away the title Mickey?? i've tried changing the config.yml files but nothing changes

Not working with Jekyll 3

When I tried Jekyll serve initially, I got the following message -

Since v3.0, permalinks for pages in subfolders must be relative to the site source directory, not the parent directory. Check http://jekyllrb.com/docs/upgrading/ for more info.

After Googling for a solution, I tried deleting the relative_permalinks from the _config.yml file.
Now when I run Jekyll serve, I get the error -

Dependency Error: Yikes! It looks like you don't have redcarpet or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to install this gem. The full error message from Ruby is: 'cannot load such file -- redcarpet' If you run into trouble, you can find helpful resources at http://jekyllrb.com/help/!
Conversion error: Jekyll::Converters::Markdown encountered an error while converting '_posts/1928-11-18-debut.markdown':
redcarpet
ERROR: YOUR SITE COULD NOT BE BUILT:
------------------------------------
redcarpet

Please help me resolve this! I love this theme!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.