Skip to content

Releases: saberland/saber

saber v0.4.3

15 Apr 06:38
Compare
Choose a tag to compare

New Features

  • webpack: Resolve .vue files by default, so you can import a .vue file without specifying the extension.
  • vue: Support page transition.
  • core: Support redirect.
  • plugin: Add saber-plugin-meta-redirect and saber-plugin-netlify-redirect
  • generator: Replace create-blog with create-site. create-site can do everything and create-blog will use create-site internally to create a blog template, just for convenience.

Bug Fixes

  • internal: $saber.getPageLink should always return a string
  • css: Fix font-size for highlight mask

saber v0.4

09 Apr 16:31
Compare
Choose a tag to compare

New Features

  • --lazy mode: Build pages when they're requested. Documentation coming later.
  • Add chainMarkdown hook to customize markdown-it options and plugins. Documentation coming later.
  • saber-plugin-query-posts: Support categories.

BREAKINGS CHANGES

  • saber-plugin-query-posts: tag pages will now use layout tag instead of tags by default.

saber v0.3.2

31 Mar 06:30
Compare
Choose a tag to compare

BREAKING CHANGES

Now there will be only two page types, page and post, it doesn't really break any user-land code though (hopefully).

Bug Fixes

  • Convert backslash to slash when creating page from a file, fixes #37 #38

saber-plugin-query-posts v0.0.6

31 Mar 06:26
Compare
Choose a tag to compare

BREAKING CHANGES

Now this plugin won't automatically create a homepage for you, you have to create one like pages/index.md yourself and set page attribute injectAllPosts: true in this page if you wanna inject post list to the page prop as page.posts and inject pagination as page.pagination.

v0.3.0

27 Mar 14:47
Compare
Choose a tag to compare

BREAKING:

  • api.source is removed, use api.pages instead
  • Updated default CSS for code blocks.

Features:

  • Set datetime in page filename, #32