From 4180e196a7e10318ee0cf93c0e24d3ebbf544ecf Mon Sep 17 00:00:00 2001 From: aleks Date: Fri, 20 Jan 2023 19:07:42 +0300 Subject: [PATCH] update --- .github/FUNDING.yml | 16 ------ .github/ISSUE_TEMPLATE/bug-report.md | 62 -------------------- .github/ISSUE_TEMPLATE/feature-request.md | 36 ------------ .github/ISSUE_TEMPLATE/other.md | 21 ------- .github/ISSUE_TEMPLATE/question.md | 70 ----------------------- .github/config.yml | 12 ---- .github/workflows/npmpublish.yml | 21 ------- .travis.yml | 10 ---- _config.yml | 36 ++++++------ languages/de.yml | 38 ------------ languages/es.yml | 38 ------------ languages/ja.yml | 38 ------------ languages/ko.yml | 38 ------------ languages/pt.yml | 38 ------------ languages/vi.yml | 38 ------------ languages/zh-CN.yml | 38 ------------ languages/zh-TW.yml | 38 ------------ source-src/js/share.js | 17 +----- 18 files changed, 17 insertions(+), 588 deletions(-) delete mode 100644 .github/FUNDING.yml delete mode 100644 .github/ISSUE_TEMPLATE/bug-report.md delete mode 100644 .github/ISSUE_TEMPLATE/feature-request.md delete mode 100644 .github/ISSUE_TEMPLATE/other.md delete mode 100644 .github/ISSUE_TEMPLATE/question.md delete mode 100644 .github/config.yml delete mode 100644 .github/workflows/npmpublish.yml delete mode 100644 .travis.yml delete mode 100644 languages/de.yml delete mode 100644 languages/es.yml delete mode 100644 languages/ja.yml delete mode 100644 languages/ko.yml delete mode 100644 languages/pt.yml delete mode 100644 languages/vi.yml delete mode 100644 languages/zh-CN.yml delete mode 100644 languages/zh-TW.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index 89bcf94..0000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,16 +0,0 @@ -# These are supported funding model platforms - -github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] -patreon: # Replace with a single Patreon username -open_collective: ayer # Replace with a single Open Collective username -ko_fi: # Replace with a single Ko-fi username -tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel -community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry -liberapay: # Replace with a single Liberapay username -issuehunt: # Replace with a single IssueHunt username -otechie: # Replace with a single Otechie username -custom: - [ - "https://shen-yu.gitee.io/images/wechat.jpg", - "https://shen-yu.gitee.io/images/alipay.jpg", - ] diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md deleted file mode 100644 index 8b287d1..0000000 --- a/.github/ISSUE_TEMPLATE/bug-report.md +++ /dev/null @@ -1,62 +0,0 @@ ---- -name: Bug Report -about: Something isn't working as expected -title: "" -labels: Bug -assignees: "" ---- - -Please follow this Issue template to provide relevant information, such as source code repositories, blog links, and screenshots, which will help us investigate. -请按照此 Issue 模版提供相关信息,例如源码仓库、博客链接和屏幕截图,这将有助于我们进行调查。 - -## Issue Checklist - - - -- [ ] I am using [the latest](https://github.com/Shen-Yu/hexo-theme-ayer) version of hexo-theme-ayer. -- [ ] I have reviewed the latest Roadmap on GitHub and searched for current [Ayer Issues](https://github.com/Shen-Yu/hexo-theme-ayer/issues), which does not help me. - ---- - -## Expected behavior - -## Actual behavior - - - -- Links to demo site with this issue: N/A -- Links to repository or source code of the blog: N/A - -## Steps to reproduce the behavior - -1. N/A -2. N/A -3. N/A - -## Environment Information - -### Node.js and NPM Information - - - -``` - -``` - -### Package dependencies Information - - - -``` - -``` - -### HTML Configuration - - - -``` - -``` - -## Other Information diff --git a/.github/ISSUE_TEMPLATE/feature-request.md b/.github/ISSUE_TEMPLATE/feature-request.md deleted file mode 100644 index 40779ff..0000000 --- a/.github/ISSUE_TEMPLATE/feature-request.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -name: Feature Request -about: Suggest an idea for this project -title: "" -labels: Feature Request -assignees: "" ---- - -Please follow this Issue template to provide relevant information, such as source code repositories, blog links, and screenshots, which will help us investigate. -请按照此 Issue 模版提供相关信息,例如源码仓库、博客链接和屏幕截图,这将有助于我们进行调查。 - -## Issue Checklist - - - -- [ ] I am using [the latest](https://github.com/Shen-Yu/hexo-theme-ayer) version of hexo-theme-ayer. -- [ ] I have reviewed the latest Roadmap on GitHub and searched for current [Ayer Issues](https://github.com/Shen-Yu/hexo-theme-ayer/issues), which does not help me. - ---- - -## Expected behavior - -## Actual behavior - - - -- Links to demo site with this feature: N/A -- Links to repository or source code of the blog: N/A - -## Steps to reproduce the behavior - -1. N/A -2. N/A -3. N/A - -## Other Information diff --git a/.github/ISSUE_TEMPLATE/other.md b/.github/ISSUE_TEMPLATE/other.md deleted file mode 100644 index 8c03155..0000000 --- a/.github/ISSUE_TEMPLATE/other.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -name: Other -about: Not a question, feature request or bug report -title: "" -labels: "" -assignees: "" ---- - -Please follow this Issue template to provide relevant information, such as source code repositories, blog links, and screenshots, which will help us investigate. -请按照此 Issue 模版提供相关信息,例如源码仓库、博客链接和屏幕截图,这将有助于我们进行调查。 - -## Issue Checklist - - - -- [ ] I am using [the latest](https://github.com/Shen-Yu/hexo-theme-ayer) version of hexo-theme-ayer. -- [ ] I have reviewed the latest Roadmap on GitHub and searched for current [Ayer Issues](https://github.com/Shen-Yu/hexo-theme-ayer/issues), which does not help me. - ---- - -## Other Information diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md deleted file mode 100644 index d34347c..0000000 --- a/.github/ISSUE_TEMPLATE/question.md +++ /dev/null @@ -1,70 +0,0 @@ ---- -name: Question -about: I have a question for Ayer -title: "" -labels: Question -assignees: "" ---- - -Please follow this Issue template to provide relevant information, such as source code repositories, blog links, and screenshots, which will help us investigate. -请按照此 Issue 模版提供相关信息,例如源码仓库、博客链接和屏幕截图,这将有助于我们进行调查。 - -## Issue Checklist - - - -- [ ] I am using [the latest](https://github.com/Shen-Yu/hexo-theme-ayer) version of hexo-theme-ayer. -- [ ] I have reviewed the latest Roadmap on GitHub and searched for current [Ayer Issues](https://github.com/Shen-Yu/hexo-theme-ayer/issues), which does not help me. - ---- - -## Expected behavior - -## Actual behavior - - - -- Links to demo site with this issue: N/A -- Links to repository or source code of the blog: N/A - -## Steps to reproduce the behavior - -1. N/A -2. N/A -3. N/A - -## Environment Information - -### Node.js and NPM Information - - - -``` - -``` - -### Package dependencies Information - - - -``` - -``` - -### HTML Configuration - - - -``` - -``` - -### Ayer Configuration - - - -``` - -``` - -## Other Information diff --git a/.github/config.yml b/.github/config.yml deleted file mode 100644 index dd81267..0000000 --- a/.github/config.yml +++ /dev/null @@ -1,12 +0,0 @@ -# =============================================================================================== # -# Configuration for welcome - https://github.com/behaviorbot/welcome - -# Comment to be posted to on first time issues -newIssueWelcomeComment: > - Thanks for opening this issue, maintainers will get back to you as soon as possible! -# Comment to be posted to on PRs from first time contributors in your repository -newPRWelcomeComment: > - Thanks so much for opening your first PR here! -# Comment to be posted to on pull requests merged by a first time user -firstPRMergeComment: > - Congrats on merging your first pull request here! :tada: How awesome! \ No newline at end of file diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml deleted file mode 100644 index c4740ed..0000000 --- a/.github/workflows/npmpublish.yml +++ /dev/null @@ -1,21 +0,0 @@ -# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created -# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages - -name: Node.js Package - -on: - release: - types: [created] - -jobs: - publish-npm: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 - with: - node-version: 12 - registry-url: https://registry.npmjs.org/ - - run: npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.npm_token}} diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 212c0d0..0000000 --- a/.travis.yml +++ /dev/null @@ -1,10 +0,0 @@ -language: node_js - -node_js: node - -cache: - npm: true - -install: npm install - -script: npm run test \ No newline at end of file diff --git a/_config.yml b/_config.yml index 6482ce3..9334d77 100644 --- a/_config.yml +++ b/_config.yml @@ -1,13 +1,9 @@ # 侧边栏菜单 menu: - 主页: / - 归档: /archives - 分类: /categories - 标签: /tags - 旅行: /tags/旅行/ - 摄影: http://shenyu-vip.lofter.com - 友链: /friends - 关于我: /2019/about + Главная: / + Архивы: /archives + Категории: /categories + Теги: /tags # 站点次标题和打字动效 # https://github.com/mattboldt/typed.js @@ -223,22 +219,22 @@ gitalk: # 3、Twikoo(https://github.com/imaegoo/twikoo) twikoo: - enable: true + enable: false envId: # # 首页广告配置 # 可以根据需要自行增加ad_3,ad_4...,留空则不显示,建议图片和url不要带ad等关键词,否则可能会被adblock等插件屏蔽 -ads: - ad_1: - title: 云服务器限时秒杀 - img: https://pic.imgdb.cn/item/62174b452ab3f51d912a5ccc.jpg - url: https://curl.qcloud.com/kvO7hb43 - width: 300 - ad_2: - title: vultr优惠vps - img: https://pic.imgdb.cn/item/62174b452ab3f51d912a5cd7.png - url: https://www.vultr.com/?ref=8630075 - width: 300 +#ads: +# ad_1: +# title: 云服务器限时秒杀 +# img: https://pic.imgdb.cn/item/62174b452ab3f51d912a5ccc.jpg +# url: https://curl.qcloud.com/kvO7hb43 +# width: 300 +# ad_2: +# title: vultr优惠vps +# img: https://pic.imgdb.cn/item/62174b452ab3f51d912a5cd7.png +# url: https://www.vultr.com/?ref=8630075 +# width: 300 # 网站开启加密访问,密码可设置任何字符 lock: diff --git a/languages/de.yml b/languages/de.yml deleted file mode 100644 index 632a96a..0000000 --- a/languages/de.yml +++ /dev/null @@ -1,38 +0,0 @@ -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 %s -theme: Theme - %s -rss_feed: RSS Feed -category: Kategorie -tag: Tag -site_visitors: Visitors -page_views: Views -friends: Freunde - -post: - word_count: Wortzahl - read_time: Lesezeit - minutes: Minuten - reward: Belohnung - sticky: Oben - copyright_title: Copyright-Hinweis - copyright_content: Sofern nicht anders angegeben, liegt das Urheberrecht aller Artikel in diesem Blog beim Autor. Nachdruck bitte Quelle angeben! - -lock: - lock_info: Please enter password - lock_error: Incorrect password, please try again - confirm_text: Ok - cancel_text: Cancel diff --git a/languages/es.yml b/languages/es.yml deleted file mode 100644 index 512750d..0000000 --- a/languages/es.yml +++ /dev/null @@ -1,38 +0,0 @@ -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: Powered by %s -theme: Theme - %s -rss_feed: RSS -category: Categoría -tag: Tag -site_visitors: Visitors -page_views: Views -friends: Amigos - -post: - word_count: El recuento de palabras - read_time: Tiempo de lectura - minutes: minutos - reward: Recompensa - sticky: Arriba - copyright_title: Derechos de autor - copyright_content: Los derechos de autor son propiedad del autor. Para reimpresiones comerciales, comuníquese con el autor para obtener autorización. Para reimpresiones no comerciales, indique la fuente. - -lock: - lock_info: Please enter password - lock_error: Incorrect password, please try again - confirm_text: Ok - cancel_text: Cancel diff --git a/languages/ja.yml b/languages/ja.yml deleted file mode 100644 index 6755aae..0000000 --- a/languages/ja.yml +++ /dev/null @@ -1,38 +0,0 @@ -categories: カテゴリ -search: 検索 -tags: タグ -tagcloud: タグクラウド -tweets: ツイート -prev: 戻る -next: 次へ -comment: コメント -archive_a: アーカイブ -archive_b: "アーカイブ: %s" -page: ページ %d -recent_posts: 最近の投稿 -newer: 次の記事 -older: 前の記事 -share: 共有 -powered_by: Powered by %s -theme: Theme - %s -rss_feed: RSSフィード -category: カテゴリ -tag: タグ -site_visitors: Visitors -page_views: Views -friends: 友達 - -post: - word_count: 単語数 - read_time: 読書の時間 - minutes: 分 - reward: 報酬 - sticky: 上へ - copyright_title: 著作権表示 - copyright_content: 著作権は著者が所有しています。商業版の複製については、承認について著者に連絡してください。非商業版の複製については、出典を明記してください。 - -lock: - lock_info: Please enter password - lock_error: Incorrect password, please try again - confirm_text: Ok - cancel_text: Cancel diff --git a/languages/ko.yml b/languages/ko.yml deleted file mode 100644 index 0825697..0000000 --- a/languages/ko.yml +++ /dev/null @@ -1,38 +0,0 @@ -categories: 카테고리 -search: 검색 -tags: 태그 -tagcloud: 태그 클라우드 -tweets: 트윗 -prev: 이전 -next: 다음 -comment: 댓글 -archive_a: 아카이브 -archive_b: "아카이브: %s" -page: 페이지 %d -recent_posts: 최근 포스트 -newer: 최신 -older: 이전 -share: 공유 -powered_by: Powered by %s -theme: Theme - %s -rss_feed: RSS Feed -category: 카테고리 -tag: 태그 -site_visitors: Visitors -page_views: Views -friends: 친구 들 - -post: - word_count: 단어 수 - read_time: 독서 시간 - minutes: 분 - reward: 보상 - sticky: 톱 - copyright_title: 저작권 고지 - copyright_content: 저작권은 저자가 소유합니다. 상업용 재 인쇄의 경우 승인을 위해 저자에게 문의하십시오. 비상업적 재 인쇄의 경우 출처를 명시하십시오. - -lock: - lock_info: Please enter password - lock_error: Incorrect password, please try again - confirm_text: Ok - cancel_text: Cancel diff --git a/languages/pt.yml b/languages/pt.yml deleted file mode 100644 index 9c94696..0000000 --- a/languages/pt.yml +++ /dev/null @@ -1,38 +0,0 @@ -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: Powered by %s -theme: Theme - %s -rss_feed: Feed RSS -category: Categoria -tag: Tag -site_visitors: Visitors -page_views: Views -friends: Amigos - -post: - word_count: Word count - read_time: Reading time - minutes: min - reward: Donate - sticky: Sticky - copyright_title: direito autoral - copyright_content: Os direitos autorais são de propriedade do autor. Para reimpressões comerciais, entre em contato com o autor para obter autorização. Para reimpressões não comerciais, indique a fonte. - -lock: - lock_info: Please enter password - lock_error: Incorrect password, please try again - confirm_text: Ok - cancel_text: Cancel diff --git a/languages/vi.yml b/languages/vi.yml deleted file mode 100644 index b8d711d..0000000 --- a/languages/vi.yml +++ /dev/null @@ -1,38 +0,0 @@ -categories: Thể loại -search: Tìm Kiếm -tags: thẻ -tagcloud: thẻ đám mây -tweets: Tweets -prev: trước -next: kế tiếp -comment: bình luận -archive_a: Archives -archive_b: "Archives: %s" -page: Page %d -recent_posts: Bài viết gần đây -newer: mới hơn -older: lớn hơn -share: chia sẻ -powered_by: Powered by %s -theme: Theme - %s -rss_feed: RSS Feed -category: Thể loại -tag: thẻ -site_visitors: Visitors -page_views: Views -friends: Bạn - -post: - word_count: Đếm từ - read_time: Thời gian đọc - minutes: min - reward: tặng - sticky: dính - copyright_title: Bản quyền - copyright_content: Bản quyền thuộc sở hữu của tác giả. Đối với tái bản thương mại, xin vui lòng liên hệ với tác giả cho phép. Đối với tái bản phi thương mại, xin vui lòng cho biết nguồn. - -lock: - lock_info: Please enter password - lock_error: Incorrect password, please try again - confirm_text: Ok - cancel_text: Cancel diff --git a/languages/zh-CN.yml b/languages/zh-CN.yml deleted file mode 100644 index 2f0acb1..0000000 --- a/languages/zh-CN.yml +++ /dev/null @@ -1,38 +0,0 @@ -categories: 分类 -search: 搜索 -tags: 标签 -tagcloud: 标签云 -tweets: 推文 -prev: 上一页 -next: 下一页 -comment: 留言 -archive_a: 归档 -archive_b: 归档:%s -page: 第 %d 页 -recent_posts: 最新文章 -newer: Newer -older: Older -share: 分享 -powered_by: 由 %s 强力驱动 -theme: 主题 - %s -rss_feed: RSS Feed -category: Category -tag: Tag -site_visitors: 访问人数 -page_views: 浏览次数 -friends: 友情链接 - -post: - word_count: 字数统计 - read_time: 阅读时长 - minutes: 分钟 - reward: 打赏 - sticky: 置顶 - copyright_title: 版权声明 - copyright_content: 本博客所有文章除特别声明外,著作权归作者所有。转载请注明出处! - -lock: - lock_info: 请输入访问密码 - lock_error: 密码错误,请重试 - confirm_text: 确定 - cancel_text: 取消 diff --git a/languages/zh-TW.yml b/languages/zh-TW.yml deleted file mode 100644 index f802d31..0000000 --- a/languages/zh-TW.yml +++ /dev/null @@ -1,38 +0,0 @@ -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 %s -theme: Theme - %s -rss_feed: RSS Feed -category: Category -tag: Tag -site_visitors: Visitors -page_views: Views -friends: 友情鏈接 - -post: - word_count: 字數統計 - read_time: 閱讀時長 - minutes: 分鐘 - reward: 打賞 - sticky: 置頂 - copyright_title: 版權聲明 - copyright_content: 本博客所有文章除特別聲明外,著作權歸作者所有。轉載請註明出處! - -lock: - lock_info: 請輸入訪問密碼 - lock_error: 密碼錯誤,請重試 - confirm_text: 確定 - cancel_text: 取消 diff --git a/source-src/js/share.js b/source-src/js/share.js index 64e1a42..a32d8d6 100644 --- a/source-src/js/share.js +++ b/source-src/js/share.js @@ -18,24 +18,9 @@ function hideWX() { } function handleClick(type, opts) { - if (type === 'weibo') { - generate('http://service.weibo.com/share/share.php?url=<%-sUrl%>&title=<%-sTitle%>&pic=<%-sPic%>', opts) - } else if (type === 'qq') { - generate('http://connect.qq.com/widget/shareqq/index.html?url=<%-sUrl%>&title=<%-sTitle%>&source=<%-sDesc%>', opts) - } else if (type === 'douban') { - generate('https://www.douban.com/share/service?image=<%-sPic%>&href=<%-sUrl%>&name=<%-sTitle%>&text=<%-sDesc%>', opts) - } else if (type === 'qzone') { - generate('http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=<%-sUrl%>&title=<%-sTitle%>&pics=<%-sPic%>&summary=<%-sDesc%>', opts) - } else if (type === 'facebook') { - generate('https://www.facebook.com/sharer/sharer.php?u=<%-sUrl%>', opts) - } else if (type === 'twitter') { - generate('https://twitter.com/intent/tweet?text=<%-sTitle%>&url=<%-sUrl%>', opts) - } else if (type === 'google') { + } if (type === 'google') { generate('https://plus.google.com/share?url=<%-sUrl%>', opts) - } else if (type === 'weixin') { - showWX(); } -} const share_init = () => { let $sns = document.querySelectorAll('.share-sns');