Giter VIP home page Giter VIP logo

saber-theme-tailsaw's Introduction

Tailsaw: Saber Blog Starter Template

This is a starter template for creating a beautiful, customizable blog in Saber with minimal effort. It is based on the Blog Template for Jigsaw. See the demo.

Installation

yarn add saber-theme-tailsaw

Then, in your Saber config file:

theme: tailsaw
plugins:
  - saber-plugin-query-posts
  - saber-plugin-prismjs
  # If you want to enable local search:
  - saber-plugin-search

This starter template includes samples of common page types, and comes pre-configured with:

  • A fully responsive theme
  • Tailwind CSS, a utility CSS framework that allows you to customize your design without touching a line of CSS
  • Syntax highlighting using Prism
  • A search bar which indexes your content automatically (when saber-plugin-search is used)
  • Progress bar and page transition
  • A custom 404 page
  • A component for accepting newsletter signups
  • A sample contact form

Coming soon:

  • RSS feed and sitemap generator
  • Config options

Adding Content

You can write your content using a variety of file types. Your content is located in the pages/_posts/ folder.

The top of each content page contains a YAML header that specifies how it should be rendered. The title attribute is used to dynamically generate HTML title and OpenGraph tags for each page. The layout attribute defines which parent layout this content file will render with (e.g. post will render with theme/layouts/post.vue).

---
title: First Post
layout: post
date: 2019-04-29
author: Jane
categories:
  - meta
slug: first-post
featured: true
assets:
  cover: ./first-post.png
---

Adding Assets

You can easily include assets in your posts, just by linking to their relative location.


Building Your Site

Now that you know how to customize your content, let’s build the site.

yarn build

Your built site is under public/.

saber-theme-tailsaw's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar diomed avatar egoist avatar kidonng avatar krmax44 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  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-tailsaw's Issues

demo link

please put demo link in place for website.

::selection

would you please add

::selection

color to template

so background would be mintcream or lavender or some nice color like that?

post count [post number]

this should be pretty easy to include, on index page I guess;
Saw it on one blog:

Nice! 24 posts in total. Keep on posting.

Flickering fonts during page navigation

I got curious about Saber when I've come across it β€” I've been looking for a fully static Vue generator for a while, and so far, from what I've seen, it looks very nice. One thing that got me concerned is that this theme, wherever it's coming from, has a flicker fonts during navigation β€” while changing page, for a while, different (default?) font is showing - tested on latest Firefox DE and Safari 13.0.1 Beta.

Screen recording: https://dsc.cloud/d3bca6/saber-tailsaw-flickering-fonts
Screenshots (from screen recording :D)

CSS (working):
saber-tailsaw-fonts-as-defined

Navigating (system):
saber-tailsaw-fonts-while-navigating

I also use Tailwind, so I'm curious (hoping) this is only issue with theme itself (i.e. defining font classes on a different element solves it), and not something that can't be coded around.

Thank you.

Sidebar

Your theme looks nice. Could you add a sidebar? Just like the one you're using for saber.land?

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.