All Projects → xiangming → Landscape Plus

xiangming / Landscape Plus

Licence: mit
针对中国大陆地区对hexo官方主题landscape进行优化。

Projects that are alternatives of or similar to Landscape Plus

Hexo Theme Aircloud
A concise hexo theme
Stars: ✭ 394 (-21.67%)
Mutual labels:  hexo, hexo-theme
Hexo Theme Yilia Plus
一个简洁优雅的hexo主题 A simple and elegant theme for hexo.
Stars: ✭ 462 (-8.15%)
Mutual labels:  hexo, hexo-theme
Hexo Theme Typography
Rediscover the beauty of typography.
Stars: ✭ 367 (-27.04%)
Mutual labels:  hexo, hexo-theme
Hexo Theme Inside
🌈 SPA, Flat and clean theme for Hexo.
Stars: ✭ 480 (-4.57%)
Mutual labels:  hexo, hexo-theme
Hexo Theme Obsidian
🎨 A dark Hexo theme, it's responsive, simple but elegant.
Stars: ✭ 448 (-10.93%)
Mutual labels:  hexo, hexo-theme
Hexo Theme Hiker
An attractive theme for Hexo. called "Hiker", short for "HikerNews".
Stars: ✭ 348 (-30.82%)
Mutual labels:  hexo, hexo-theme
Awesome Hexo
A curated list of awesome things related to Hexo
Stars: ✭ 466 (-7.36%)
Mutual labels:  hexo, hexo-theme
Hexo Theme Stun
🦄 An elegant theme for Hexo
Stars: ✭ 305 (-39.36%)
Mutual labels:  hexo, hexo-theme
Hexo Theme Keep
🌈 A simple and elegant theme for Hexo. It makes you more focused on writing.
Stars: ✭ 483 (-3.98%)
Mutual labels:  hexo, hexo-theme
Hexo Theme Suka
🎨Modern, powerful and simple theme for Hexo.
Stars: ✭ 487 (-3.18%)
Mutual labels:  hexo, hexo-theme
Hexo Theme Material
Material Design theme for hexo.
Stars: ✭ 4,028 (+700.8%)
Mutual labels:  hexo, hexo-theme
Hexo Theme Replica
Github style replication for hexo theme
Stars: ✭ 484 (-3.78%)
Mutual labels:  hexo, hexo-theme
Hexo Matery Modified
My personal modified hexo matery theme with some bugs fixed.
Stars: ✭ 342 (-32.01%)
Mutual labels:  hexo, hexo-theme
Hexo Theme Skapp
The hexo flat design theme(扁平化简约主题)
Stars: ✭ 490 (-2.58%)
Mutual labels:  hexo, hexo-theme
Easy Hexo
🤘 Build your own website with Hexo, the easy way. | 轻松使用 Hexo 建站。
Stars: ✭ 314 (-37.57%)
Mutual labels:  hexo, hexo-theme
Hexo Theme Claudia
📌 Concisely designed & easy to config, match device dark mode, 90+ Lighthouse scoring
Stars: ✭ 379 (-24.65%)
Mutual labels:  hexo, hexo-theme
Hexo Theme Polarbear
A super light and simple theme.
Stars: ✭ 301 (-40.16%)
Mutual labels:  hexo, hexo-theme
Hexo Theme Gal
忧郁的弟弟网站主题移植
Stars: ✭ 307 (-38.97%)
Mutual labels:  hexo, hexo-theme
Theme Bmw
✋ Smart Voice: Voice for yourself | 微声: 请为自己发声
Stars: ✭ 373 (-25.84%)
Mutual labels:  hexo, hexo-theme
Hexo Theme Icarus
A simple, delicate, and modern theme for the static site generator Hexo.
Stars: ✭ 5,045 (+902.98%)
Mutual labels:  hexo, hexo-theme

Landscape plus

Join the chat at https://gitter.im/xiangming/landscape-plus

针对中国大陆的hexo用户,优化hexo官方主题landscape。支持hexo 3.x 和 hexo 2.x。演示

