diff --git a/_config.yml b/_config.yml index c3899b8..1a25fdf 100644 --- a/_config.yml +++ b/_config.yml @@ -7,8 +7,8 @@ title: Hexo subtitle: '' description: '' keywords: -author: John Doe -language: en +author: Bruno +language: de timezone: '' # URL @@ -93,7 +93,8 @@ ignore: # Extensions ## Plugins: https://hexo.io/plugins/ ## Themes: https://hexo.io/themes/ -theme: jekyll-theme-landscape + +theme: landscape # Deployment ## Docs: https://hexo.io/docs/deployment.html diff --git a/themes/landscape/LICENSE b/themes/landscape/LICENSE index 9ce4d32..befa344 100644 --- a/themes/landscape/LICENSE +++ b/themes/landscape/LICENSE @@ -1,7 +1,7 @@ -Copyright (c) 2013 Tommy Chen - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - +Copyright (c) 2013 Tommy Chen + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/themes/landscape/README.md b/themes/landscape/README.md index 90ecccd..555cf07 100644 --- a/themes/landscape/README.md +++ b/themes/landscape/README.md @@ -1,112 +1,140 @@ -# 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. - -``` -![img caption](img url) - -{% 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 +# Landscape + +[![NPM version](https://badge.fury.io/js/hexo-theme-landscape.svg)](https://www.npmjs.com/package/hexo-theme-landscape) + +A brand new default theme for [Hexo]. + +- [Preview](https://hexojs.github.io/hexo-theme-landscape/) + +## Installation + +### Install + +Local git install: + +``` bash +$ git clone --depth 1 https://github.com/hexojs/hexo-theme-landscape themes/landscape +``` + +npm install: + +``` +npm i hexo-theme-landscape +``` + +**Landscape requires Hexo 2.4 and above.** If you would like to enable the RSS, the [hexo-generator-feed](https://github.com/hexojs/hexo-generator-feed) plugin is also required. + +### Enable + +Modify `theme` setting in `_config.yml` to `landscape`. + +``` diff +_config.yml +- theme: some-theme ++ theme: landscape +``` + +### Update + +``` bash +cd themes/landscape +git pull +``` + +## Configuration + +It is recommended not to modify `theme/landscape/_config.yml` but to use the `theme_config` section of `_config.yml` or to create `_config.landscape.yml` (see [Alternate Theme Config](https://hexo.io/docs/configuration#Alternate-Theme-Config)). + +``` yml +# Header +menu: + Home: / + Archives: /archives +rss: /atom.xml +banner: images/banner.jpg +subtitle: This a subtitle + +# Content +excerpt_link: Read More +fancybox: true +recent_posts_limits: 5 +# Footer +copyright: |- + Creative Commons License
+ All website licensed under CC BY-NC-ND 4.0
+ +# Sidebar +sidebar: right +widgets: +- category +- tag +- tagcloud +- archive +- recent_posts + +# Miscellaneous +google_analytics: +favicon: /favicon.png +twitter: + +# Header links +# Each name must correspond to the icon name of Fork Awesome +# https://forkaweso.me/Fork-Awesome/icons/ +#links: +# github: https://github.com/your_github_account +# twitter: https://twitter.com/your_twitter_account +# telegram: https://t.me/your_telegram_account +``` + +- **menu** - Navigation menu +- **rss** - RSS link +- **banner** - Path of title banner image of page top +- **excerpt_link** - "Read More" link at the bottom of excerpted articles. `false` to hide the link. +- **fancybox** - Enable [Fancybox] +- **recent_posts_limits** - How many posts display in Home page. +- **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** - Twitter ID +- **links** - Header links with icon, specified links will appear at the top right corner of the page + +## Features + +### Fancybox + +Landscape uses [Fancybox] to showcase your photos. You can use Markdown syntax or fancybox tag plugin to add your photos. + +``` +![img caption](img url) + +{% 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. + +### Header links + +You can add links to the header area with icons. + +``` +social: + github: https://github.com/your_github_account + twitter: https://twitter.com/your_twitter_account + telegram: https://t.me/your_telegram_account +``` + +[Hexo]: https://hexo.io/ +[Fancybox]: https://github.com/fancyapps/fancyBox diff --git a/themes/landscape/_config.yml b/themes/landscape/_config.yml index ca22374..174d3f3 100644 --- a/themes/landscape/_config.yml +++ b/themes/landscape/_config.yml @@ -1,37 +1,66 @@ -# Header -menu: - Home: / - Archives: /archives -rss: /atom.xml - -# Content -excerpt_link: Read More -fancybox: true - -# Sidebar -sidebar: right -widgets: -- category -- tag -- tagcloud -- archive -- recent_posts - -# display widgets at the bottom of index pages (pagination == 2) -index_widgets: -# - category -# - tagcloud -# - archive - -# widget behavior -archive_type: 'monthly' -show_count: false - -# Miscellaneous -google_analytics: -gauges_analytics: -favicon: /favicon.png -twitter: -google_plus: -fb_admins: -fb_app_id: +# Header +menu: + Home: / + Archives: /archives +rss: /atom.xml +banner: "images/banner.jpg" + +# Content +excerpt_link: Read More +fancybox: true + +# # Footer +# copyright: |- +# Creative Commons License
+# All website licensed under CC BY 4.0
+ +# Footer +copyright: +# Need help choosing? Please see... +# https://creativecommons.org/choose/ +# https://choosealicense.com/ +# You can use html like below... +# copyright: |- +# Creative Commons License
+# All website licensed under CC BY 4.0
+ +# Sidebar +sidebar: right +widgets: +- category +- tag +- tagcloud +- archive +- recent_posts + +# display widgets at the bottom of index pages (pagination == 2) +index_widgets: +# - category +# - tagcloud +# - archive + +# Widget behavior +archive_type: 'monthly' +show_count: false +recent_posts_limits: 5 + +# Miscellaneous +google_analytics: +gauges_analytics: +favicon: /favicon.png +twitter: +fb_admins: +fb_app_id: + +# valine comment system. https://valine.js.org +valine: + enable: false # if you want use valine,please set this value is true + appId: # leancloud application app id + appKey: # leancloud application app key + notify: false # valine mail notify (true/false) https://github.com/xCss/Valine/wiki + verify: false # valine verify code (true/false) + pageSize: 10 # comment list page size + avatar: mm # gravatar style https://valine.js.org/#/avatar + lang: zh-cn # i18n: zh-cn/en + placeholder: Just go go # valine comment input placeholder(like: Please leave your footprints ) + guest_info: nick,mail,link #valine comment header info diff --git a/themes/landscape/languages/de-DE.yml b/themes/landscape/languages/de-DE.yml new file mode 100644 index 0000000..60dafbd --- /dev/null +++ b/themes/landscape/languages/de-DE.yml @@ -0,0 +1 @@ +de.yml \ No newline at end of file diff --git a/themes/landscape/languages/de.yml b/themes/landscape/languages/de.yml index 630055f..5106ec6 100644 --- a/themes/landscape/languages/de.yml +++ b/themes/landscape/languages/de.yml @@ -1,19 +1,19 @@ -categories: Kategorien -search: Suche -tags: Tags -tagcloud: Tag Cloud -tweets: Tweets -prev: zurück -next: weiter -comment: Kommentare -archive_a: Archiv -archive_b: "Archive: %s" -page: Seite %d -recent_posts: letzter Beitrag -newer: Neuer -older: Älter -share: Teilen -powered_by: Powered by -rss_feed: RSS Feed -category: Kategorie -tag: Tag +categories: Kategorien +search: Suche +tags: Tags +tagcloud: Tag Cloud +tweets: Tweets +prev: zurück +next: weiter +comment: Kommentare +archive_a: Archiv +archive_b: "Archive: %s" +page: Seite %d +recent_posts: letzter Beitrag +newer: Neuer +older: Älter +share: Teilen +powered_by: Powered by +rss_feed: RSS Feed +category: Kategorie +tag: Tag diff --git a/themes/landscape/languages/default.yml b/themes/landscape/languages/default.yml index 3ef7e92..7fcfc3b 100644 --- a/themes/landscape/languages/default.yml +++ b/themes/landscape/languages/default.yml @@ -1,19 +1 @@ -categories: Categories -search: Search -tags: Tags -tagcloud: Tag Cloud -tweets: Tweets -prev: Prev -next: Next -comment: Comments -archive_a: Archives -archive_b: "Archives: %s" -page: Page %d -recent_posts: Recent Posts -newer: Newer -older: Older -share: Share -powered_by: Powered by -rss_feed: RSS Feed -category: Category -tag: Tag \ No newline at end of file +en.yml \ No newline at end of file diff --git a/themes/landscape/languages/en-GB.yml b/themes/landscape/languages/en-GB.yml new file mode 100644 index 0000000..7fcfc3b --- /dev/null +++ b/themes/landscape/languages/en-GB.yml @@ -0,0 +1 @@ +en.yml \ No newline at end of file diff --git a/themes/landscape/languages/en-US.yml b/themes/landscape/languages/en-US.yml new file mode 100644 index 0000000..7fcfc3b --- /dev/null +++ b/themes/landscape/languages/en-US.yml @@ -0,0 +1 @@ +en.yml \ No newline at end of file diff --git a/themes/landscape/languages/en.yml b/themes/landscape/languages/en.yml new file mode 100644 index 0000000..ad0a2bb --- /dev/null +++ b/themes/landscape/languages/en.yml @@ -0,0 +1,19 @@ +categories: Categories +search: Search +tags: Tags +tagcloud: Tag Cloud +tweets: Tweets +prev: Prev +next: Next +comment: Comments +archive_a: Archives +archive_b: "Archives: %s" +page: Page %d +recent_posts: Recent Posts +newer: Newer +older: Older +share: Share +powered_by: Powered by +rss_feed: RSS Feed +category: Category +tag: Tag \ No newline at end of file diff --git a/themes/landscape/languages/es-ES.yml b/themes/landscape/languages/es-ES.yml new file mode 100644 index 0000000..0235ef3 --- /dev/null +++ b/themes/landscape/languages/es-ES.yml @@ -0,0 +1 @@ +es.yml \ No newline at end of file diff --git a/themes/landscape/languages/es.yml b/themes/landscape/languages/es.yml index d862e87..a3a1839 100644 --- a/themes/landscape/languages/es.yml +++ b/themes/landscape/languages/es.yml @@ -1,19 +1,19 @@ -categories: Categorías -search: Buscar -tags: Tags -tagcloud: Nube de Tags -tweets: Tweets -prev: Previo -next: Siguiente -comment: Comentarios -archive_a: Archivos -archive_b: "Archivos: %s" -page: Página %d -recent_posts: Posts recientes -newer: Nuevo -older: Viejo -share: Compartir -powered_by: Construido por -rss_feed: RSS -category: Categoría +categories: Categorías +search: Buscar +tags: Tags +tagcloud: Nube de Tags +tweets: Tweets +prev: Previo +next: Siguiente +comment: Comentarios +archive_a: Archivos +archive_b: "Archivos: %s" +page: Página %d +recent_posts: Posts recientes +newer: Nuevo +older: Viejo +share: Compartir +powered_by: Construido por +rss_feed: RSS +category: Categoría tag: Tag \ No newline at end of file diff --git a/themes/landscape/languages/fr-FR.yml b/themes/landscape/languages/fr-FR.yml new file mode 100644 index 0000000..1a04feb --- /dev/null +++ b/themes/landscape/languages/fr-FR.yml @@ -0,0 +1 @@ +fr.yml \ No newline at end of file diff --git a/themes/landscape/languages/fr.yml b/themes/landscape/languages/fr.yml index c84f51b..c0bf676 100644 --- a/themes/landscape/languages/fr.yml +++ b/themes/landscape/languages/fr.yml @@ -1,19 +1,19 @@ -categories: Catégories -search: Rechercher -tags: Mot-clés -tagcloud: Nuage de mot-clés -tweets: Tweets -prev: Précédent -next: Suivant -comment: Commentaires -archive_a: Archives -archive_b: "Archives: %s" -page: Page %d -recent_posts: Articles récents -newer: Récent -older: Ancien -share: Partager -powered_by: Propulsé par -rss_feed: Flux RSS -category: Catégorie -tag: Mot-clé +categories: Catégories +search: Rechercher +tags: Mot-clés +tagcloud: Nuage de mot-clés +tweets: Tweets +prev: Précédent +next: Suivant +comment: Commentaires +archive_a: Archives +archive_b: "Archives: %s" +page: Page %d +recent_posts: Articles récents +newer: Récent +older: Ancien +share: Partager +powered_by: Propulsé par +rss_feed: Flux RSS +category: Catégorie +tag: Mot-clé diff --git a/themes/landscape/languages/hu-HU.yml b/themes/landscape/languages/hu-HU.yml new file mode 100644 index 0000000..09f1bc3 --- /dev/null +++ b/themes/landscape/languages/hu-HU.yml @@ -0,0 +1 @@ +hu.yml \ No newline at end of file diff --git a/themes/landscape/languages/hu.yml b/themes/landscape/languages/hu.yml new file mode 100644 index 0000000..85dd15a --- /dev/null +++ b/themes/landscape/languages/hu.yml @@ -0,0 +1,19 @@ +categories: Kategóriák +search: Keresés +tags: Címkék +tagcloud: Címkefelhő +tweets: Tweetek +prev: Előző +next: Következő +comment: Kommentek +archive_a: Archív +archive_b: "Archív: %s" +page: Oldal %d +recent_posts: Legfrissebb bejegyzések +newer: Újabb +older: Régebbi +share: Megosztás +powered_by: Powered by +rss_feed: RSS-hírfolyam +category: Kategória +tag: Címke diff --git a/themes/landscape/languages/it-IT.yml b/themes/landscape/languages/it-IT.yml new file mode 100644 index 0000000..444a80e --- /dev/null +++ b/themes/landscape/languages/it-IT.yml @@ -0,0 +1 @@ +it.yml \ No newline at end of file diff --git a/themes/landscape/languages/it.yml b/themes/landscape/languages/it.yml new file mode 100644 index 0000000..30991a3 --- /dev/null +++ b/themes/landscape/languages/it.yml @@ -0,0 +1,19 @@ +categories: Categorie +search: Cerca +tags: Tag +tagcloud: Tag Cloud +tweets: Tweet +prev: Prec +next: Succ +comment: Commenti +archive_a: Archivio +archive_b: "Archivio: %s" +page: Pagina %d +recent_posts: Post Recenti +newer: Nuovi +older: Vecchi +share: Condividi +powered_by: Powered by +rss_feed: Feed RSS +category: Categoria +tag: Tag diff --git a/themes/landscape/languages/ja-JP.yml b/themes/landscape/languages/ja-JP.yml new file mode 100644 index 0000000..eb4b6b8 --- /dev/null +++ b/themes/landscape/languages/ja-JP.yml @@ -0,0 +1 @@ +ja.yml \ No newline at end of file diff --git a/themes/landscape/languages/ja.yml b/themes/landscape/languages/ja.yml index af0f7fe..040e95c 100644 --- a/themes/landscape/languages/ja.yml +++ b/themes/landscape/languages/ja.yml @@ -1,19 +1,19 @@ -categories: カテゴリ -search: 検索 -tags: タグ -tagcloud: タグクラウド -tweets: ツイート -prev: 戻る -next: 次へ -comment: コメント -archive_a: アーカイブ -archive_b: "アーカイブ: %s" -page: ページ %d -recent_posts: 最近の投稿 -newer: 次の記事 -older: 前の記事 -share: 共有 -powered_by: Powered by -rss_feed: RSSフィード -category: カテゴリ -tag: タグ +categories: カテゴリ +search: 検索 +tags: タグ +tagcloud: タグクラウド +tweets: ツイート +prev: 戻る +next: 次へ +comment: コメント +archive_a: アーカイブ +archive_b: "アーカイブ: %s" +page: ページ %d +recent_posts: 最近の投稿 +newer: 次の記事 +older: 前の記事 +share: 共有 +powered_by: Powered by +rss_feed: RSSフィード +category: カテゴリ +tag: タグ diff --git a/themes/landscape/languages/ko-KR.yml b/themes/landscape/languages/ko-KR.yml new file mode 100644 index 0000000..2c364d1 --- /dev/null +++ b/themes/landscape/languages/ko-KR.yml @@ -0,0 +1 @@ +ko.yml \ No newline at end of file diff --git a/themes/landscape/languages/ko.yml b/themes/landscape/languages/ko.yml index 1d27b43..5c93e5a 100644 --- a/themes/landscape/languages/ko.yml +++ b/themes/landscape/languages/ko.yml @@ -1,19 +1,19 @@ -categories: 카테고리 -search: 검색 -tags: 태그 -tagcloud: 태그 클라우드 -tweets: 트윗 -prev: 이전 -next: 다음 -comment: 댓글 -archive_a: 아카이브 -archive_b: "아카이브: %s" -page: 페이지 %d -recent_posts: 최근 포스트 -newer: 최신 -older: 이전 -share: 공유 -powered_by: Powered by -rss_feed: RSS Feed -category: 카테고리 -tag: 태그 +categories: 카테고리 +search: 검색 +tags: 태그 +tagcloud: 태그 클라우드 +tweets: 트윗 +prev: 이전 +next: 다음 +comment: 댓글 +archive_a: 아카이브 +archive_b: "아카이브: %s" +page: 페이지 %d +recent_posts: 최근 포스트 +newer: 최신 +older: 이전 +share: 공유 +powered_by: Powered by +rss_feed: RSS Feed +category: 카테고리 +tag: 태그 diff --git a/themes/landscape/languages/mn-MN.yml b/themes/landscape/languages/mn-MN.yml new file mode 100644 index 0000000..0c32350 --- /dev/null +++ b/themes/landscape/languages/mn-MN.yml @@ -0,0 +1 @@ +mn.yml \ No newline at end of file diff --git a/themes/landscape/languages/mn.yml b/themes/landscape/languages/mn.yml new file mode 100644 index 0000000..76aeb4a --- /dev/null +++ b/themes/landscape/languages/mn.yml @@ -0,0 +1,19 @@ +categories: Ангилалууд +search: Хайлт +tags: Тагууд +tagcloud: Tag Cloud +tweets: Tweets +prev: Өмнөх +next: Дараах +comment: Сэтгэгдэл +archive_a: Архив +archive_b: "Архив: %s" +page: Хуудас %d +recent_posts: Сүүлд нэмэгдсэн +newer: Шинэ +older: Хуучин +share: Хуваалцах +powered_by: Powered by +rss_feed: RSS Feed +category: Ангилал +tag: Таг diff --git a/themes/landscape/languages/nl-NL.yml b/themes/landscape/languages/nl-NL.yml new file mode 100644 index 0000000..6c613d4 --- /dev/null +++ b/themes/landscape/languages/nl-NL.yml @@ -0,0 +1 @@ +nl.yml \ No newline at end of file diff --git a/themes/landscape/languages/nl.yml b/themes/landscape/languages/nl.yml index 568d33e..062569c 100644 --- a/themes/landscape/languages/nl.yml +++ b/themes/landscape/languages/nl.yml @@ -1,20 +1,20 @@ - -categories: Categorieën -search: Zoeken -tags: Labels -tagcloud: Tag Cloud -tweets: Tweets -prev: Vorige -next: Volgende -comment: Commentaren -archive_a: Archieven -archive_b: "Archieven: %s" -page: Pagina %d -recent_posts: Recente berichten -newer: Nieuwer -older: Ouder -share: Delen -powered_by: Powered by -rss_feed: RSS Feed -category: Categorie -tag: Label + +categories: Categorieën +search: Zoeken +tags: Labels +tagcloud: Tag Cloud +tweets: Tweets +prev: Vorige +next: Volgende +comment: Commentaren +archive_a: Archieven +archive_b: "Archieven: %s" +page: Pagina %d +recent_posts: Recente berichten +newer: Nieuwer +older: Ouder +share: Delen +powered_by: Powered by +rss_feed: RSS Feed +category: Categorie +tag: Label diff --git a/themes/landscape/languages/no.yml b/themes/landscape/languages/no.yml index b997691..9c4e1d9 100644 --- a/themes/landscape/languages/no.yml +++ b/themes/landscape/languages/no.yml @@ -1,19 +1,19 @@ -categories: Kategorier -search: Søk -tags: Tags -tagcloud: Tag Cloud -tweets: Tweets -prev: Forrige -next: Neste -comment: Kommentarer -archive_a: Arkiv -archive_b: "Arkiv: %s" -page: Side %d -recent_posts: Siste innlegg -newer: Newer -older: Older -share: Share -powered_by: Powered by -rss_feed: RSS Feed -category: Category +categories: Kategorier +search: Søk +tags: Tags +tagcloud: Tag Cloud +tweets: Tweets +prev: Forrige +next: Neste +comment: Kommentarer +archive_a: Arkiv +archive_b: "Arkiv: %s" +page: Side %d +recent_posts: Siste innlegg +newer: Newer +older: Older +share: Share +powered_by: Powered by +rss_feed: RSS Feed +category: Category tag: Tag \ No newline at end of file diff --git a/themes/landscape/languages/pt-PT.yml b/themes/landscape/languages/pt-PT.yml new file mode 100644 index 0000000..887dc7d --- /dev/null +++ b/themes/landscape/languages/pt-PT.yml @@ -0,0 +1 @@ +pt.yml \ No newline at end of file diff --git a/themes/landscape/languages/pt.yml b/themes/landscape/languages/pt.yml index 3d74af3..dbd06e1 100644 --- a/themes/landscape/languages/pt.yml +++ b/themes/landscape/languages/pt.yml @@ -1,19 +1,19 @@ -categories: Categorias -search: Buscar -tags: Tags -tagcloud: Nuvem de Tags -tweets: Tweets -prev: Anterior -next: Próximo -comment: Comentários -archive_a: Arquivos -archive_b: "Arquivos: %s" -page: Página %d -recent_posts: Postagens Recentes -newer: Mais Recente -older: Mais Antigo -share: Compartilhar -powered_by: Desenvolvido por -rss_feed: Feed RSS -category: Categoria -tag: Tag +categories: Categorias +search: Buscar +tags: Tags +tagcloud: Nuvem de Tags +tweets: Tweets +prev: Anterior +next: Próximo +comment: Comentários +archive_a: Arquivos +archive_b: "Arquivos: %s" +page: Página %d +recent_posts: Postagens Recentes +newer: Mais Recente +older: Mais Antigo +share: Compartilhar +powered_by: Desenvolvido por +rss_feed: Feed RSS +category: Categoria +tag: Tag diff --git a/themes/landscape/languages/ru-RU.yml b/themes/landscape/languages/ru-RU.yml new file mode 100644 index 0000000..1655f2c --- /dev/null +++ b/themes/landscape/languages/ru-RU.yml @@ -0,0 +1 @@ +ru.yml \ No newline at end of file diff --git a/themes/landscape/languages/ru.yml b/themes/landscape/languages/ru.yml index 625a83c..9e08f62 100644 --- a/themes/landscape/languages/ru.yml +++ b/themes/landscape/languages/ru.yml @@ -1,19 +1,19 @@ -categories: Категории -search: Поиск -tags: Метки -tagcloud: Облако меток -tweets: Твиты -prev: Назад -next: Вперед -comment: Комментарии -archive_a: Архив -archive_b: "Архив: %s" -page: Страница %d -recent_posts: Недавние записи -newer: Следующий -older: Предыдущий -share: Поделиться -powered_by: Создано с помощью -rss_feed: RSS-каналы -category: Категория +categories: Категории +search: Поиск +tags: Метки +tagcloud: Облако меток +tweets: Твиты +prev: Назад +next: Вперед +comment: Комментарии +archive_a: Архив +archive_b: "Архив: %s" +page: Страница %d +recent_posts: Недавние записи +newer: Следующий +older: Предыдущий +share: Поделиться +powered_by: Создано с помощью +rss_feed: RSS-каналы +category: Категория tag: Метка \ No newline at end of file diff --git a/themes/landscape/languages/th-TH.yml b/themes/landscape/languages/th-TH.yml new file mode 100644 index 0000000..5aeac19 --- /dev/null +++ b/themes/landscape/languages/th-TH.yml @@ -0,0 +1 @@ +th.yml diff --git a/themes/landscape/languages/th.yml b/themes/landscape/languages/th.yml new file mode 100644 index 0000000..370f43b --- /dev/null +++ b/themes/landscape/languages/th.yml @@ -0,0 +1,19 @@ +categories: หมวดหมู่ +search: ค้นหา +tags: แท็ก +tagcloud: แท็กคลาวด์ +tweets: ทวีต +prev: ก่อนหน้า +next: ถัดไป +comment: ความคิดเห็น +archive_a: ที่เก็บเอกสาร +archive_b: "ที่เก็บเอกสาร: %s" +page: หน้า %d +recent_posts: โพสต์ล่าสุด +newer: ใหม่กว่า +older: เก่ากว่า +share: แชร์ +powered_by: ขับเคลื่อนโดย +rss_feed: RSS Feed +category: หมวดหมู่ +tag: แท็ก diff --git a/themes/landscape/languages/tr.yml b/themes/landscape/languages/tr.yml new file mode 100644 index 0000000..4e78d16 --- /dev/null +++ b/themes/landscape/languages/tr.yml @@ -0,0 +1,19 @@ +categories: Kategoriler +search: Ara +tags: Etiketler +tagcloud: Etiket bulutu +tweets: twitler +prev: Geri +next: İleri +comment: Yorumlar +archive_a: Arşiv +archive_b: "Arşiv: %s" +page: Sayfa %d +recent_posts: Недавние записи +newer: daha yeni +older: daha eski +share: Paylaş +powered_by: Destekleriyle +rss_feed: RSS-kanalı +category: Kategori +tag: Etiket \ No newline at end of file diff --git a/themes/landscape/languages/zh-CN.yml b/themes/landscape/languages/zh-CN.yml index 51e1321..130de77 100644 --- a/themes/landscape/languages/zh-CN.yml +++ b/themes/landscape/languages/zh-CN.yml @@ -1,19 +1,19 @@ -categories: 分类 -search: 搜索 -tags: 标签 -tagcloud: 标签云 -tweets: 推文 -prev: 上一页 -next: 下一页 -comment: 留言 -archive_a: 归档 -archive_b: 归档:%s -page: 第 %d 页 -recent_posts: 最新文章 -newer: Newer -older: Older -share: Share -powered_by: Powered by -rss_feed: RSS Feed -category: Category -tag: Tag \ No newline at end of file +categories: 分类 +search: 搜索 +tags: 标签 +tagcloud: 标签云 +tweets: 推文 +prev: 上一页 +next: 下一页 +comment: 留言 +archive_a: 归档 +archive_b: 归档:%s +page: 第 %d 页 +recent_posts: 最新文章 +newer: 前一篇 +older: 后一篇 +share: 分享 +powered_by: Powered by +rss_feed: RSS 订阅 +category: 目录 +tag: 标签 diff --git a/themes/landscape/languages/zh-TW.yml b/themes/landscape/languages/zh-TW.yml index 76d2916..fc7de5d 100644 --- a/themes/landscape/languages/zh-TW.yml +++ b/themes/landscape/languages/zh-TW.yml @@ -1,19 +1,19 @@ -categories: 分類 -search: 搜尋 -tags: 標籤 -tagcloud: 標籤雲 -tweets: 推文 -prev: 上一頁 -next: 下一頁 -comment: 留言 -archive_a: 彙整 -archive_b: 彙整:%s -page: 第 %d 頁 -recent_posts: 最新文章 -newer: Newer -older: Older -share: Share -powered_by: Powered by -rss_feed: RSS Feed -category: Category +categories: 分類 +search: 搜尋 +tags: 標籤 +tagcloud: 標籤雲 +tweets: 推文 +prev: 上一頁 +next: 下一頁 +comment: 留言 +archive_a: 彙整 +archive_b: 彙整:%s +page: 第 %d 頁 +recent_posts: 最新文章 +newer: Newer +older: Older +share: Share +powered_by: Powered by +rss_feed: RSS Feed +category: Category tag: Tag \ No newline at end of file diff --git a/themes/landscape/layout/_partial/after-footer.ejs b/themes/landscape/layout/_partial/after-footer.ejs index ff2d509..2fd7c15 100644 --- a/themes/landscape/layout/_partial/after-footer.ejs +++ b/themes/landscape/layout/_partial/after-footer.ejs @@ -1,25 +1,46 @@ -<% if (config.disqus_shortname){ %> - -<% } %> - - - -<% if (theme.fancybox){ %> - <%- css('fancybox/jquery.fancybox') %> - <%- js('fancybox/jquery.fancybox.pack') %> -<% } %> - -<%- js('js/script') %> -<%- partial('gauges-analytics') %> +<% if (config.disqus_shortname){ %> + +<% } %> + +<%- js('js/jquery-3.6.4.min.js') %> + +<% if (theme.fancybox){ %> + <%- js('fancybox/jquery.fancybox.min.js') %> +<% } %> + +<%- js('js/script') %> +<%- partial('gauges-analytics') %> + +<% if(theme.valine.enable && theme.valine.appId && theme.valine.appKey){ %> + <%- js('https://cdn.jsdelivr.net/npm/valine@1.3.10/dist/Valine.min.js') %> + +<% } %> \ No newline at end of file diff --git a/themes/landscape/layout/_partial/archive-post.ejs b/themes/landscape/layout/_partial/archive-post.ejs index 36f2cc3..1fca402 100644 --- a/themes/landscape/layout/_partial/archive-post.ejs +++ b/themes/landscape/layout/_partial/archive-post.ejs @@ -1,8 +1,8 @@ -
-
-
- <%- partial('post/date', {class_name: 'archive-article-date', date_format: 'MMM D'}) %> - <%- partial('post/title', {class_name: 'archive-article-title'}) %> -
-
+
+
+
+ <%- partial('post/date', {class_name: 'archive-article-date', date_format: 'MMM D'}) %> + <%- partial('post/title', {class_name: 'archive-article-title'}) %> +
+
\ No newline at end of file diff --git a/themes/landscape/layout/_partial/archive.ejs b/themes/landscape/layout/_partial/archive.ejs index 9da934a..84f0bc8 100644 --- a/themes/landscape/layout/_partial/archive.ejs +++ b/themes/landscape/layout/_partial/archive.ejs @@ -1,34 +1,35 @@ -<% if (pagination == 2){ %> - <% page.posts.each(function(post){ %> - <%- partial('article', {post: post, index: true}) %> - <% }) %> -<% } else { %> - <% var last; %> - <% page.posts.each(function(post, i){ %> - <% var year = post.date.year(); %> - <% if (last != year){ %> - <% if (last != null){ %> - - <% } %> - <% last = year; %> -
- -
- <% } %> - <%- partial('archive-post', {post: post, even: i % 2 == 0}) %> - <% }) %> - <% if (page.posts.length){ %> -
- <% } %> -<% } %> -<% if (page.total > 1){ %> - -<% } %> +<% if (pagination == 2){ %> + <% page.posts.each(function(post){ %> + <%- partial('article', {post: post, index: true}) %> + <% }) %> +<% } else { %> + <% var last; %> + <% page.posts.each(function(post, i){ %> + <% var year = post.date.year(); %> + <% if (last != year){ %> + <% if (last != null){ %> + + <% } %> + <% last = year; %> +
+ +
+ <% } %> + <%- partial('archive-post', {post: post, even: i % 2 == 0}) %> + <% }) %> + <% if (page.posts.length){ %> +
+ <% } %> +<% } %> +<% if (page.total > 1){ %> + +<% } %> diff --git a/themes/landscape/layout/_partial/article.ejs b/themes/landscape/layout/_partial/article.ejs index 0f951a9..db8638d 100644 --- a/themes/landscape/layout/_partial/article.ejs +++ b/themes/landscape/layout/_partial/article.ejs @@ -1,44 +1,55 @@ -
- -
- <%- partial('post/gallery') %> - <% if (post.link || post.title){ %> -
- <%- partial('post/title', {class_name: 'article-title'}) %> -
- <% } %> -
- <% if (post.excerpt && index){ %> - <%- post.excerpt %> - <% if (theme.excerpt_link){ %> -

- <%= theme.excerpt_link %> -

- <% } %> - <% } else { %> - <%- post.content %> - <% } %> -
- -
- <% if (!index){ %> - <%- partial('post/nav') %> - <% } %> -
- -<% if (!index && post.comments && config.disqus_shortname){ %> -
-
- -
-
+
+ +
+ <%- partial('post/gallery') %> + <% if (post.link || post.title){ %> +
+ <%- partial('post/title', {class_name: 'p-name article-title'}) %> +
+ <% } %> +
+ <% if (post.excerpt && index){ %> + <%- post.excerpt %> + <% if (theme.excerpt_link){ %> +

+ <%= theme.excerpt_link %> +

+ <% } %> + <% } else { %> + <%- post.content %> + <% } %> +
+ +
+ <% if (!index){ %> + <%- partial('post/nav') %> + <% } %> +
+ +<% if (!index && post.comments && config.disqus_shortname){ %> +
+
+ +
+
+<% } %> +<% if (!index && post.comments && theme.valine.enable && theme.valine.appId && theme.valine.appKey){ %> +
+ +
<% } %> \ No newline at end of file diff --git a/themes/landscape/layout/_partial/footer.ejs b/themes/landscape/layout/_partial/footer.ejs index 3aca618..ac33acd 100644 --- a/themes/landscape/layout/_partial/footer.ejs +++ b/themes/landscape/layout/_partial/footer.ejs @@ -1,11 +1,14 @@ - \ No newline at end of file + diff --git a/themes/landscape/layout/_partial/gauges-analytics.ejs b/themes/landscape/layout/_partial/gauges-analytics.ejs index d64be38..3fb1085 100644 --- a/themes/landscape/layout/_partial/gauges-analytics.ejs +++ b/themes/landscape/layout/_partial/gauges-analytics.ejs @@ -1,18 +1,17 @@ -<% if (theme.gauges_analytics){ %> - - - -<% } %> +<% if (theme.gauges_analytics){ %> + + + +<% } %> diff --git a/themes/landscape/layout/_partial/google-analytics.ejs b/themes/landscape/layout/_partial/google-analytics.ejs index 84e75f0..fbabf42 100644 --- a/themes/landscape/layout/_partial/google-analytics.ejs +++ b/themes/landscape/layout/_partial/google-analytics.ejs @@ -1,14 +1,12 @@ -<% if (theme.google_analytics){ %> - - - -<% } %> +<% if (theme.google_analytics){ %> + + + + +<% } %> \ No newline at end of file diff --git a/themes/landscape/layout/_partial/head.ejs b/themes/landscape/layout/_partial/head.ejs index 43d5f93..b8016d5 100644 --- a/themes/landscape/layout/_partial/head.ejs +++ b/themes/landscape/layout/_partial/head.ejs @@ -1,36 +1,42 @@ - - - - - <%- partial('google-analytics') %> - <% - var title = page.title; - - if (is_archive()){ - title = __('archive_a'); - - if (is_month()){ - title += ': ' + page.year + '/' + page.month; - } else if (is_year()){ - title += ': ' + page.year; - } - } else if (is_category()){ - title = __('category') + ': ' + page.category; - } else if (is_tag()){ - title = __('tag') + ': ' + page.tag; - } - %> - <% if (title){ %><%= title %> | <% } %><%= config.title %> - - <%- open_graph({twitter_id: theme.twitter, google_plus: theme.google_plus, fb_admins: theme.fb_admins, fb_app_id: theme.fb_app_id}) %> - <% if (theme.rss){ %> - - <% } %> - <% if (theme.favicon){ %> - - <% } %> - <% if (config.highlight.enable){ %> - - <% } %> - <%- css('css/style') %> - + + + <%- partial('google-analytics') %> + <% + var title = page.title; + + if (is_archive()){ + title = __('archive_a'); + + if (is_month()){ + title += ': ' + page.year + '/' + page.month; + } else if (is_year()){ + title += ': ' + page.year; + } + } else if (is_category()){ + title = __('category') + ': ' + page.category; + } else if (is_tag()){ + title = __('tag') + ': ' + page.tag; + } + %> + <% if (title){ %><%= title %> | <% } %><%= config.title %> + + <%- open_graph({twitter_id: theme.twitter, fb_admins: theme.fb_admins, fb_app_id: theme.fb_app_id}) %> + <% if (config.feed) { %> + <%- feed_tag() %> + <% } else if (theme.rss) { %> + <%- feed_tag(theme.rss) %> + <% } %> + <% if (theme.favicon){ %> + <%- favicon_tag(theme.favicon) %> + <% } %> + <% if (config.highlight.enable){ %> + <%- css('https://cdn.jsdelivr.net/npm/typeface-source-code-pro@0.0.71/index.min.css') %> + <% } %> + <%- css('css/style') %> + <% if (theme.fancybox){ %> + <%- css('fancybox/jquery.fancybox.min.css') %> + <% } %> + <% if (theme.links) {%> + <%- css('https://cdn.jsdelivr.net/npm/fork-awesome@1.2.0/css/fork-awesome.min.css') %> + <% } %> + diff --git a/themes/landscape/layout/_partial/header.ejs b/themes/landscape/layout/_partial/header.ejs index e8a305e..99f6fef 100644 --- a/themes/landscape/layout/_partial/header.ejs +++ b/themes/landscape/layout/_partial/header.ejs @@ -1,32 +1,37 @@ - \ No newline at end of file + diff --git a/themes/landscape/layout/_partial/mobile-nav.ejs b/themes/landscape/layout/_partial/mobile-nav.ejs index 7c1d2af..7759c5a 100644 --- a/themes/landscape/layout/_partial/mobile-nav.ejs +++ b/themes/landscape/layout/_partial/mobile-nav.ejs @@ -1,5 +1,5 @@ -