Skip to content
A Saber Port of the Default Jekyll Theme: Minima
Vue CSS JavaScript
Branch: master
Clone or download
dependabot-preview and egoist chore(deps-dev): bump saber from 0.8.1 to 0.9.0 (#31)
Bumps [saber](https://github.com/egoist/saber) from 0.8.1 to 0.9.0.
- [Release notes](https://github.com/egoist/saber/releases)
- [Commits](https://github.com/egoist/saber/compare/saber@0.8.1...saber@0.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Latest commit 77c1dc9 Sep 16, 2019

README.md

saber-theme-minima

npm circleci

A Saber Port of the Default Jekyll Theme: Minima

Install

yarn add saber-theme-minima

In your saber-config.yml:

theme: minima

This theme uses the following Saber plugins:

  • saber-plugin-query-posts: Inject posts to homepage's page prop, generate tag pages.
  • saber-plugin-feed: Generate RSS feed.
yarn add saber-plugin-query-posts saber-plugin-feed
plugins:
  - resolve: saber-plugin-query-posts
  - resolve: saber-plugin-feed
    options:
      atomFeed: true

Layouts

  • post: For blog post pages.
  • page: For normal pages.
  • default: For any other pages like homepage and tag pages.

Site Config

Configure site title, description etc. in your saber-config.yml:

siteConfig:
  title: My Site
  description: About this website..
  author: My Name
  email: my@email.com

Theme Config

Navbar

Configure nav to show a set of links in header:

themeConfig:
  nav:
    - text: Home
      link: /
    - text: About
      link: /about.html

Social

Configure the accounts of your social network to show at the bottom of homepage:

themeConfig:
  social:
    dribbble: username
    facebook: username
    flickr: username
    github: username
    instagram: username
    linkedin: username
    pinterest: username
    twitter: username
    youtube: username
    telegram: username
    microdotblog: username
    googleplus: username
    rss: true 

Comments

You can use Disqus for comments:

themeConfig:
  disqus: disqus-short-name

# Note that `siteConfig.url` is required for Disqus
siteConfig:
  url: https://example.com

Comments are only enabled for post layout, to disable comments in specific page, you can use the page attribute comments:

---
title: Hello
layout: post
date: 2018-08-12
comments: false
---

Hello World!

License

MIT.

You can’t perform that action at this time.