Giter Club home page Giter Club logo

hexo-theme-pln's Introduction

hexo-theme-pln

All Contributors

🇨🇳 中文 🖼 screenshots

A plain, text-friendly Hexo theme

Install

  1. git clone https://github.com/gaoryrt/hexo-theme-pln.git themes/pln
  2. Modify your hexo configuration, change theme to pln.

Update

cd themes/pln && git pull

Uninstall

cd themes && rm -rf pln

Configuration

Modify your theme/pln/_config.yml file.

Got a question?

Issues are always welcomed.

How to modify site-searching

Or change theme/pln/layout/_partial/search.ejs file using hexo search helper

How to enable Latex

brew install Pandoc
npm uninstall hexo-renderer-marked --save
npm install hexo-renderer-pandoc --save

then enable it in theme configuration.

License

MIT

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Nine

📦 🔧

Will Masters

🐛

林水溶

🐛

Alois

🐛

gaoryrt

💻

hexo-theme-pln's People

Contributors

allcontributors[bot] avatar aloisdg avatar gaoryrt avatar shuirong avatar willmasters avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hexo-theme-pln's Issues

Current build fail because of a YAMLException

When you run hexo server, an error is thrown:

PS C:\Users\alois\Source\Repos\blog\blog> hexo server
INFO  Start processing
ERROR Process failed: languages/en.yml
YAMLException: end of the stream or a document separator is expected at line 4, column 15:
    page_counter: %d articles in total

A quick fix would be to write:

page_counter: There are %d articles in total.

And the YAML parser is happy.

hexo theme unit test

~~1. This post doesn’t have a title. ~~
2. GALLERY POST
3. This is a link post without a title.
4. CATEGORIES
5. Link Post
6. TAGS

配置的几个问题

  1. 怎样将引用的段落的默认的斜体改成正体?因为写代码或者 mathjax 数学公式的时候如果用斜体的话不好看。
  2. 怎样屏蔽侧边栏显示的版权信息?

conflict with .back button & side navigation bar

Hi :)

When I have a long & full side navigation bar due to many contents inside the post, I am not able to click the back (X) button.

If the I have short nagivation bar, I can click the back button to go to the root directory.

How can I fix this?

Thanks in advance

TOC bug?

今天更新后,发现一个问题如下,TOC丢失了第一个字
image
是否跟中文有关?

主题的搜索框如何使用?

按照教程和文档搭建好博客后。发现正上方的搜索框搜索不出来内容。是哪里需要额外的配置吗?

请问如何添加网页图标?

就是浏览器分页栏上显示的页面图标,我把ico和png都放在了source目录下,但是似乎并没有效果。
请问该如何设置?

2016-04-12 意见和建议

要是标题不用全大写字体就好了

还有 PC 上右下角那个 Copyright 似乎有点喧宾夺主了?

这种地方 code 块比正文块往外真的好吗?右边都要挤到 Copyright 去了

移动端 最低下感觉太杂乱了 全挤在一起 特别是那个字体

< PREV NEXT > © Gaoryrt 2015-2016 _About_me 这个地方,真的不能再丑了
是字体的原因么?或许是太挤了? 还是 fixed 放在固定的位置有问题?

关于目录分类归类问题

我的文章开头结构如下:

title: pintos学习笔记0
date: 2015-09-13 10:14:48
categories:

  • Diary
    tags:
  • pintos

我的问题是,我的目录页面显示不完全,而且,出现目录重复。
image

资源引用方式应该使用相对路径|解决博客放到子目录的问题

国际惯例,先赞美作者提供这样简约漂亮的主题。

因为要把博客放到域名子目录下,下午折腾了下,最后解决了。但遇到了些坑,在这里提出来,方便后人根据搜索引擎过来。

  1. 如果什么都不做,直接把博客扔到子目录下,博客css js 等资源引用错误。
  2. 发现hexo文档中有提到子目录,说需要在总配置里配置url root项,试过,无效。(我还得以为配置过后,hexo会自动把主题里的资源引用改成正确的,即考虑到子目录。)
  3. 最后我的解决方式是,1. 在head.ejs中增加<base href="/blog/" />,同时修改各文件中引用文件为相对路径。

需要我提个PR的话,大声喊我。

使用中遇到的问题

  • rss输出需要插件支持,这点作者可以写进README文件中提醒一下
  • 不知怎么的search.xml无法生成,无法体验搜索服务
    以上,如果作者有空的话可以解答下么。thx
    ----------------------->
    谢谢 @Stephen-Chen 的解答。
    综上,建议作者可以在Readme文件中注释需要两个插件的支持

搜索

搜索功能怎么开启?默认好像没用。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.