├── themes
└── landscape
│ ├── .gitignore
│ ├── layout
│ ├── index.ejs
│ ├── page.ejs
│ ├── post.ejs
│ ├── tag.ejs
│ ├── archive.ejs
│ ├── category.ejs
│ ├── _partial
│ │ ├── post
│ │ │ ├── tag.ejs
│ │ │ ├── date.ejs
│ │ │ ├── category.ejs
│ │ │ ├── gallery.ejs
│ │ │ ├── title.ejs
│ │ │ └── nav.ejs
│ │ ├── mobile-nav.ejs
│ │ ├── sidebar.ejs
│ │ ├── archive-post.ejs
│ │ ├── footer.ejs
│ │ ├── google-analytics.ejs
│ │ ├── after-footer.ejs
│ │ ├── archive.ejs
│ │ ├── header.ejs
│ │ ├── head.ejs
│ │ └── article.ejs
│ ├── _widget
│ │ ├── tagcloud.ejs
│ │ ├── tag.ejs
│ │ ├── category.ejs
│ │ ├── archive.ejs
│ │ └── recent_posts.ejs
│ └── layout.ejs
│ ├── source
│ ├── fancybox
│ │ ├── blank.gif
│ │ ├── fancybox_loading.gif
│ │ ├── fancybox_overlay.png
│ │ ├── fancybox_sprite.png
│ │ ├── fancybox_loading@2x.gif
│ │ ├── fancybox_sprite@2x.png
│ │ ├── helpers
│ │ │ ├── fancybox_buttons.png
│ │ │ ├── jquery.fancybox-thumbs.css
│ │ │ ├── jquery.fancybox-buttons.css
│ │ │ ├── jquery.fancybox-buttons.js
│ │ │ ├── jquery.fancybox-thumbs.js
│ │ │ └── jquery.fancybox-media.js
│ │ ├── jquery.fancybox.css
│ │ ├── jquery.fancybox.pack.js
│ │ └── jquery.fancybox.js
│ ├── css
│ │ ├── images
│ │ │ └── banner.jpg
│ │ ├── fonts
│ │ │ ├── FontAwesome.otf
│ │ │ ├── fontawesome-webfont.eot
│ │ │ ├── fontawesome-webfont.ttf
│ │ │ └── fontawesome-webfont.woff
│ │ ├── _partial
│ │ │ ├── comment.styl
│ │ │ ├── footer.styl
│ │ │ ├── mobile.styl
│ │ │ ├── sidebar-bottom.styl
│ │ │ ├── sidebar-aside.styl
│ │ │ ├── sidebar.styl
│ │ │ ├── archive.styl
│ │ │ ├── header.styl
│ │ │ ├── highlight.styl
│ │ │ └── article.styl
│ │ ├── _util
│ │ │ ├── mixin.styl
│ │ │ └── grid.styl
│ │ ├── _extend.styl
│ │ ├── _variables.styl
│ │ └── style.styl
│ └── js
│ │ └── script.js
│ ├── package.json
│ ├── languages
│ ├── zh-CN.yml
│ ├── zh-TW.yml
│ ├── no.yml
│ ├── default.yml
│ ├── ru.yml
│ ├── nl.yml
│ └── fr.yml
│ ├── _config.yml
│ ├── scripts
│ └── fancybox.js
│ ├── LICENSE
│ ├── Gruntfile.js
│ └── README.md
├── scaffolds
├── draft.md
├── page.md
└── post.md
├── .gitignore
├── .gitattributes
├── package.json
├── source
└── _posts
│ └── hello-world.md
└── _config.yml
/themes/landscape/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules
3 | tmp
--------------------------------------------------------------------------------
/scaffolds/draft.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: {{ title }}
3 | tags:
4 | ---
5 |
--------------------------------------------------------------------------------
/scaffolds/page.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: {{ title }}
3 | date: {{ date }}
4 | ---
5 |
--------------------------------------------------------------------------------
/scaffolds/post.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: {{ title }}
3 | date: {{ date }}
4 | tags:
5 | ---
6 |
--------------------------------------------------------------------------------
/themes/landscape/layout/index.ejs:
--------------------------------------------------------------------------------
1 | <%- partial('_partial/archive', {pagination: 2, index: true}) %>
--------------------------------------------------------------------------------
/themes/landscape/layout/page.ejs:
--------------------------------------------------------------------------------
1 | <%- partial('_partial/article', {post: page, index: false}) %>
--------------------------------------------------------------------------------
/themes/landscape/layout/post.ejs:
--------------------------------------------------------------------------------
1 | <%- partial('_partial/article', {post: page, index: false}) %>
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | Thumbs.db
3 | db.json
4 | *.log
5 | node_modules/
6 | public/
7 | .deploy*/
--------------------------------------------------------------------------------
/themes/landscape/layout/tag.ejs:
--------------------------------------------------------------------------------
1 | <%- partial('_partial/archive', {pagination: config.tag, index: true}) %>
--------------------------------------------------------------------------------
/themes/landscape/layout/archive.ejs:
--------------------------------------------------------------------------------
1 | <%- partial('_partial/archive', {pagination: config.archive, index: true}) %>
--------------------------------------------------------------------------------
/themes/landscape/layout/category.ejs:
--------------------------------------------------------------------------------
1 | <%- partial('_partial/archive', {pagination: config.category, index: true}) %>
--------------------------------------------------------------------------------
/themes/landscape/source/fancybox/blank.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/load/hx/master/themes/landscape/source/fancybox/blank.gif
--------------------------------------------------------------------------------
/themes/landscape/source/css/images/banner.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/load/hx/master/themes/landscape/source/css/images/banner.jpg
--------------------------------------------------------------------------------
/themes/landscape/source/css/fonts/FontAwesome.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/load/hx/master/themes/landscape/source/css/fonts/FontAwesome.otf
--------------------------------------------------------------------------------
/themes/landscape/source/fancybox/fancybox_loading.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/load/hx/master/themes/landscape/source/fancybox/fancybox_loading.gif
--------------------------------------------------------------------------------
/themes/landscape/source/fancybox/fancybox_overlay.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/load/hx/master/themes/landscape/source/fancybox/fancybox_overlay.png
--------------------------------------------------------------------------------
/themes/landscape/source/fancybox/fancybox_sprite.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/load/hx/master/themes/landscape/source/fancybox/fancybox_sprite.png
--------------------------------------------------------------------------------
/themes/landscape/source/fancybox/fancybox_loading@2x.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/load/hx/master/themes/landscape/source/fancybox/fancybox_loading@2x.gif
--------------------------------------------------------------------------------
/themes/landscape/source/fancybox/fancybox_sprite@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/load/hx/master/themes/landscape/source/fancybox/fancybox_sprite@2x.png
--------------------------------------------------------------------------------
/themes/landscape/source/css/fonts/fontawesome-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/load/hx/master/themes/landscape/source/css/fonts/fontawesome-webfont.eot
--------------------------------------------------------------------------------
/themes/landscape/source/css/fonts/fontawesome-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/load/hx/master/themes/landscape/source/css/fonts/fontawesome-webfont.ttf
--------------------------------------------------------------------------------
/themes/landscape/source/css/fonts/fontawesome-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/load/hx/master/themes/landscape/source/css/fonts/fontawesome-webfont.woff
--------------------------------------------------------------------------------
/themes/landscape/source/fancybox/helpers/fancybox_buttons.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/load/hx/master/themes/landscape/source/fancybox/helpers/fancybox_buttons.png
--------------------------------------------------------------------------------
/themes/landscape/layout/_partial/post/tag.ejs:
--------------------------------------------------------------------------------
1 | <% if (post.tags && post.tags.length){ %>
2 | <%- list_tags(post.tags, {
3 | show_count: false,
4 | class: 'article-tag'
5 | }) %>
6 | <% } %>
--------------------------------------------------------------------------------
/themes/landscape/layout/_partial/mobile-nav.ejs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/themes/landscape/layout/_partial/post/date.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/themes/landscape/layout/_partial/sidebar.ejs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/themes/landscape/layout/_widget/tagcloud.ejs:
--------------------------------------------------------------------------------
1 | <% if (site.tags.length){ %>
2 |
8 | <% } %>
--------------------------------------------------------------------------------
/themes/landscape/source/css/_partial/comment.styl:
--------------------------------------------------------------------------------
1 | #comments
2 | background: #fff
3 | box-shadow: 1px 2px 3px #ddd
4 | padding: article-padding
5 | border: 1px solid color-border
6 | border-radius: 3px
7 | margin: block-margin 0
8 | a
9 | color: color-link
--------------------------------------------------------------------------------
/themes/landscape/layout/_widget/tag.ejs:
--------------------------------------------------------------------------------
1 | <% if (site.tags.length){ %>
2 |
8 | <% } %>
9 |
--------------------------------------------------------------------------------
/themes/landscape/layout/_widget/category.ejs:
--------------------------------------------------------------------------------
1 | <% if (site.categories.length){ %>
2 |
8 | <% } %>
9 |
--------------------------------------------------------------------------------
/themes/landscape/layout/_widget/archive.ejs:
--------------------------------------------------------------------------------
1 | <% if (site.posts.length){ %>
2 |
8 | <% } %>
9 |
--------------------------------------------------------------------------------
/themes/landscape/layout/_partial/post/category.ejs:
--------------------------------------------------------------------------------
1 | <% if (post.categories && post.categories.length){ %>
2 |
3 | <%- list_categories(post.categories, {
4 | show_count: false,
5 | class: 'article-category',
6 | style: 'none',
7 | separator: '►'
8 | }) %>
9 |
10 | <% } %>
--------------------------------------------------------------------------------
/themes/landscape/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "hexo-theme-landscape",
3 | "version": "0.0.1",
4 | "private": true,
5 | "devDependencies": {
6 | "grunt": "~0.4.2",
7 | "load-grunt-tasks": "~0.2.0",
8 | "grunt-git": "~0.2.2",
9 | "grunt-contrib-clean": "~0.5.0",
10 | "grunt-contrib-copy": "~0.4.1"
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/themes/landscape/languages/zh-CN.yml:
--------------------------------------------------------------------------------
1 | categories: 分类
2 | search: 搜索
3 | tags: 标签
4 | tagcloud: 标签云
5 | tweets: 推文
6 | prev: 上一页
7 | next: 下一页
8 | comment: 留言
9 | archive_a: 归档
10 | archive_b: 归档:%s
11 | page: 第 %d 页
12 | recent_posts: 最新文章
13 | newer: Newer
14 | older: Older
15 | share: Share
16 | powered_by: Powered by
17 | rss_feed: RSS Feed
18 | category: Category
19 | tag: Tag
--------------------------------------------------------------------------------
/themes/landscape/languages/zh-TW.yml:
--------------------------------------------------------------------------------
1 | categories: 分類
2 | search: 搜尋
3 | tags: 標籤
4 | tagcloud: 標籤雲
5 | tweets: 推文
6 | prev: 上一頁
7 | next: 下一頁
8 | comment: 留言
9 | archive_a: 彙整
10 | archive_b: 彙整:%s
11 | page: 第 %d 頁
12 | recent_posts: 最新文章
13 | newer: Newer
14 | older: Older
15 | share: Share
16 | powered_by: Powered by
17 | rss_feed: RSS Feed
18 | category: Category
19 | tag: Tag
--------------------------------------------------------------------------------
/themes/landscape/source/css/_partial/footer.styl:
--------------------------------------------------------------------------------
1 | #footer
2 | background: color-footer-background
3 | padding: 50px 0
4 | border-top: 1px solid color-border
5 | color: color-grey
6 | a
7 | color: color-link
8 | text-decoration: none
9 | &:hover
10 | text-decoration: underline
11 |
12 | #footer-info
13 | line-height: line-height
14 | font-size: 0.85em
--------------------------------------------------------------------------------
/themes/landscape/layout/_partial/archive-post.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | <%- partial('post/date', {class_name: 'archive-article-date', date_format: 'MMM D'}) %>
5 | <%- partial('post/title', {class_name: 'archive-article-title'}) %>
6 |
7 |
8 |
--------------------------------------------------------------------------------
/themes/landscape/languages/no.yml:
--------------------------------------------------------------------------------
1 | categories: Kategorier
2 | search: Søk
3 | tags: Tags
4 | tagcloud: Tag Cloud
5 | tweets: Tweets
6 | prev: Forrige
7 | next: Neste
8 | comment: Kommentarer
9 | archive_a: Arkiv
10 | archive_b: "Arkiv: %s"
11 | page: Side %d
12 | recent_posts: Siste innlegg
13 | newer: Newer
14 | older: Older
15 | share: Share
16 | powered_by: Powered by
17 | rss_feed: RSS Feed
18 | category: Category
19 | tag: Tag
--------------------------------------------------------------------------------
/themes/landscape/languages/default.yml:
--------------------------------------------------------------------------------
1 | categories: Categories
2 | search: Search
3 | tags: Tags
4 | tagcloud: Tag Cloud
5 | tweets: Tweets
6 | prev: Prev
7 | next: Next
8 | comment: Comments
9 | archive_a: Archives
10 | archive_b: "Archives: %s"
11 | page: Page %d
12 | recent_posts: Recent Posts
13 | newer: Newer
14 | older: Older
15 | share: Share
16 | powered_by: Powered by
17 | rss_feed: RSS Feed
18 | category: Category
19 | tag: Tag
--------------------------------------------------------------------------------
/themes/landscape/layout/_partial/footer.ejs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
3 |
4 | # Custom for Visual Studio
5 | *.cs diff=csharp
6 |
7 | # Standard to msysgit
8 | *.doc diff=astextplain
9 | *.DOC diff=astextplain
10 | *.docx diff=astextplain
11 | *.DOCX diff=astextplain
12 | *.dot diff=astextplain
13 | *.DOT diff=astextplain
14 | *.pdf diff=astextplain
15 | *.PDF diff=astextplain
16 | *.rtf diff=astextplain
17 | *.RTF diff=astextplain
18 |
--------------------------------------------------------------------------------
/themes/landscape/languages/ru.yml:
--------------------------------------------------------------------------------
1 | categories: Категории
2 | search: Поиск
3 | tags: Метки
4 | tagcloud: Облако меток
5 | tweets: Твиты
6 | prev: Назад
7 | next: Вперед
8 | comment: Комментарии
9 | archive_a: Архив
10 | archive_b: "Архив: %s"
11 | page: Страница %d
12 | recent_posts: Недавние записи
13 | newer: Следующий
14 | older: Предыдущий
15 | share: Поделиться
16 | powered_by: Создано с помощью
17 | rss_feed: RSS-каналы
18 | category: Категория
19 | tag: Метка
--------------------------------------------------------------------------------
/themes/landscape/layout/_partial/post/gallery.ejs:
--------------------------------------------------------------------------------
1 | <% if (post.photos && post.photos.length){ %>
2 |
3 |
4 | <% post.photos.forEach(function(photo, i){ %>
5 |
6 |
7 |
8 | <% }) %>
9 |
10 |
11 | <% } %>
--------------------------------------------------------------------------------
/themes/landscape/languages/nl.yml:
--------------------------------------------------------------------------------
1 |
2 | categories: Categorieën
3 | search: Zoeken
4 | tags: Labels
5 | tagcloud: Tag Cloud
6 | tweets: Tweets
7 | prev: Vorige
8 | next: Volgende
9 | comment: Commentaren
10 | archive_a: Archieven
11 | archive_b: "Archieven: %s"
12 | page: Pagina %d
13 | recent_posts: Recente berichten
14 | newer: Nieuwer
15 | older: Ouder
16 | share: Delen
17 | powered_by: Powered by
18 | rss_feed: RSS Feed
19 | category: Categorie
20 | tag: Label
21 |
--------------------------------------------------------------------------------
/themes/landscape/languages/fr.yml:
--------------------------------------------------------------------------------
1 | categories: Catégories
2 | search: Rechercher
3 | tags: Mot-clés
4 | tagcloud: Nuage de mot-clés
5 | tweets: Tweets
6 | prev: Précédent
7 | next: Suivant
8 | comment: Commentaires
9 | archive_a: Archives
10 | archive_b: "Archives: %s"
11 | page: Page %d
12 | recent_posts: Articles récents
13 | newer: Récent
14 | older: Ancien
15 | share: Partager
16 | powered_by: Propulsé by
17 | rss_feed: Flux RSS
18 | category: Catégorie
19 | tag: Mot-clé
20 |
--------------------------------------------------------------------------------
/themes/landscape/layout/_widget/recent_posts.ejs:
--------------------------------------------------------------------------------
1 | <% if (site.posts.length){ %>
2 |
14 | <% } %>
--------------------------------------------------------------------------------
/themes/landscape/source/css/_partial/mobile.styl:
--------------------------------------------------------------------------------
1 | @media mq-mobile
2 | #mobile-nav
3 | position: absolute
4 | top: 0
5 | left: 0
6 | width: mobile-nav-width
7 | height: 100%
8 | background: color-mobile-nav-background
9 | border-right: 1px solid #fff
10 |
11 | @media mq-mobile
12 | .mobile-nav-link
13 | display: block
14 | color: color-grey
15 | text-decoration: none
16 | padding: 15px 20px
17 | font-weight: bold
18 | &:hover
19 | color: #fff
20 |
--------------------------------------------------------------------------------
/themes/landscape/layout/_partial/post/title.ejs:
--------------------------------------------------------------------------------
1 | <% if (post.link){ %>
2 |
5 | <% } else if (post.title){ %>
6 | <% if (index){ %>
7 |
10 | <% } else { %>
11 |
12 | <%= post.title %>
13 |
14 | <% } %>
15 | <% } %>
--------------------------------------------------------------------------------
/themes/landscape/layout/_partial/google-analytics.ejs:
--------------------------------------------------------------------------------
1 | <% if (theme.google_analytics){ %>
2 |
3 |
13 |
14 | <% } %>
15 |
--------------------------------------------------------------------------------
/themes/landscape/_config.yml:
--------------------------------------------------------------------------------
1 | # Header
2 | menu:
3 | Home: /
4 | Archives: /archives
5 | rss: /atom.xml
6 |
7 | # Content
8 | excerpt_link: Read More
9 | fancybox: true
10 |
11 | # Sidebar
12 | sidebar: right
13 | widgets:
14 | - category
15 | - tag
16 | - tagcloud
17 | - archive
18 | - recent_posts
19 |
20 | # display widgets at the bottom of index pages (pagination == 2)
21 | index_widgets:
22 | # - category
23 | # - tagcloud
24 | # - archive
25 |
26 | # widget behavior
27 | archive_type: 'monthly'
28 | show_count: false
29 |
30 | # Miscellaneous
31 | google_analytics:
32 | favicon: /favicon.png
33 | twitter:
34 | google_plus:
35 | fb_admins:
36 | fb_app_id:
37 |
--------------------------------------------------------------------------------
/themes/landscape/source/css/_partial/sidebar-bottom.styl:
--------------------------------------------------------------------------------
1 | .widget-wrap
2 | margin-bottom: block-margin !important
3 | @media mq-normal
4 | column(main-column)
5 |
6 | .widget-title
7 | color: #ccc
8 | text-transform: uppercase
9 | letter-spacing: 2px
10 | margin-bottom: .5em
11 | line-height: 1em
12 | font-weight: bold
13 |
14 | .widget
15 | color: color-grey
16 | ul, ol
17 | li
18 | display: inline-block
19 | zoom:1
20 | *display:inline
21 | padding-right: .75em
22 | /* Having problems getting balanced white space between items
23 | li:before
24 | content: " | "
25 | li:first-child:before
26 | content: none
27 | */
28 |
--------------------------------------------------------------------------------
/themes/landscape/source/css/_partial/sidebar-aside.styl:
--------------------------------------------------------------------------------
1 | #sidebar
2 | @media mq-normal
3 | column(sidebar-column)
4 |
5 | .widget-wrap
6 | margin: block-margin 0
7 |
8 | .widget-title
9 | @extend $block-caption
10 |
11 | .widget
12 | color: color-sidebar-text
13 | text-shadow: 0 1px #fff
14 | background: color-widget-background
15 | box-shadow: 0 -1px 4px color-widget-border inset
16 | border: 1px solid color-widget-border
17 | padding: 15px
18 | border-radius: 3px
19 | a
20 | color: color-link
21 | text-decoration: none
22 | &:hover
23 | text-decoration: underline
24 | ul, ol, dl
25 | ul, ol, dl
26 | margin-left: 15px
27 | list-style: disc
--------------------------------------------------------------------------------
/themes/landscape/layout/layout.ejs:
--------------------------------------------------------------------------------
1 | <%- partial('_partial/head') %>
2 |
3 |
4 |
5 | <%- partial('_partial/header', null, {cache: !config.relative_link}) %>
6 |
7 |
8 | <% if (theme.sidebar && theme.sidebar !== 'bottom'){ %>
9 | <%- partial('_partial/sidebar', null, {cache: !config.relative_link}) %>
10 | <% } %>
11 |
12 | <%- partial('_partial/footer', null, {cache: !config.relative_link}) %>
13 |
14 | <%- partial('_partial/mobile-nav', null, {cache: !config.relative_link}) %>
15 | <%- partial('_partial/after-footer') %>
16 |
17 |
18 |