主题特色

  • 新增多语言支持,支持英文(default)、中文简体(zh-CN)和中文繁体(zh-TW)。
  • 新增友情链接模块,已默认开启,修改方法看下面的FAQs
  • 新增百度分享模块,已默认开启。
  • 新增多说评论模块,开启方法看下面的FAQs,仍支持Disqus。
  • 新增mathjax模块,即latex数学公式的支持,默认关闭。(感谢 @Svtter 的pull request
  • 新增IE8支持
  • 新增返回顶部功能
  • 新增Monokai代码高亮配色,最流行、最优雅的代码高亮配色方案。
  • 移除Google库,改用国内可以访问的CDN,加快页面显示速度。
  • 外观美化,美化了部分外观样式。
  • 主题配置项优化,你可以将主题配置项放在站点的_config.yml中,避免主题更新造成的冲突。

主题还在扩展中,欢迎各种Pull Request

文档目录

安装

release页面下载,然后解压到hexo的themes目录下。

或者直接clone最新版:(可能会存在bug,不建议新手尝试)

# 在hexo根目录下执行
git clone https://github.com/xiangming/landscape-plus.git themes/landscape-plus

启用

修改hexo的配置文件_config.yml,把theme的值设置为landscape-plus

# Extensions
## Plugins: http://hexo.io/plugins/
## Themes: http://hexo.io/themes/
theme: landscape-plus

默认配置

主题的默认配置文件landscape-plus\_config.yml

# Header
menu:
  Home: /
  Archives: /archives
rss: /atom.xml

# Content
excerpt_link: Read More
fancybox: false
mathjax: false

# Sidebar
sidebar: right
widgets:
- category
- tag
- tagcloud
- archive
- recent_posts
- links

# Links
links:
  主题作者: http://arvinxiang.com
  热前端: http://reqianduan.com
  远程.work: http://yuancheng.work

# Miscellaneous
google_analytics:
favicon: /favicon.png
twitter:
google_plus:
fb_admins:
fb_app_id:

# Comment system
duoshuo_shortname: your_shortname
disqus_shortname: your_shortname

# Baidu share
baidushare: true
  • mathjax - true/false,是否开启latex数学公式
  • duoshuo_shortname - 多说评论id
  • baidushare - true/false,是否开启百度分享

建议将 mathjaxlinksduoshuo_shortnamebaidushare配置项放在hexo的_config.yml中,而不是主题的_config.yml中,这样可以避免配置丢失。

更新

cd themes/landscape-plus
git pull

提示 如果更新发生错误,你可以删除整个landscape-plus文件夹,然后重新执行安装操作。

FAQs

怎么使用landscape plus主题?

按照上方的步骤进行安装启用

:如何开启多说评论模块?

在站点的_config.yml中,增加duoshuo_shortname: xxx配置项,xxx是你的多说id。

:如何关闭百度分享模块?

删掉themes/landscape-plus\_config.yml中的baidushare配置项。

:如何使用RSS分享功能?

请参考这条issue进行配置。

:怎么添加友情链接?

在站点的_config.yml中,增加links:配置项。

:怎么切换语言版本?

在站点的配置文件_config.yml,修改language:配置项,zh-CN为中文简体,zh-TW为中文繁体,default为英文。

:我喜欢原主题顶部的大图,如何恢复?

themes/landscape-plus/source/css/_partial/header.styl,取消第33行的注释。

:Landscape plus主题的字体配色太闪眼睛了,我怎么换回原主题的样式?

请参考这条issue进行配置。

:怎么提建议?

主题还在调整中,欢迎open issue来提建议,参与讨论。

更新日志

v1.0.6

  • 修复归档页面没有分页的BUG, refs #36, fix #78, #79, #85, #103, #106

v1.0.5

  • 主题配置项优化, refs #17
  • 百度分享样式调整,refs #45, refs #61

v1.0.4

  • 新增返回顶部功能
  • 修改渲染方式,现在默认page布局下仅渲染 .md 文件格式,其他格式一律只做复制。(方便添加静态页面,原本需要在每个文件开头添加 layout: false
  • 添加mathjax的模块开关,不需要的可以自己关闭。

特别感谢来自 @myqianlanpull request@bearpawpull request

v1.0.3

  • 增加对 IE8 的支持
  • 集成 mathjax ,即latex数学公式的支持。(感谢 @Svtter 的pull request

v1.0.2

  • 修改: 优化Generate速度,refs #13

v1.0.1

  • 新增: 百度分享功能

v1.0.0

  • 新增:语言包
  • 新增:友情链接
  • 新增:多说评论模块
  • 新增:代码高亮配色Monokai
  • 修改:使用国内可以访问的CDN,加快页面显示速度。

贡献者们

主题还在扩展中,欢迎各种Pull Request

网站列表

如果你的网站正在使用landscape-plus主题,你可以将网址添加到wiki的网站列表

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].