Skip to content
📝 Plain theme for Hexo.
HTML CSS JavaScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
languages Clam yaml parser and allow build. Fix #11 Aug 29, 2016
layout bug fixed: (博客部署在子目录情况下)解决点击文章左上角返回按钮后,返回到根目录的问题; Apr 1, 2020
screenShots picture change in readme May 13, 2016
source 🐛 fixed: disqus iframe style went wrong Apr 8, 2020
.all-contributorsrc docs: update .all-contributorsrc Apr 8, 2020
.gitignore font-family update Aug 9, 2017
LICENSE Create LICENSE Aug 3, 2019
README.md typo Apr 8, 2020
_config.yml 💄 update css Jan 4, 2020

README.md

hexo-theme-pln

All Contributors

A plain, text-friendly Hexo theme

一个纯文字友好的Hexo主题

index tags article dropdown screenshots capcures at 2016-05-14, ver1.0


Install

Execute the following command in your hexo folder.

git clone https://github.com/gaoryrt/hexo-theme-pln.git themes/pln

Then find theme in hexo/_config.yml, make it look like this: theme: pln

Update

Execute the following command to update Pln.

cd themes/pln
git pull

Uninstall

Execute the following command to uninstall Pln.

cd themes
rm -rf pln

After install

请务必修改以下内容。

Always adds subtitle: to your hexo/_config.yml to avoid bug.

subtitle: 'I am subtitle.'

...
If your site is put in a subdirectory, set root as '/<your subdirectory>/', for example: /blog/.
root: ''

You should modify hexo/themes/pln/_config.yml file before deploying.

menu:
  main: /
  archives: /archives

logo: **word on the left-top end**

more:
  **link title**: **link url**
  rss: /rss2.xml

about:
  title: **blue words fixed on the right end**
  link: **url of the blue words**

disqus_shortname: **as it described, find it on your disqus site**

excerpt_num: **number of auto excerpt words**

footer_info: **black words fixed on the right end**

Issues

Issues are always welcome.

欢迎您对本项目提供和意见和建议。

(请直接提issue,或在微博上私信,一般回复时间不超过12小时)

FAQ


Changelog

UNFOLD ALL
  • 2016-04-12: init
  • 2016-04-13: disqus showing same comments bug fix
  • 2016-04-13: read more link add
  • 2016-04-13: no-tag but icon bug fix
  • 2016-04-13: pass theme unit test
  • 2016-04-14: see 2016-04-12 意见和建议
  • 2016-04-17: archives header bug fix
  • 2016-04-24: forgot to add a css file last commit, maybe that's why nobody gives a star
  • 2016-04-25: missing tag icon bug fix
  • 2016-04-26: ul list unstyle bug fix
  • 2016-04-27: add google_analytics, add google_analytics: YOURTOKENHERE in hexo/_config.yml file to enable
  • 2016-05-01: no subtitle layout bug fix
  • 2016-05-04: new footer rule, .behind layout upgrade
  • 2016-05-06: upgrade cssstyle, button filter bug fix
  • 2016-05-08: upgrade js ?: operator,fasten loading speed, busuanzi added
  • ------------ VERSION 1.0 ------------
  • 2016-05-14: pln ver1.0, searching function is loading
  • 2016-05-15: css -> SCSS (sass --style compressed main.scss:m.min.css), footer wrap bug fix
  • 2016-05-27: more pln in behind, busuanzi, meta, afterfooter
  • 2016-05-29: h2 > code style bug fixed
  • 2016-07-03: https web-font bug fix
  • 2016-07-05: search added
  • 2016-07-10: disqus bug fix
  • 2016-08-08: apple-touch-icon added
  • 2016-08-18: font update
  • 2016-08-29: i18n: en
  • 2016-11-06: Bug fix: the tab bar can not be scrolled when there are too many tabs. 增加了分享到微信朋友圈的图片,需要将一张名为 wx_share.png 的 大于 300*300 的图片放在根目录(public)下。
  • 2017-02-04: dropdown-content css upgrade
  • 2017-08-27: remove wx_share.png; remove fontawesome, use inline SVG
  • 2018-02-03: support TOC, finally
  • 2018-05-04: optional TOC; Fixed #27
  • 2020-01-04: support deploy site to server subdirectory by shuiRong
  • 2020-01-04: fix #33 and #36

License

MIT

Contributors

Thanks goes to these wonderful people (emoji key):


Nine

📦 🔧

Will Masters

🐛

林水溶

🐛

Alois

🐛

gaoryrt

💻
You can’t perform that action at this time.