Skip to content

Instantly share code, notes, and snippets.

@Ouvill
Last active March 30, 2019 06:43
Show Gist options
  • Save Ouvill/276c6b6527f08f42ff8dd4632ab82697 to your computer and use it in GitHub Desktop.
Save Ouvill/276c6b6527f08f42ff8dd4632ab82697 to your computer and use it in GitHub Desktop.
vuepress_blog_sample

category: hello tags:

  • world date: 2019-01-21 title: Hello, world! vssue-title: Hello, world!

これは最初の投稿です。

moreより上にかかれたことは、記事リストの中に表示されます

more より下にかかれたことは、記事にアクセスされたときしか表示されません。記事リストに内容は表示されません。

// .vuepress/config.js
module.exports = {
// Title of your website
title: 'My Blog',
// Description of your website
description: 'This is my blog',
// Language of your website
locales: {
'/': {
lang: 'ja-JP',
},
},
// Theme to use
theme: 'meteorlxy',
// Theme config
themeConfig: {
// Language of this theme. See the [Theme Language] section below.
lang: require('vuepress-theme-meteorlxy/lib/langs/ja-JP'),
// Personal infomation (delete the fields if you don't have / don't want to display)
personalInfo: {
// Nickname
nickname: 'meteorlxy',
// Introduction of yourself
description: 'Happy Coding<br/>Happy Life',
// Email
email: 'meteor.lxy@foxmail.com',
// Your location
location: 'Xi\'an City, China',
// Your organization
organization: 'Xi\'an Jiao Tong University',
// Your avatar image
// Set to external link
avatar: 'https: //www.meteorlxy.cn/assets/img/avatar.jpg',
// Or put into `.vuepress/public` directory. E.g. `.vuepress/public/img/avatar.jpg`
// avatar: '/img/avatar.jpg',
// Accounts of SNS
sns: {
// Github account and link
github: {
account: 'meteorlxy',
link: 'https: //github.com/meteorlxy',
},
// Facebook account and link
facebook: {
account: 'meteorlxy.cn',
link: 'https: //www.facebook.com/meteorlxy.cn',
},
// LinkedIn account and link
linkedin: {
account: 'meteorlxy',
link: 'http: //www.linkedin.com/in/meteorlxy',
},
// Twitter account and link
twitter: {
account: 'meteorlxy_cn',
link: 'https: //twitter.com/meteorlxy_cn',
},
// Sina Weibo account and link
weibo: {
account: '@焦炭君_Meteor',
link: 'https: //weibo.com/u/2039655434',
},
// Zhihu account and link
zhihu: {
account: 'meteorlxy.cn',
link: 'https: //www.zhihu.com/people/meteorlxy.cn',
},
// Douban account and link
douban: {
account: '159342708',
link: 'https: //www.douban.com/people/159342708',
},
// Reddit account and link
reddit: {
account: 'meteorlxy',
link: 'https: //www.reddit.com/user/meteorlxy',
},
// Medium account and link
medium: {
account: 'meteorlxy.cn',
link: 'https: //medium.com/@meteorlxy.cn',
},
// Instagram account and link
instagram: {
account: 'meteorlxy.cn',
link: 'https: //www.instagram.com/meteorlxy.cn',
},
// GitLab account and link
gitlab: {
account: 'meteorlxy',
link: 'https: //gitlab.com/meteorlxy',
},
// Bitbucket account and link
bitbucket: {
account: 'meteorlxy',
link: 'https: //bitbucket.org/meteorlxy',
},
// Docker Hub account and link
docker: {
account: 'meteorlxy',
link: 'https: //hub.docker.com/u/meteorlxy',
},
},
},
// Header Config
header: {
// The background of the header. You can choose to use an image, or to use random pattern (geopattern)
background: {
// URL of the background image. If you set the URL, the random pattern will not be generated, and the `useGeo` will be ignored.
url: '/assets/img/bg.jpg',
// Use random pattern. If you set it to `false`, and you don't set the image URL, the background will be blank.
useGeo: true,
},
// show title in the header or not
showTitle: true,
},
// Show the last updated time of your posts
lastUpdated: true,
// The content of your navbar links
nav: [
{
text: 'Home', link: '/', exact: true
},
{
text: 'Posts', link: '/posts/', exact: false
},
],
// Comments config. See the [Posts Comments] section below.
comments: false,
// comments: {
// owner: 'meteorlxy',
// repo: 'vuepress-theme-meteorlxy',
// clientId: 'MY_CLIENT_ID',
// clientSecret: 'MY_CLIENT_SECRET',
// },
},
}
{
"name": "vuepress_blog_sample",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"dev": "vuepress dev src",
"build": "vuepress build src --dest dist"
},
"author": "",
"license": "ISC",
"dependencies": {
"vuepress": "^1.0.0-alpha.44"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment