├── layout
├── _scripts
│ └── index.ejs
├── page.ejs
├── post.ejs
├── index.ejs
├── tag.ejs
├── _third-part
│ ├── index.ejs
│ ├── comments
│ │ ├── youyan.ejs
│ │ ├── duoshuo.ejs
│ │ ├── index.ejs
│ │ ├── gentie.ejs
│ │ ├── disqus.ejs
│ │ ├── gitment.ejs
│ │ └── changyan.ejs
│ └── mathjax
│ │ └── index.ejs
├── archive.ejs
├── category.ejs
├── _partial
│ ├── post
│ │ ├── tag.ejs
│ │ ├── date.ejs
│ │ ├── duoshuo.ejs
│ │ ├── category.ejs
│ │ ├── gallery.ejs
│ │ ├── title.ejs
│ │ └── nav.ejs
│ ├── mobile-nav.ejs
│ ├── after-footer.ejs
│ ├── widget.ejs
│ ├── sidebar.ejs
│ ├── archive-post.ejs
│ ├── google-analytics.ejs
│ ├── footer.ejs
│ ├── comments.ejs
│ ├── header.ejs
│ ├── head.ejs
│ ├── random_posts.ejs
│ ├── article.ejs
│ └── archive.ejs
├── partials
│ ├── hot-comment-posts.ejs
│ ├── lastest-comments.ejs
│ ├── back2top.ejs
│ ├── recent-posts.ejs
│ └── pagination.ejs
├── _widget
│ ├── tag.ejs
│ ├── archive.ejs
│ ├── wechat.ejs
│ ├── category.ejs
│ ├── tagcloud.ejs
│ ├── friendly_link.ejs
│ ├── recent_posts.ejs
│ ├── lastest_comments.ejs
│ ├── hot_comment_posts.ejs
│ ├── post_content.ejs
│ └── social.ejs
└── layout.ejs
├── source
├── css
│ ├── _partial
│ │ ├── custom.styl
│ │ ├── other.styl
│ │ ├── comment.styl
│ │ ├── mobile.styl
│ │ ├── footer.styl
│ │ ├── sidebar-bottom.styl
│ │ ├── sidebar.styl
│ │ ├── random-post.styl
│ │ ├── sidebar-aside.styl
│ │ ├── archive.styl
│ │ ├── social.styl
│ │ ├── header.styl
│ │ ├── duoshuo.styl
│ │ ├── highlight.styl
│ │ └── article.styl
│ ├── images
│ │ └── banner.jpg
│ ├── fonts
│ │ ├── FontAwesome.otf
│ │ ├── fontawesome-webfont.eot
│ │ ├── fontawesome-webfont.ttf
│ │ ├── fontawesome-webfont.woff
│ │ └── fontawesome-webfont.woff2
│ ├── _util
│ │ ├── mixin.styl
│ │ └── grid.styl
│ ├── _extend.styl
│ ├── _variables.styl
│ └── style.styl
├── favicon.ico
├── 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
├── images
│ └── fly-to-top.png
├── themes
│ └── screenshots
│ │ └── Cafe.png
├── _data
│ └── themes.yml
└── js
│ ├── is.js
│ ├── script.js
│ └── elevator.js
├── .bowerrc
├── .gitignore
├── assets
├── share.png
├── pc-display.gif
├── mobie-display.gif
└── duoshuo_comment.png
├── cafe-qrcode.png
├── bower.json
├── languages
├── no.yml
├── default.yml
├── nl.yml
├── ru.yml
├── zh-CN.yml
├── zh-TW.yml
└── en.yml
├── scripts
├── fancybox.js
└── extend.generator.js
├── package.json
├── webpack.config.js
├── README.md
├── _config.yml
└── README_en.md
/layout/_scripts/index.ejs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/source/css/_partial/custom.styl:
--------------------------------------------------------------------------------
1 | /**custom css**/
--------------------------------------------------------------------------------
/.bowerrc:
--------------------------------------------------------------------------------
1 | {
2 | "directory": "source/components"
3 | }
4 |
--------------------------------------------------------------------------------
/layout/page.ejs:
--------------------------------------------------------------------------------
1 | <%- partial('_partial/article', {post: page, index: false}) %>
--------------------------------------------------------------------------------
/layout/post.ejs:
--------------------------------------------------------------------------------
1 | <%- partial('_partial/article', {post: page, index: false}) %>
--------------------------------------------------------------------------------
/layout/index.ejs:
--------------------------------------------------------------------------------
1 | <%- partial('_partial/archive', {pagination: 2, index: true}) %>
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules
3 | tmp
4 | _config_backup.yml
5 | source/js/posts.js
--------------------------------------------------------------------------------
/assets/share.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/giscafer/hexo-theme-cafe/HEAD/assets/share.png
--------------------------------------------------------------------------------
/cafe-qrcode.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/giscafer/hexo-theme-cafe/HEAD/cafe-qrcode.png
--------------------------------------------------------------------------------
/layout/tag.ejs:
--------------------------------------------------------------------------------
1 | <%- partial('_partial/archive', {pagination: config.tag, index: true,tag:true}) %>
--------------------------------------------------------------------------------
/source/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/giscafer/hexo-theme-cafe/HEAD/source/favicon.ico
--------------------------------------------------------------------------------
/assets/pc-display.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/giscafer/hexo-theme-cafe/HEAD/assets/pc-display.gif
--------------------------------------------------------------------------------
/layout/_third-part/index.ejs:
--------------------------------------------------------------------------------
1 | <% include ./comments/index.ejs %>
2 | <% include ./mathjax/index.ejs %>
--------------------------------------------------------------------------------
/assets/mobie-display.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/giscafer/hexo-theme-cafe/HEAD/assets/mobie-display.gif
--------------------------------------------------------------------------------
/layout/archive.ejs:
--------------------------------------------------------------------------------
1 | <%- partial('_partial/archive', {pagination: config.archive, index: true,archive:true}) %>
--------------------------------------------------------------------------------
/assets/duoshuo_comment.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/giscafer/hexo-theme-cafe/HEAD/assets/duoshuo_comment.png
--------------------------------------------------------------------------------
/layout/category.ejs:
--------------------------------------------------------------------------------
1 | <%- partial('_partial/archive', {pagination: config.category, index: true,category:true}) %>
--------------------------------------------------------------------------------
/source/fancybox/blank.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/giscafer/hexo-theme-cafe/HEAD/source/fancybox/blank.gif
--------------------------------------------------------------------------------
/source/css/images/banner.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/giscafer/hexo-theme-cafe/HEAD/source/css/images/banner.jpg
--------------------------------------------------------------------------------
/source/images/fly-to-top.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/giscafer/hexo-theme-cafe/HEAD/source/images/fly-to-top.png
--------------------------------------------------------------------------------
/source/css/fonts/FontAwesome.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/giscafer/hexo-theme-cafe/HEAD/source/css/fonts/FontAwesome.otf
--------------------------------------------------------------------------------
/source/themes/screenshots/Cafe.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/giscafer/hexo-theme-cafe/HEAD/source/themes/screenshots/Cafe.png
--------------------------------------------------------------------------------
/source/fancybox/fancybox_loading.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/giscafer/hexo-theme-cafe/HEAD/source/fancybox/fancybox_loading.gif
--------------------------------------------------------------------------------
/source/fancybox/fancybox_overlay.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/giscafer/hexo-theme-cafe/HEAD/source/fancybox/fancybox_overlay.png
--------------------------------------------------------------------------------
/source/fancybox/fancybox_sprite.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/giscafer/hexo-theme-cafe/HEAD/source/fancybox/fancybox_sprite.png
--------------------------------------------------------------------------------
/source/fancybox/fancybox_loading@2x.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/giscafer/hexo-theme-cafe/HEAD/source/fancybox/fancybox_loading@2x.gif
--------------------------------------------------------------------------------
/source/fancybox/fancybox_sprite@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/giscafer/hexo-theme-cafe/HEAD/source/fancybox/fancybox_sprite@2x.png
--------------------------------------------------------------------------------
/source/css/fonts/fontawesome-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/giscafer/hexo-theme-cafe/HEAD/source/css/fonts/fontawesome-webfont.eot
--------------------------------------------------------------------------------
/source/css/fonts/fontawesome-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/giscafer/hexo-theme-cafe/HEAD/source/css/fonts/fontawesome-webfont.ttf
--------------------------------------------------------------------------------
/source/css/fonts/fontawesome-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/giscafer/hexo-theme-cafe/HEAD/source/css/fonts/fontawesome-webfont.woff
--------------------------------------------------------------------------------
/source/css/fonts/fontawesome-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/giscafer/hexo-theme-cafe/HEAD/source/css/fonts/fontawesome-webfont.woff2
--------------------------------------------------------------------------------
/source/fancybox/helpers/fancybox_buttons.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/giscafer/hexo-theme-cafe/HEAD/source/fancybox/helpers/fancybox_buttons.png
--------------------------------------------------------------------------------
/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "mytheme",
3 | "version": "0.0.0",
4 | "description": "mytheme hexo theme",
5 | "private": true,
6 | "dependencies": {}
7 | }
8 |
--------------------------------------------------------------------------------
/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 | <% } %>
--------------------------------------------------------------------------------
/layout/_partial/mobile-nav.ejs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/layout/_third-part/comments/youyan.ejs:
--------------------------------------------------------------------------------
1 | <% if (theme.youyan_uid){ %>
2 |
3 | <% } %>
4 |
5 |
--------------------------------------------------------------------------------
/layout/partials/hot-comment-posts.ejs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/layout/_partial/post/date.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/layout/_partial/post/duoshuo.ejs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/layout/_third-part/comments/duoshuo.ejs:
--------------------------------------------------------------------------------
1 | <% if (theme.duoshuo_shortname){ %>
2 |
5 | <%- js('duoshuo/embed') %>
6 | <% } %>
--------------------------------------------------------------------------------
/layout/_third-part/comments/index.ejs:
--------------------------------------------------------------------------------
1 | <% include ./gentie.ejs %>
2 | <% include ./disqus.ejs %>
3 | <% include ./changyan.ejs %>
4 | <% include ./youyan.ejs %>
5 |
6 | <% include ./gitment.ejs %>
7 |
8 |
--------------------------------------------------------------------------------
/layout/_widget/tag.ejs:
--------------------------------------------------------------------------------
1 | <% if (tag || index && site.tags.length){ %>
2 |
8 | <% } %>
9 |
--------------------------------------------------------------------------------
/layout/partials/lastest-comments.ejs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/layout/_partial/after-footer.ejs:
--------------------------------------------------------------------------------
1 | <% include ../_third-part/index.ejs%>
2 | <%- js('js/is.js') %>
3 |
4 | <% if (theme.fancybox){ %>
5 | <%- css('fancybox/jquery.fancybox') %>
6 | <%- js('fancybox/jquery.fancybox.pack') %>
7 | <% } %>
8 |
9 | <%- js('js/script') %>
10 | <%- js('js/elevator') %>
--------------------------------------------------------------------------------
/layout/_partial/widget.ejs:
--------------------------------------------------------------------------------
1 | <% if (theme.sidebar && theme.sidebar !== 'bottom'){ %>
2 | <%- partial('./sidebar',
3 | {index:page.path=='index.html',
4 | archive:url.includes('/archives/'),
5 | postObj:page,
6 | tag:url.includes('/tags/'),
7 | category:url.includes('/categories/')
8 | }) %>
9 | <% } %>
--------------------------------------------------------------------------------
/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 | <% } %>
--------------------------------------------------------------------------------
/layout/_widget/archive.ejs:
--------------------------------------------------------------------------------
1 | <% if (archive || index && site.posts.length){ %>
2 |
8 | <% } %>
9 |
--------------------------------------------------------------------------------
/layout/_widget/wechat.ejs:
--------------------------------------------------------------------------------
1 |
2 | <% if (index && theme.wechat_url){ %>
3 |
9 | <% } %>
10 |
--------------------------------------------------------------------------------
/layout/_widget/category.ejs:
--------------------------------------------------------------------------------
1 | <% if (category || index && site.categories.length){ %>
2 |
8 | <% } %>
9 |
--------------------------------------------------------------------------------
/source/_data/themes.yml:
--------------------------------------------------------------------------------
1 | - name: Cafe
2 | description: Pursuit of simplicity, simple operation, reading comfort.
3 | link: https://github.com/giscafer/hexo-theme-cafe
4 | preview: http://cafe.giscafer.com/
5 | tags:
6 | - simple
7 | - responsive
8 | - widget
9 | - two_column
10 | - comfortable
11 | - 中文
12 | - chinese
13 | - clean
--------------------------------------------------------------------------------
/layout/_partial/sidebar.ejs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/layout/_widget/tagcloud.ejs:
--------------------------------------------------------------------------------
1 | <% if (tag || index && site.tags.length){ %>
2 |
8 | <% } %>
--------------------------------------------------------------------------------
/layout/partials/back2top.ejs:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/layout/_partial/archive-post.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | <%- partial('post/date', {class_name: 'archive-article-date', date_format: 'MM-DD'}) %>
5 | <%- partial('post/title', {class_name: 'archive-article-title'}) %>
6 |
7 |
8 |
--------------------------------------------------------------------------------
/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 | <% } %>
--------------------------------------------------------------------------------
/layout/_widget/friendly_link.ejs:
--------------------------------------------------------------------------------
1 | <% if (index && theme.links){ %>
2 |
14 | <% } %>
--------------------------------------------------------------------------------
/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 | theme_by: Theme by
18 | rss_feed: RSS Feed
19 | category: Category
20 | tag: Tag
21 | contact: Contact
--------------------------------------------------------------------------------
/source/css/_partial/other.styl:
--------------------------------------------------------------------------------
1 | /**
2 | * back to top
3 | */
4 | .back-to-top-btn
5 | position:fixed
6 | display: none
7 | right:30px
8 | bottom: 100px
9 | z-index:300 !important
10 | cursor: pointer
11 | &:hover{
12 | border: 0.5px dashed color-grey5
13 | }
14 | @media mq-mobile
15 | width: auto
16 | height: 60px
17 | z-index:400
18 | &:hover{
19 | border: none
20 | }
--------------------------------------------------------------------------------
/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
10 |
11 |
12 | #ds-thread
13 | div.ds-rounded-top
14 | background: color-white!important
15 | .hot-comments
16 | div.ds-top-threads
17 | list-style: none;
18 | text-decoration: underline;
--------------------------------------------------------------------------------
/languages/default.yml:
--------------------------------------------------------------------------------
1 | categories: 分类
2 | search: 搜索
3 | tags: 标签
4 | tagcloud: 标签云
5 | hot_comment_posts: 热评文章
6 | lastest_comments: 最新评论
7 | post_content: 文章目录
8 | tweets: 推文
9 | prev: 上一页
10 | next: 下一页
11 | comment: 留言
12 | archive_a: 归档
13 | archive_b: 归档:%s
14 | page: 第 %d 页
15 | recent_posts: 最新文章
16 | random_posts: 推荐文章
17 | newer: 上一篇
18 | older: 下一篇
19 | share: 分享
20 | powered_by: Powered by
21 | theme_by: 主题
22 | rss_feed: RSS Feed
23 | category: 分类
24 | tag: Tag
25 | contact: 联系方式
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 | theme_by: Theme by
19 | rss_feed: RSS Feed
20 | category: Categorie
21 | tag: Label
22 | contact: Contact
23 |
--------------------------------------------------------------------------------
/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 | theme_by: Создано с помощью
18 | rss_feed: RSS-каналы
19 | category: Категория
20 | tag: Метка
21 | contact: Contact
--------------------------------------------------------------------------------
/languages/zh-CN.yml:
--------------------------------------------------------------------------------
1 | categories: 分类
2 | search: 搜索
3 | tags: 标签
4 | tagcloud: 标签云
5 | friendly_link: 友情链接
6 | wechat: 微信公众号
7 | hot_comment_posts: 热评文章
8 | lastest_comments: 最新评论
9 | post_content: 文章目录
10 | tweets: 推文
11 | prev: 上一页
12 | next: 下一页
13 | comment: 留言
14 | archive_a: 归档
15 | archive_b: 归档:%s
16 | page: 第 %d 页
17 | recent_posts: 最新文章
18 | random_posts: 推荐文章
19 | newer: 上一篇
20 | older: 下一篇
21 | share: 分享
22 | powered_by: Powered by
23 | theme_by: 主题
24 | rss_feed: RSS Feed
25 | category: 分类
26 | tag: Tag
27 | contact: 联系方式
--------------------------------------------------------------------------------
/languages/zh-TW.yml:
--------------------------------------------------------------------------------
1 | categories: 分類
2 | search: 搜尋
3 | tags: 標籤
4 | tagcloud: 標籤雲
5 | friendly_link: 友情链接
6 | wechat: 微信公众号
7 | hot_comment_posts: 热评文章
8 | lastest_comments: 最新评论
9 | post_content: 文章目录
10 | tweets: 推文
11 | prev: 上一頁
12 | next: 下一頁
13 | comment: 留言
14 | archive_a: 彙整
15 | archive_b: 彙整:%s
16 | page: 第 %d 頁
17 | recent_posts: 最新文章
18 | random_posts: 推荐文章
19 | newer: Newer
20 | older: Older
21 | share: Share
22 | powered_by: Powered by
23 | theme_by: Theme by
24 | rss_feed: RSS Feed
25 | category: Category
26 | tag: Tag
27 | contact: 联系方式
--------------------------------------------------------------------------------
/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 | <% } %>
--------------------------------------------------------------------------------
/layout/partials/recent-posts.ejs:
--------------------------------------------------------------------------------
1 |
2 | <% if (site.posts.length > 0) { %>
3 |
4 |
Recent Posts
5 | <% site.posts.sort('date', -1).limit(10).each(function(post) { %>
6 |
7 |
<%=post.title%>
8 | <% if (post.date) { %>
9 |
12 | <% } %>
13 |
14 | <% }); %>
15 |
16 | <% } %>
17 |
--------------------------------------------------------------------------------
/layout/_widget/recent_posts.ejs:
--------------------------------------------------------------------------------
1 | <% if (index && site.posts.length || (!index && (postObj.toc===false || !toc(postObj.content || 'giscafer')))){ %>
2 |
14 | <% } %>
--------------------------------------------------------------------------------
/layout/_third-part/comments/gentie.ejs:
--------------------------------------------------------------------------------
1 | <% if (!theme.duoshuo_shortname && !theme.disqus_shortname && (!theme.changyan_appid || !theme.changyan_appkey) && !theme.youyan_uid){ %>
2 |
3 | <% if (theme.gentie_productKey) {%>
4 |
12 |
13 | <% }%>
14 |
15 | <% } %>
--------------------------------------------------------------------------------
/source/css/_partial/footer.styl:
--------------------------------------------------------------------------------
1 | #footer
2 | background: color-footer-background
3 | padding: 10px 0
4 | margin-bottom:25px
5 | border-top: 1px solid color-border
6 | color: color-grey
7 | a
8 | color: color-link
9 | text-decoration: none
10 | &:hover
11 | text-decoration: underline
12 |
13 | #footer-left
14 | float: left;
15 | line-height: line-height
16 | font-size: 0.85em
17 | #footer-right
18 | float: right;
19 | font-size: 0.85em
20 | @media mq-mobile
21 | #footer-right
22 | float: left;
23 | margin-top:5px
24 | font-size: 0.85em
--------------------------------------------------------------------------------
/layout/_partial/google-analytics.ejs:
--------------------------------------------------------------------------------
1 | <% if (theme.google_analytics){ %>
2 |
3 |
13 |
14 | <% } %>
15 |
--------------------------------------------------------------------------------
/layout/_widget/lastest_comments.ejs:
--------------------------------------------------------------------------------
1 | <% if (index && theme.duoshuo_shortname){%>
2 |
8 | <% } %>
9 | <% if (index && !theme.duoshuo_shortname){ %>
10 |
16 | <% } %>
17 |
--------------------------------------------------------------------------------
/languages/en.yml:
--------------------------------------------------------------------------------
1 | categories: Categories
2 | search: Search
3 | tags: Tags
4 | tagcloud: Tag Cloud
5 | friendly_link: Links
6 | wechat: WeChat
7 | hot_comment_posts: Hot Posts
8 | lastest_comments: Latest Comments
9 | post_content: Content
10 | tweets: Tweets
11 | prev: Prev
12 | next: Next
13 | comment: Comments
14 | archive_a: Archives
15 | archive_b: "Archives: %s"
16 | page: Page %d
17 | recent_posts: Recent Posts
18 | random_posts: Recommended Posts
19 | newer: Newer
20 | older: Older
21 | share: Share
22 | powered_by: Powered by
23 | theme_by: Theme by
24 | rss_feed: RSS Feed
25 | category: Category
26 | tag: Tag
27 | contact: Contact
--------------------------------------------------------------------------------
/layout/_widget/hot_comment_posts.ejs:
--------------------------------------------------------------------------------
1 | <% if (index && theme.duoshuo_shortname && false){%>
2 |
8 | <% } %>
9 | <% if (index && !theme.duoshuo_shortname){ %>
10 |
16 | <% } %>
--------------------------------------------------------------------------------
/layout/_partial/footer.ejs:
--------------------------------------------------------------------------------
1 |
15 | <%- js('jquery/jquery.min.js') %>
--------------------------------------------------------------------------------
/layout/_third-part/comments/disqus.ejs:
--------------------------------------------------------------------------------
1 | <% if (theme.disqus_shortname){ %>
2 |
15 | <% } %>
--------------------------------------------------------------------------------
/layout/_widget/post_content.ejs:
--------------------------------------------------------------------------------
1 | <% if (!index && theme.content_position==='widget' && toc(postObj.content || 'giscafer') && postObj.toc!==false){ %>
2 |