# Landscape
A brand new default theme for [Hexo].
- [Preview](http://hexo.io/hexo-theme-landscape/)
## Installation
### Install
``` bash
$ git clone https://github.com/hexojs/hexo-theme-landscape.git themes/landscape
```
**Landscape requires Hexo 2.4 and above.** If you would like to enable the RSS, the [hexo-generate-feed] plugin is also required.
### Enable
Modify `theme` setting in `_config.yml` to `landscape`.
### Update
``` bash
cd themes/landscape
git pull
```
## Configuration
``` yml
# Header
menu:
Home: /
Archives: /archives
rss: /atom.xml
# Content
excerpt_link: Read More
fancybox: true
# Sidebar
sidebar: right
widgets:
- category
- tag
- tagcloud
- archives
- recent_posts
# Miscellaneous
google_analytics:
favicon: /favicon.png
twitter:
google_plus:
```
- **menu** - Navigation menu
- **rss** - RSS link
- **excerpt_link** - "Read More" link at the bottom of excerpted articles. `false` to hide the link.
- **fancybox** - Enable [Fancybox]
- **sidebar** - Sidebar style. You can choose `left`, `right`, `bottom` or `false`.
- **widgets** - Widgets displaying in sidebar
- **google_analytics** - Google Analytics ID
- **favicon** - Favicon path
- **twitter** - Twiiter ID
- **google_plus** - Google+ ID
## Features
### Fancybox
Landscape uses [Fancybox] to showcase your photos. You can use Markdown syntax or fancybox tag plugin to add your photos.
```

{% fancybox img_url [img_thumbnail] [img_caption] %}
```
### Sidebar
You can put your sidebar in left side, right side or bottom of your site by editing `sidebar` setting.
Landscape provides 5 built-in widgets:
- category
- tag
- tagcloud
- archives
- recent_posts
All of them are enabled by default. You can edit them in `widget` setting.
## Development
### Requirements
- [Grunt] 0.4+
- Hexo 2.4+
### Grunt tasks
- **default** - Download [Fancybox] and [Font Awesome].
- **fontawesome** - Only download [Font Awesome].
- **fancybox** - Only download [Fancybox].
- **clean** - Clean temporarily files and downloaded files.
[Hexo]: https://hexo.io/
[Fancybox]: http://fancyapps.com/fancybox/
[Font Awesome]: http://fontawesome.io/
[Grunt]: http://gruntjs.com/
[hexo-generate-feed]: https://github.com/hexojs/hexo-generator-feed
没有合适的资源?快使用搜索试试~ 我知道了~
在Linux环境下对GitHub网站个人博客的搭建.7z

共97个文件
ejs:29个
styl:15个
yml:14个

1 下载量 114 浏览量
2023-07-02
09:21:18
上传
评论
收藏 817KB 7Z 举报
温馨提示
- 学会在Linux环境下配置安装hexo及GitHub - 学会使用hexo进行搭建网页 - 掌握对网站的更新 - 充分调试并使其能在Linux环境下运行 # **实验环境** ## Linux操作系统 # **有关工具** ## Hexo + GitHub # **实验内容** ## 设计一个在GitHub上可以发布和阅读文章的个人博客网站,使用Hexo进行搭建,使其可以发布文章。并在Linux环境下实现运行
资源推荐
资源详情
资源评论






















收起资源包目录























































































































共 97 条
- 1
资源评论


反方向的钟65
- 粉丝: 3469
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- 【IOS应用源码】调整图片大小长宽的组件.zip
- 【IOS应用源码】动态tab bar.zip
- 【IOS应用源码】动态评分组件.zip
- 【IOS应用源码】动态下拉展开.zip
- 【IOS应用源码】动态效果的tab标签.zip
- 【IOS应用源码】对xml文件的解析与导出数据存储在xml中(代码)xmlparser.zip
- 【IOS应用源码】多线程.zip
- 【IOS应用源码】多个table view略缩图.zip
- 【IOS应用源码】多人游戏_Pong_源码_for_iPhone_iPad.zip
- 基于电压型虚拟同步发电机(VSG)的离网仿真模型研究:双闭环控制与虚拟阻抗策略
- 【IOS应用源码】多种page control 风格.zip
- 【IOS应用源码】多种view视图切换效果.zip
- 【IOS应用源码】多页面略缩图滚动.zip
- 【IOS应用源码】多种风格的RoundSwitch.zip
- 【IOS应用源码】多种风格颜色的进度条.zip
- 【IOS应用源码】多种风格消息数量提示样式.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制
