Skip to content
This repository has been archived by the owner on Aug 13, 2020. It is now read-only.

Latest commit

 

History

History
95 lines (64 loc) · 1.52 KB

README.md

File metadata and controls

95 lines (64 loc) · 1.52 KB

Ume

npm

Ume is an elegant theme for Saber.js.

Ume

Install

yarn add saber-theme-ume

In your saber-config.yml:

theme: ume

Plugins

yarn add saber-plugin-query-posts saber-plugin-feed saber-highlighter-prism

Layouts

  • page: For normal/blog post pages.

Configs

Site Config

Configure site title, description etc in your saber-config.yml:

siteConfig:
  title: My Site
  description: About this website..
  author: My Name
  url: https://example.com
  email: [email protected]

Theme Config

themeConfig:
  title: The Title shown on the index page.
  subTitle: The subTitle shown on the index page.
  copyRight: © Copyright
  
  sideBar:
    - title: About
      link: /about.html
    - title: Tags
      link: /tags.html  # You need to add `/example/pages/tags.vue` in your `pages` folder to enable the tag cloud page.

  # The Home section on sidebar, this will shown on mobile device.
  spHome:
    title: Home
    link: /

Markdown Config

markdown:
  highlighter: prism

Plugin Config

plugins:

  # Google Analytics
  # - resolve: saber-plugin-google-analytics
  #   options:
  #     trackId: ''

  - resolve: saber-plugin-generate-feed
  - resolve: saber-plugin-query-posts

License

MIT.

Thanks

Inspired from hexo-theme-journal.