Giter Site home page Giter Site logo

doc22940 / saber-theme-tufte Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alstormyk/saber-theme-tufte

0.0 1.0 0.0 5.57 MB

A Saber theme inspired by Tufte

Home Page: https://saber-theme-tufte.netlify.com/

Vue 5.71% JavaScript 16.94% CSS 2.42% HTML 74.93%

saber-theme-tufte's Introduction

saber-theme-tufte

npm

A Saber theme inspired by Tufte.

Install

yarn add saber-theme-tufte

In your saber-config.yml:

theme: tufte

This theme works best with following plugins:

  • saber-plugin-query-posts: Inject posts to homepage's page prop, generate tag pages
yarn add saber-plugin-query-posts
plugins:
  - resolve: saber-plugin-query-posts

Layouts

  • post: For individual blog posts.
  • page: For normal page with only the header and footer.
  • default: A home page to show all your posts.

The default page can be customized with a title, subtitle, and description:

layout: default
# Inject post list as `page.posts` (by saber-plugin-query-posts)
injectAllPosts: true
title:
subtitle: 
description: 

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 and optional repository link:

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

License

MIT.

saber-theme-tufte's People

Contributors

arashigrey avatar

Watchers

 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.