Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alstormyk/saber-theme-tufte
A Saber theme inspired by Tufte
https://github.com/alstormyk/saber-theme-tufte
markdown mathjax saber saber-theme tufte vue
Last synced: 2 days ago
JSON representation
A Saber theme inspired by Tufte
- Host: GitHub
- URL: https://github.com/alstormyk/saber-theme-tufte
- Owner: alstormyk
- Created: 2019-04-18T10:21:29.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-03T08:34:21.000Z (almost 2 years ago)
- Last Synced: 2024-08-17T23:01:32.338Z (3 months ago)
- Topics: markdown, mathjax, saber, saber-theme, tufte, vue
- Language: HTML
- Homepage: https://saber-theme-tufte.netlify.com/
- Size: 5.67 MB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# saber-theme-tufte
[![npm](https://badgen.net/npm/v/saber-theme-tufte)](https://npm.im/saber-theme-tufte)
> A [Saber](https://saber.land/) theme inspired by [Tufte](https://edwardtufte.github.io/tufte-css/).
## Install
```bash
yarn add saber-theme-tufte
```In your `saber-config.yml`:
```yml
theme: tufte
```This theme works best with following plugins:
- `saber-plugin-query-posts`: Inject `posts` to homepage's `page` prop, generate tag pages
```bash
yarn add saber-plugin-query-posts
``````yml
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:
```yml
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`:
```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:
```yml
themeConfig:
nav:
- text: Home
link: /
- text: About
link: /about.html
```## License
MIT.