diff --git a/_config.yml b/_config.yml index a658e64..818e065 100644 --- a/_config.yml +++ b/_config.yml @@ -11,7 +11,7 @@ title: Silence subtitle: 世上有条唯一的路,除了你无人能走 description: keywords: -author: 柠烟夏季 +author: 夏夜梦星辰 language: zh-CN timezone: @@ -82,14 +82,14 @@ theme: yilia # 图片存储仓库地址 picture_cdn: https://blog-cdn.nos-eastchina1.126.net -### 站点地图 +# 站点地图 sitemap: path: sitemap.xml template: ./sitemap_template.xml baidusitemap: path: baidusitemap.xml - +# 内容索引json jsonContent: meta: false pages: false diff --git a/source/lab/index.md b/source/lab/index.md deleted file mode 100644 index b72e349..0000000 --- a/source/lab/index.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: 实验室 -date: 2018-5-24 10:05:28 -pageid: lab ---- -这里是内容 -[测试超链接](https://www.baidu.com) diff --git a/source/photo_wall/index.md b/source/photo_wall/index.md new file mode 100644 index 0000000..7d574af --- /dev/null +++ b/source/photo_wall/index.md @@ -0,0 +1,7 @@ +--- +title: 照片墙 +date: 2018-5-24 10:05:28 +pageid: PhotoWall +--- + +
diff --git a/themes/yilia/_config.yml b/themes/yilia/_config.yml index 3c19c1a..409c523 100644 --- a/themes/yilia/_config.yml +++ b/themes/yilia/_config.yml @@ -8,9 +8,9 @@ menu: name: jenkins url: /jenkins/ target: _blank - laboratory: # 实验室 - name: laboratory - url: /lab/ + photo_wall: # 照片墙 + name: photo_wall + url: /photo_wall/ # SubNav subnav: @@ -35,9 +35,6 @@ rss: /atom.xml # Content -# 是否在新窗口打开链接 -open_in_new: false - # 打赏 # 打赏type设定:0-关闭打赏; 1-文章对应的md文件里有reward:true属性,才有打赏; 2-所有文章均有打赏 reward_type: 1 diff --git a/themes/yilia/languages/default.yml b/themes/yilia/languages/default.yml index ae53427..5cd3079 100644 --- a/themes/yilia/languages/default.yml +++ b/themes/yilia/languages/default.yml @@ -1,3 +1,5 @@ +# 英语(默认) + categories: Categories category: Category search: Search @@ -15,7 +17,7 @@ share: Share show_full_text: Show Full Text home: Homepage informal_essay: Informal Essay -laboratory: Laboratory +photo_wall: Photo Wall netdisc: Netdisc all_articles: All Articles about_me: About Me \ No newline at end of file diff --git a/themes/yilia/languages/fr.yml b/themes/yilia/languages/fr.yml index f0b33dd..4cc2da5 100644 --- a/themes/yilia/languages/fr.yml +++ b/themes/yilia/languages/fr.yml @@ -1,3 +1,5 @@ +# 法语 + categories: Catégories category: Catégorie search: Rechercher @@ -15,7 +17,7 @@ share: Partager show_full_text: Voir le texte intégral de la home: Homepage informal_essay: Essais -laboratory: Laboratoires +photo_wall: Mur de photo netdisc: Disque réseau all_articles: Tous les articles about_me: À propos de moi \ No newline at end of file diff --git a/themes/yilia/languages/ja.yml b/themes/yilia/languages/ja.yml index 6f079be..cf96066 100644 --- a/themes/yilia/languages/ja.yml +++ b/themes/yilia/languages/ja.yml @@ -1,3 +1,5 @@ +# 日语 + categories: カテゴリー category: カテゴリー search: 検索 @@ -15,7 +17,7 @@ share: シェア show_full_text: 記事全体を見る home: ホーム informal_essay: エッセイ -laboratory: 研究室 +photo_wall: フォトウォール netdisc: ネットワークディスク all_articles: すべての記事 about_me: 私について \ No newline at end of file diff --git a/themes/yilia/languages/ru.yml b/themes/yilia/languages/ru.yml index de8b394..0eeb1a8 100644 --- a/themes/yilia/languages/ru.yml +++ b/themes/yilia/languages/ru.yml @@ -1,3 +1,5 @@ +# 俄语 + categories: Категории category: Категория search: Поиск @@ -15,7 +17,7 @@ share: Поделиться show_full_text: просмотреть полный текст home: дома informal_essay: эссе -laboratory: лаборатория +photo_wall: Фото стена netdisc: Сетевой диск all_articles: Все статьи about_me: Обо мне \ No newline at end of file diff --git a/themes/yilia/languages/zh-CN.yml b/themes/yilia/languages/zh-CN.yml index e9a63ed..832ed5e 100644 --- a/themes/yilia/languages/zh-CN.yml +++ b/themes/yilia/languages/zh-CN.yml @@ -1,3 +1,5 @@ +# 中文简体 + categories: 分类 category: 分类 search: 搜索 @@ -15,7 +17,7 @@ share: 分享 show_full_text: 查看全文 home: 主页 informal_essay: 随笔 -laboratory: 实验室 +photo_wall: 照片墙 netdisc: 网盘 all_articles: 所有文章 about_me: 关于我 \ No newline at end of file diff --git a/themes/yilia/languages/zh-tw.yml b/themes/yilia/languages/zh-tw.yml index 01d860c..d041dc7 100644 --- a/themes/yilia/languages/zh-tw.yml +++ b/themes/yilia/languages/zh-tw.yml @@ -1,3 +1,5 @@ +# 中文繁体 + categories: 分類 category: 分類 search: 搜尋 @@ -15,7 +17,7 @@ share: 分享 show_full_text: 查看全文 home: 主頁 informal_essay: 隨筆 -laboratory: 實驗室 +photo_wall: 照片墻 netdisc: 網盤 all_articles: 所有文章 about_me: 關於我 \ No newline at end of file diff --git a/themes/yilia/layout/_partial/after-footer.ejs b/themes/yilia/layout/_partial/after-footer.ejs index 6b77468..cbf696d 100644 --- a/themes/yilia/layout/_partial/after-footer.ejs +++ b/themes/yilia/layout/_partial/after-footer.ejs @@ -1,14 +1,13 @@ <%- partial('script') %> @@ -18,13 +17,13 @@ window.yiliaConfig = { diff --git a/themes/yilia/layout/_partial/article.ejs b/themes/yilia/layout/_partial/article.ejs index 28a676e..1f98f3d 100644 --- a/themes/yilia/layout/_partial/article.ejs +++ b/themes/yilia/layout/_partial/article.ejs @@ -13,13 +13,14 @@ <% if (post.excerpt && index){ %> <%- post.excerpt %> <% } else { %> + <% if (!page.pageid){ %>