git clone https://github.com/hirCodd/vuepress-blog.git
yarn install // install lib
yarn dev // run dev
If you see next code:
VuePress dev server listening at http://localhost:8080/
Open Browser, get this addrss: localhost:8080
If you want to develop this blog, you can fork or clone this project.
- Archives
- Tags Cloud
- Simple Categories
this code on the directory: `.vuepress/theme/components/Comments.vue`,yan can use gittalk or gitment easily.
on the xx.md, you can config these properties
---
title: git
comments: true or false
post: true //archives or tags: true
tags:
- xxx
date: 2019/03/21 11:24:30
---
if (element.frontmatter.post == true) {} // archives
if (element.frontmatter.post == true && element.frontmatter.tags.includes(tag)) {} // tags
Most browsers(Firefox,Chrome...)