關於我

網站使用 Jekyll and Mediumish 樣板所建構而成。非營利使用。也與Gitpages格式相容。

jekyll template mediumish

Features

  • Built for Jekyll
  • Compatible with Github pages
  • Featured Posts
  • Index Pagination
  • Post Share
  • Post Categories
  • Prev/Next Link
  • Category Archives (this is not yet compatible with github pages though)
  • Jumbotron Categories
  • Integrations:
    • Disqus Comments
    • Google Analaytics
    • Mailchimp Integration
  • Design Features:
    • Bootstrap v4.x
    • Font Awesome
    • Masonry
  • Layouts:
    • Default
    • Post
    • Page
    • Archive

How to Use

If you aren’t familiar with Jekyll yet, you should know that it is a static site generator. It will transform your plain text into static websites and blogs. No more databases, slow loading websites, risk of being hacked…just your content. And not only that, with Jekyll you get free hosting with GitHub Pages! This page itself is free hosted on Github with the help of Jekyll and Mediumish template that you’re currently previewing. If you are a beginner we recommend you start with Jekyll’s Docs. Now if you know how to use Jekyll, let’s move on to using Mediumish template in Jekyll:

Using Mediumish

Download or Fork Mediumish for Jekyll.

  • In your local project, open _config.yml. If your site is in root, for baseurl, make sure this is set to baseurl: /. Also, change your Google Analytics code, disqus username, authors, Mailchimp list etc.
  • Mediumish requires 2 plugins:
    • $ gem install jekyll-paginate
    • $ gem install jekyll-archives.
  • Edit the menu and footer copyrights in default.html
  • Start by adding your .md files in _posts. Mediumish already has a few as an example.
  • YAML front matter
    • featured post - featured:true
    • exclude featured post from “All stories” loop to avoid duplicated posts - hidden:true
    • post image - image: assets/images/mypic.jpg
    • page comments - comments:true
    • meta description (optional) - description: "this is my meta description"

YAML Post Example:

---
layout: post
title:  "We all wait for summer"
author: john
categories: [ Jekyll, tutorial ]
image: assets/images/5.jpg
featured: true
---

YAML Page Example

---
layout: page
title: Mediumish Template for Jekyll
comments: true
---

Contribute

  • Clone the repo.
  • Create a branch off of master and give it a meaningful name (e.g. my-new-mediumish-feature).
  • Open a pull request on GitHub and describe the feature or fix.

Buy Me A Coffee