/dulichan.github.io

Chan's writing in a repo

Primary LanguageHTMLMIT LicenseMIT

Scribble

A Jekyll theme. Want a demo? click and read instruction. 👈
More themes.

screenshot

There is no clever design philosophy to talk about, I tried to find something to work with, and 'scribble' came to my mind.

This theme uses Open Sans powered by Google Web Fonts, and was written in plain HTML, SCSS & CoffeeScript, though .scss & .coffee files wouldn't be included in the theme.

The theme is mobile optimized but I did not check browser compatibility. It looks great in Chrome, Safari and Firefox though.


Get started

  1. Fork the repository.
  2. Clone the repository to your computer.
    git clone https://github.com/username/scribble
  3. bundle install
  4. Using older versions of Jekyll
    Build and run Jekyll using jekyll --server --auto.
    Using Jekyll 1.0
    Build Jekyll using jekyll build.
    Then run Jekyll using jekyll serve --watch, go to http://localhost:4000 for your site.

Make it yours

  1. I have extracted most user specific information to _config.yml, you should be able to set up almost everything from it.
  2. Change about.md for blog intro.
  3. For domain settings, see the guide from GitHub.

Options

When writing a post, there are 3 options you can add to the header.

  1. disqus: y
    If disqus is set to 'y', at the end of the post there will be a disqus thread, just like this one. To use disqus, you MUST set up your own disqus account.

  2. share: y
    An option for showing tweet and like button under a post.

  3. date: 2013-05-06 18:07:17
    Date is not a required header since Jekyll reads the file name for date, this was added in only for the signoff time. (as shown at the end of this post) If you don't want the signoff time, go into /includes/signoff.html remove the <span>, and remove {% include signoff.html %} from /layouts/post.html.


The end

Like it? Tell me.
Question? Use GitHub Issues.