Yet another concise and clean theme for hexo.
- Install
cd your-blog
git clone https://github.com/clarkzsd/hexo-theme-impromptu themes/impromptu
-
Enable theme
Update
theme
option inyour-blog/_config.yml
:
theme: impromptu
themes/improptu/_config.yml
# Header:
# Navigation menu
menu:
Home: /
About: /about
Archives: /archives
# Social links:
# Will be displayed as icons in the profile area
social:
twitter: https://twitter.com/
github: https://github.com/
instagram: https://twitter.com/
weibo: https://weibo.com/
# Keyword for SEO
keyword: Sytone's Blog
# favicon filename(path: ./source/img/)
favicon: favicon.ico
# Author profile
author: Sytone
# avatar filename(path: ./source/img/)
avatar: avatar.png
bio: VENI VIDI VICI.
# Disqus:
# Your disqus shortname to enable disqus
disqus_shortname:
# Gitment:
# Your gitment related options to enable gitment
gitment:
owner:
repo:
client:
id:
secret:
Note:
- Put your favicon and avatar in
themes/impromptu/source/img/
---
title:
date:
tags:
categories:
description:
image:
---
...
description
: The description blow the post title. Word limit: 120 words.image
: The url of image. Will be displayed as a cover image of the post. Preview:
cd themes/impromptu
git pull
cd themes/impromptu
npm install
# devlopment mode with hexo server(serve at localhost:4000)
npm run start
# build for production
npm run build
MIT