GithubHelp home page GithubHelp logo

saberland / saber-theme-minima Goto Github PK

View Code? Open in Web Editor NEW
26.0 3.0 12.0 2.16 MB

A Saber Port of the Default Jekyll Theme: Minima

Home Page: https://minima.saber.land

Vue 50.73% JavaScript 1.29% CSS 47.98%
saber minima jekyll saber-theme

saber-theme-minima's Introduction

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: [email protected]

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.

saber-theme-minima's People

Contributors

dependabot-preview[bot] avatar egoist avatar krmax44 avatar sinchang avatar spekulatius 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

Watchers

 avatar  avatar  avatar

saber-theme-minima's Issues

Disqus doesn't load

Is it just me or Disqus always fails to load? Tried adding saberjs.org to trusted domains but didn't work.

屏幕快照 2019-03-24 下午11 19 59

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.