GithubHelp home page GithubHelp logo

a3f / bal6eem Goto Github PK

View Code? Open in Web Editor NEW

This project forked from arnp/herring-cove

0.0 3.0 0.0 3.44 MB

Herring Cove is a clean and responsive theme for Jekyll.

Home Page: http://a3f.at/bal6eem

License: MIT License

HTML 74.37% CSS 24.16% JavaScript 1.47%

bal6eem's Introduction

Bal6eem

Bal6eem ia based on Herring Cove, a clean and responsive theme for Jekyll.

Overview

  • Good support for Arabic and other RTL languages
  • Clean and blog-friendly
  • Categories and tag support
  • Easy to configure

Screenshots

screenshot screenshot

Setup

in General

  1. Install Jekyll
  2. Fork or download this theme repo
  3. Edit the _config.yml file

Github Pages

Organization or user pages
  1. Create a {username}.github.io or {orgname}.github.io repository
  2. Fork this project. Delete the master branch and rename the gh-pages to master
Project page
  1. clone the gh-pages branch of this repository to your own project

Use

Add a blog post

A new file needs to be created in the _posts/ directory with following schema: yyyy-mm-dd-Some-Title.markdown.

The post format is Github-flavored markdown, which is a strict superset of HTML, so you are free to mix them as you please. Every File has a YAML Front Matter at its start, with optional parameters that specify how the site is to be displayed. A full example (## are comments):

---
title:  "Some title for your site"
date:   2013-11-08 19:55:16
categories: osdev bootloader
tags: c x86 real-mode
direction: ltr ## this is optional, if left out it defaults to rtl (right to left)
comments: true ## enable disqus comments?
author: a3f ## can be left out
---
Your text here in Github flavoured Markdown

Add an author

Any post can have an author tag in the YAML front matter. If a link/avatar/bio are wished for, it is quite easy to. Open _data/authors.yml and just add a new entry:

jekyll:
    name:       Dr. Henry Jekyll
    gravatar:   deadbeefdeadbeefdeadbeefdeadbeef
    site:       example/com
    contact:    [email protected]
    biodir:     ltr
    bio: 		Dr. Jekyll is a large, well-made, smooth-faced man of fifty with something of a
 				slyish cast", who occasionally feels he is battling between the good and
				evil within himself, thus leading to the struggle between his dual personalities
				of Henry Jekyll and Edward Hyde.

Now any post by said author will have the author name linking to his site and have the bio at the end of the article.

For on-site longer bios, a page can be created and stylized with markdown. For that see next point.

Add a general page

Just add a page under pages/ with following content:

---
layout: page
permalink: /author/jekyll/
---
---
#Dr. Henry Jekyll

Hello my name is <em>Jekyll</em> and I preprocess and serve **static blogs** by day. I mutate by night.

Adding new tags

Tags are meant as keywords for your posts, if you want to add new tags, navigate to _data/tags.yml. A tag entry looks like this:

ia32:
	name: IA32

This can then be used to tag posts via the tags: YAML-Parameter. The tag overview page has to be created manually. For that duplicate any tag file in /tag/*.md and adjust the parameters.

Adding new categories

If you want to add new categories, navigate to _data/categories.yml. A category entry looks like this:

linux:
	name: Linux

This can then be used to categorize posts via the categories: YAML-Parameter. The category overview page has to be created manually. For that duplicate any category file in /category/*.md and adjust the parameters. An overview page of all categories exists at /categories.html and is populated automatically according to posts in /_posts and categories in _data/categories.yml.

Right-to-Left

The default direction is RTL. If a Left-to-Right direction is wished for in a single blog post this can be done by adding this line in the YAML frontmatter (the parameters at the top of the blog post):

 direction: ltr

License

bal6eem's People

Contributors

a3f avatar arnp avatar durkie avatar entendu avatar justmyfreak avatar neizod avatar stopfstedt avatar wesleyk avatar

Watchers

 avatar  avatar  avatar

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.