JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q55391F
  • License MIT

A blog theme for VuePress by tolking

Package Exports

  • vuepress-theme-ououe

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vuepress-theme-ououe) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

vuepress-theme-ououe

A blog theme for VuePress by tolking

This theme is for Vuepress 1.x which is currently in alpha

Live Demo: My Blog

Documentation

Uses vuepress-theme-ououe-template to starter

Take TryGhost/Casper as a reference

Installation

npm install -d vuepress-theme-ououe

Structure directores

+- blog
  +- .vuepress
    +- config.js
  +- posts
    +- index.md
    +- XXX.md
    ...
  +- about.md
  +- index.md
  ...

Configuration

.vuepress/config.js

module.exports = {
  title: 'blog',
  description: 'Vuepress-theme-ououe',
  base: '/',
  head: [
    ['link', { rel: 'icon', href: '/favicon.png' }]
  ],
  theme: 'ououe',
  themeConfig: {
    cover: '/cover.jpg',
    logo: '/logo.png',
    search: true,
    postTime: {
      createTime: 'Create Time',
      lastUpdated: 'Last Updated'
    },
    nav: [{
      text: 'Home',
      link: '/'
    }, {
      text: 'Posts',
      link: '/posts/'
    }, {
      text: 'About',
      link: '/about.html'
    }],
    footer: [{
      text: 'Github',
      link: 'https://github.com/tolking'
    }]
  }
}

Parameters

---
title: blog
lang: en-US
layout: Page
display: home
image: ...
date: 2019-02-22
meta:
  - name: description
    content: description
--- 

The post intro uses the <!-- more --> tag

The post uses display: home to show in the home page

Default layout

index.md -- layout: Layout

XXX.md -- layout: Page

Use layout to change default

License

MIT

Keywords

vue vuepress theme ououe blog Ghost Casper