{"id":13430714,"url":"https://github.com/xiangming/landscape-plus","last_synced_at":"2025-12-16T16:04:09.807Z","repository":{"id":17623007,"uuid":"20427222","full_name":"xiangming/landscape-plus","owner":"xiangming","description":"针对中国大陆地区对hexo官方主题landscape进行优化。","archived":false,"fork":false,"pushed_at":"2020-02-19T17:46:29.000Z","size":1022,"stargazers_count":508,"open_issues_count":30,"forks_count":107,"subscribers_count":20,"default_branch":"master","last_synced_at":"2024-05-20T09:17:00.611Z","etag":null,"topics":["hexo","hexo-theme","landscape-plus"],"latest_commit_sha":null,"homepage":"http://xiangming.github.io/landscape-plus/","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xiangming.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-03T02:36:48.000Z","updated_at":"2024-03-18T15:14:06.000Z","dependencies_parsed_at":"2022-08-19T03:00:30.564Z","dependency_job_id":null,"html_url":"https://github.com/xiangming/landscape-plus","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiangming%2Flandscape-plus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiangming%2Flandscape-plus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiangming%2Flandscape-plus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiangming%2Flandscape-plus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xiangming","download_url":"https://codeload.github.com/xiangming/landscape-plus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221656342,"owners_count":16858750,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hexo","hexo-theme","landscape-plus"],"created_at":"2024-07-31T02:00:57.050Z","updated_at":"2025-12-16T16:04:04.750Z","avatar_url":"https://github.com/xiangming.png","language":"CSS","funding_links":[],"categories":["Content","JavaScript"],"sub_categories":[],"readme":"# Landscape plus\n\n[![Join the chat at https://gitter.im/xiangming/landscape-plus](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/xiangming/landscape-plus?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n针对中国大陆的[hexo](https://hexo.io/)用户，优化hexo官方主题landscape。支持hexo 3.x 和 hexo 2.x。[**演示**](http://xiangming.github.io/landscape-plus/)\n\n## 主题特色\n\n+ **新增多语言支持**，支持英文(default)、中文简体(zh-CN)和中文繁体(zh-TW)。\n+ **新增友情链接模块**，已默认开启，修改方法看下面的[FAQs](#faqs)。\n+ **新增百度分享模块**，已默认开启。\n+ **新增多说评论模块**，开启方法看下面的[FAQs](#faqs)，仍支持Disqus。\n+ **新增mathjax模块**，即latex数学公式的支持，默认关闭。（感谢 @Svtter 的[pull request](https://github.com/xiangming/landscape-plus/pull/35)）\n+ **新增IE8支持**\n+ **新增返回顶部功能**\n+ **新增Monokai代码高亮配色**，最流行、最优雅的代码高亮配色方案。\n+ **移除Google库**，改用国内可以访问的CDN，加快页面显示速度。\n+ **外观美化**，美化了部分外观样式。\n+ **主题配置项优化**，你可以将主题配置项放在站点的`_config.yml`中，避免主题更新造成的冲突。\n\n主题还在扩展中，欢迎各种**Pull Request**。\n\n## 文档目录\n\n+ [安装](#install)\n+ [启用](#enable)\n+ [配置](#config)\n+ [更新](#update)\n+ [FAQs](#faqs)\n+ [更新日志](#logs)\n+ [贡献者们](#contributors)\n+ [网站列表](#sites)\n\n## \u003ca name='install'\u003e安装\u003c/a\u003e\n\n从[**release页面**](https://github.com/xiangming/landscape-plus/releases)下载，然后解压到hexo的themes目录下。\n\n或者直接clone最新版：（可能会存在bug，不建议新手尝试）\n\n```bash\n# 在hexo根目录下执行\ngit clone https://github.com/xiangming/landscape-plus.git themes/landscape-plus\n```\n\n## \u003ca name='enable'\u003e启用\u003c/a\u003e\n\n修改hexo的配置文件`_config.yml`，把`theme`的值设置为`landscape-plus`\n```yml\n# Extensions\n## Plugins: http://hexo.io/plugins/\n## Themes: http://hexo.io/themes/\ntheme: landscape-plus\n```\n\n## \u003ca name='config'\u003e默认配置\u003c/a\u003e\n\n主题的默认配置文件`landscape-plus\\_config.yml`：\n\n```yml\n# Header\nmenu:\n  Home: /\n  Archives: /archives\nrss: /atom.xml\n\n# Content\nexcerpt_link: Read More\nfancybox: false\nmathjax: false\n\n# Sidebar\nsidebar: right\nwidgets:\n- category\n- tag\n- tagcloud\n- archive\n- recent_posts\n- links\n\n# Links\nlinks:\n  主题作者: http://arvinxiang.com\n  热前端: http://reqianduan.com\n  远程.work: http://yuancheng.work\n\n# Miscellaneous\ngoogle_analytics:\nfavicon: /favicon.png\ntwitter:\ngoogle_plus:\nfb_admins:\nfb_app_id:\n\n# Comment system\nduoshuo_shortname: your_shortname\ndisqus_shortname: your_shortname\n\n# Baidu share\nbaidushare: true\n```\n\n+ `mathjax` - true/false，是否开启latex数学公式\n+ `duoshuo_shortname` - 多说评论id\n+ `baidushare` - true/false，是否开启百度分享\n\n\u003e 建议将 `mathjax`、`links`、`duoshuo_shortname`、`baidushare`配置项放在hexo的`_config.yml`中，而不是主题的`_config.yml`中，这样可以避免配置丢失。\n\n## \u003ca name='update'\u003e更新\u003c/a\u003e\n\n```bash\ncd themes/landscape-plus\ngit pull\n```\n\n\u003e **提示** 如果更新发生错误，你可以删除整个landscape-plus文件夹，然后重新执行[安装](#install)操作。\n\n## \u003ca name='faqs'\u003eFAQs\u003c/a\u003e\n\n**问**：**怎么使用landscape plus主题？**\n\u003e 按照上方的步骤进行`安装`、`启用`。\n\n**问**：如何开启多说评论模块？\n\u003e 在站点的`_config.yml`中，增加`duoshuo_shortname: xxx`配置项，xxx是你的多说id。\n\n**问**：如何关闭百度分享模块？\n\u003e 删掉`themes/landscape-plus\\_config.yml`中的`baidushare`配置项。\n\n**问**：如何使用RSS分享功能？\n\u003e 请参考这条[issue](https://github.com/xiangming/landscape-plus/issues/31)进行配置。\n\n**问**：怎么添加友情链接？\n\u003e 在站点的`_config.yml`中，增加`links:`配置项。\n\n**问**：怎么切换语言版本？\n\u003e 在站点的配置文件`_config.yml`，修改`language:`配置项，zh-CN为中文简体，zh-TW为中文繁体，default为英文。\n\n**问**：我喜欢原主题顶部的大图，如何恢复？\n\u003e `themes/landscape-plus/source/css/_partial/header.styl`，取消第33行的注释。\n\n**问**：Landscape plus主题的字体配色太闪眼睛了，我怎么换回原主题的样式？\n\u003e 请参考这条[issue](https://github.com/xiangming/landscape-plus/issues/13)进行配置。\n\n**问**：怎么提建议？\n\u003e 主题还在调整中，欢迎[open issue](https://github.com/xiangming/landscape-plus/issues/new)来提建议，参与讨论。\n\n## \u003ca name='logs'\u003e更新日志\u003c/a\u003e\n\n\n### v1.0.6\n+ 修复归档页面没有分页的BUG, refs #36, fix #78, #79, #85, #103, #106\n\n### v1.0.5\n+ 主题配置项优化, refs #17\n+ 百度分享样式调整，refs #45, refs #61\n\n### v1.0.4\n+ 新增返回顶部功能\n+ 修改渲染方式，现在默认page布局下仅渲染 .md 文件格式，其他格式一律只做复制。（方便添加静态页面，原本需要在每个文件开头添加 **layout: false**）\n+ 添加**mathjax**的模块开关，不需要的可以自己关闭。\n\n特别感谢来自 @myqianlan 的[pull request](https://github.com/xiangming/landscape-plus/pull/39) 和 @bearpaw 的[pull request](https://github.com/xiangming/landscape-plus/pull/53)。\n\n### v1.0.3\n+ 增加对 **IE8** 的支持\n+ 集成 **mathjax** ，即latex数学公式的支持。（感谢 @Svtter 的[pull request](https://github.com/xiangming/landscape-plus/pull/35)）\n\n### v1.0.2\n+ 修改: 优化Generate速度，refs #13\n\n### v1.0.1\n+ 新增: 百度分享功能\n\n### v1.0.0\n+ 新增：语言包\n+ 新增：友情链接\n+ 新增：多说评论模块\n+ 新增：代码高亮配色`Monokai`\n+ 修改：使用国内可以访问的CDN，加快页面显示速度。\n\n## \u003ca name='contributors'\u003e贡献者们\u003c/a\u003e\n\n+ [xiangming](https://github.com/xiangming)\n+ [myqianlan](https://github.com/myqianlan)\n+ [HADB](https://github.com/HADB)\n+ [Svtter](https://github.com/Svtter)\n+ [bearpaw](https://github.com/bearpaw)\n\n主题还在扩展中，欢迎各种**Pull Request**。\n\n## \u003ca name='sites'\u003e网站列表\u003c/a\u003e\n\n如果你的网站正在使用**landscape-plus**主题，你可以将网址添加到[wiki的网站列表](https://github.com/xiangming/landscape-plus/wiki)。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiangming%2Flandscape-plus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxiangming%2Flandscape-plus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiangming%2Flandscape-plus/lists"}