-
48 |
- 49 | 50 | <%= __('post.copyright_title') %>: 51 | <% if (post.copyright_content) { %> 52 | <%= post.copyright_content %> 53 | <% } else { %> 54 | <%= __('post.copyright_content') %> 55 | <% } %> 56 | 57 |
├── .gitattributes ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug-report.md │ ├── feature-request.md │ ├── other.md │ └── question.md ├── config.yml └── workflows │ └── npmpublish.yml ├── .gitignore ├── .npmignore ├── .stylintrc ├── .travis.yml ├── LICENSE ├── README.md ├── _config.yml ├── index.js ├── languages ├── de.yml ├── default.yml ├── en.yml ├── es.yml ├── fr.yml ├── ja.yml ├── ko.yml ├── nl.yml ├── no.yml ├── pt.yml ├── ru.yml ├── vi.yml ├── zh-CN.yml └── zh-TW.yml ├── layout ├── _partial │ ├── ads.ejs │ ├── after-footer.ejs │ ├── archive-post.ejs │ ├── archive.ejs │ ├── article.ejs │ ├── ayer.ejs │ ├── baidu-analytics.ejs │ ├── broadcast.ejs │ ├── float-btns.ejs │ ├── footer.ejs │ ├── google-analytics.ejs │ ├── head.ejs │ ├── katex.ejs │ ├── lock.ejs │ ├── mathjax.ejs │ ├── modal.ejs │ ├── music.ejs │ ├── post │ │ ├── albums.ejs │ │ ├── author.ejs │ │ ├── busuanzi.ejs │ │ ├── category.ejs │ │ ├── clipboard.ejs │ │ ├── date.ejs │ │ ├── gallery.ejs │ │ ├── gitalk.ejs │ │ ├── justifiedGallery.ejs │ │ ├── nav.ejs │ │ ├── search.ejs │ │ ├── share.ejs │ │ ├── tag.ejs │ │ ├── title.ejs │ │ ├── tocbot.ejs │ │ ├── topping.ejs │ │ ├── twikoo.ejs │ │ ├── valine.ejs │ │ └── word.ejs │ ├── sidebar.ejs │ └── viewer.ejs ├── archive.ejs ├── categories.ejs ├── friends.ejs ├── index.ejs ├── layout.ejs ├── page.ejs ├── plain-page.ejs ├── post.ejs └── tags.ejs ├── logo.png ├── move_config.js ├── package.json ├── rollup.config.js ├── screenshots └── hexo-theme-ayer.png ├── scripts ├── default_config.js ├── events │ ├── index.js │ └── lib │ │ ├── hello.js │ │ └── merge-configs.js ├── filters │ ├── index.js │ └── meta_generator.js ├── helpers │ ├── ayer-plus-vendors.js │ └── wordcount.js ├── lib │ └── core.js └── utils │ ├── join-path.js │ └── object.js ├── source-src ├── css │ ├── _darkmode.styl │ ├── _extend.styl │ ├── _mixins.styl │ ├── _normalize.styl │ ├── _partial │ │ ├── ads.styl │ │ ├── albums.styl │ │ ├── apple.styl │ │ ├── archive.styl │ │ ├── article.styl │ │ ├── articles.styl │ │ ├── ayer.styl │ │ ├── categories.styl │ │ ├── float.styl │ │ ├── footer.styl │ │ ├── friends.styl │ │ ├── gallery.styl │ │ ├── gitalk.styl │ │ ├── highlight.styl │ │ ├── justifiedGallery.styl │ │ ├── layout.styl │ │ ├── lists.styl │ │ ├── mobile.styl │ │ ├── navbar.styl │ │ ├── pace.styl │ │ ├── reward.styl │ │ ├── search.styl │ │ ├── share.styl │ │ ├── sidebar.styl │ │ ├── tag.styl │ │ ├── tocbot.styl │ │ └── totop.styl │ ├── _remixicon.styl │ ├── _variables.styl │ └── style.styl ├── js │ ├── ayer.js │ └── share.js └── main.js └── source ├── 404.html ├── css ├── clipboard.styl ├── custom.styl └── fonts │ ├── remixicon.css │ ├── remixicon.eot │ ├── remixicon.svg │ ├── remixicon.ttf │ ├── remixicon.woff │ └── remixicon.woff2 ├── dist ├── main.css └── main.js ├── favicon.ico ├── images ├── 404.jpg ├── alipay.jpg ├── ayer-side.svg ├── ayer.png ├── ayer.svg ├── beian.png ├── cover1.jpg ├── cover2.jpg ├── cover3.jpg ├── cover4.jpg ├── cover5.jpg ├── cover6.jpg ├── cover7.jpg ├── forkme.png ├── gitee.png ├── github.png ├── hexo-tag-chart.png ├── hexo.png ├── mouse.cur ├── sponsor.jpg └── wechat.jpg └── js ├── busuanzi-2.3.pure.min.js ├── clickBoom1.js ├── clickBoom2.js ├── clickLove.js ├── dz.js ├── jquery-3.6.0.min.js ├── lazyload.min.js ├── search.js └── tocbot.min.js /.gitattributes: -------------------------------------------------------------------------------- 1 | *.html linguist-language=javascript 2 | *.stylus linguist-language=javascript 3 | *.ejs linguist-language=javascript -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: ayer # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: 13 | [ 14 | "https://shen-yu.github.io/images/wechat.jpg", 15 | "https://shen-yu.github.io/images/alipay.jpg", 16 | ] 17 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug-report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug Report 3 | about: Something isn't working as expected 4 | title: "" 5 | labels: Bug 6 | assignees: "" 7 | --- 8 | 9 | Please follow this Issue template to provide relevant information, such as source code repositories, blog links, and screenshots, which will help us investigate. 10 | 请按照此 Issue 模版提供相关信息,例如源码仓库、博客链接和屏幕截图,这将有助于我们进行调查。 11 | 12 | ## Issue Checklist 13 | 14 | 15 | 16 | - [ ] I am using [the latest](https://github.com/Shen-Yu/hexo-theme-ayer) version of hexo-theme-ayer. 17 | - [ ] 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. 18 | 19 | --- 20 | 21 | ## Expected behavior 22 | 23 | ## Actual behavior 24 | 25 | 26 | 27 | - Links to demo site with this issue: N/A 28 | - Links to repository or source code of the blog: N/A 29 | 30 | ## Steps to reproduce the behavior 31 | 32 | 1. N/A 33 | 2. N/A 34 | 3. N/A 35 | 36 | ## Environment Information 37 | 38 | ### Node.js and NPM Information 39 | 40 | 41 | 42 | ``` 43 | 44 | ``` 45 | 46 | ### Package dependencies Information 47 | 48 | 49 | 50 | ``` 51 | 52 | ``` 53 | 54 | ### HTML Configuration 55 | 56 | 57 | 58 | ``` 59 | 60 | ``` 61 | 62 | ## Other Information 63 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature-request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature Request 3 | about: Suggest an idea for this project 4 | title: "" 5 | labels: Feature Request 6 | assignees: "" 7 | --- 8 | 9 | Please follow this Issue template to provide relevant information, such as source code repositories, blog links, and screenshots, which will help us investigate. 10 | 请按照此 Issue 模版提供相关信息,例如源码仓库、博客链接和屏幕截图,这将有助于我们进行调查。 11 | 12 | ## Issue Checklist 13 | 14 | 15 | 16 | - [ ] I am using [the latest](https://github.com/Shen-Yu/hexo-theme-ayer) version of hexo-theme-ayer. 17 | - [ ] 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. 18 | 19 | --- 20 | 21 | ## Expected behavior 22 | 23 | ## Actual behavior 24 | 25 | 26 | 27 | - Links to demo site with this feature: N/A 28 | - Links to repository or source code of the blog: N/A 29 | 30 | ## Steps to reproduce the behavior 31 | 32 | 1. N/A 33 | 2. N/A 34 | 3. N/A 35 | 36 | ## Other Information 37 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/other.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Other 3 | about: Not a question, feature request or bug report 4 | title: "" 5 | labels: "" 6 | assignees: "" 7 | --- 8 | 9 | Please follow this Issue template to provide relevant information, such as source code repositories, blog links, and screenshots, which will help us investigate. 10 | 请按照此 Issue 模版提供相关信息,例如源码仓库、博客链接和屏幕截图,这将有助于我们进行调查。 11 | 12 | ## Issue Checklist 13 | 14 | 15 | 16 | - [ ] I am using [the latest](https://github.com/Shen-Yu/hexo-theme-ayer) version of hexo-theme-ayer. 17 | - [ ] 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. 18 | 19 | --- 20 | 21 | ## Other Information 22 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/question.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Question 3 | about: I have a question for Ayer 4 | title: "" 5 | labels: Question 6 | assignees: "" 7 | --- 8 | 9 | Please follow this Issue template to provide relevant information, such as source code repositories, blog links, and screenshots, which will help us investigate. 10 | 请按照此 Issue 模版提供相关信息,例如源码仓库、博客链接和屏幕截图,这将有助于我们进行调查。 11 | 12 | ## Issue Checklist 13 | 14 | 15 | 16 | - [ ] I am using [the latest](https://github.com/Shen-Yu/hexo-theme-ayer) version of hexo-theme-ayer. 17 | - [ ] 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. 18 | 19 | --- 20 | 21 | ## Expected behavior 22 | 23 | ## Actual behavior 24 | 25 | 26 | 27 | - Links to demo site with this issue: N/A 28 | - Links to repository or source code of the blog: N/A 29 | 30 | ## Steps to reproduce the behavior 31 | 32 | 1. N/A 33 | 2. N/A 34 | 3. N/A 35 | 36 | ## Environment Information 37 | 38 | ### Node.js and NPM Information 39 | 40 | 41 | 42 | ``` 43 | 44 | ``` 45 | 46 | ### Package dependencies Information 47 | 48 | 49 | 50 | ``` 51 | 52 | ``` 53 | 54 | ### HTML Configuration 55 | 56 | 57 | 58 | ``` 59 | 60 | ``` 61 | 62 | ### Ayer Configuration 63 | 64 | 65 | 66 | ``` 67 | 68 | ``` 69 | 70 | ## Other Information 71 | -------------------------------------------------------------------------------- /.github/config.yml: -------------------------------------------------------------------------------- 1 | # =============================================================================================== # 2 | # Configuration for welcome - https://github.com/behaviorbot/welcome 3 | 4 | # Comment to be posted to on first time issues 5 | newIssueWelcomeComment: > 6 | Thanks for opening this issue, maintainers will get back to you as soon as possible! 7 | # Comment to be posted to on PRs from first time contributors in your repository 8 | newPRWelcomeComment: > 9 | Thanks so much for opening your first PR here! 10 | # Comment to be posted to on pull requests merged by a first time user 11 | firstPRMergeComment: > 12 | Congrats on merging your first pull request here! :tada: How awesome! -------------------------------------------------------------------------------- /.github/workflows/npmpublish.yml: -------------------------------------------------------------------------------- 1 | # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created 2 | # For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages 3 | 4 | name: Node.js Package 5 | 6 | on: 7 | release: 8 | types: [created] 9 | 10 | jobs: 11 | publish-npm: 12 | runs-on: ubuntu-latest 13 | steps: 14 | - uses: actions/checkout@v2 15 | - uses: actions/setup-node@v1 16 | with: 17 | node-version: 12 18 | registry-url: https://registry.npmjs.org/ 19 | - run: npm publish 20 | env: 21 | NODE_AUTH_TOKEN: ${{secrets.npm_token}} 22 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .idea/ 3 | *.log 4 | *.iml 5 | yarn.lock 6 | package-lock.json 7 | node_modules/ 8 | .cache 9 | .history 10 | _bak.yml 11 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | .cache/ 2 | .history/ 3 | .github/ 4 | _bak.yml -------------------------------------------------------------------------------- /.stylintrc: -------------------------------------------------------------------------------- 1 | { 2 | "blocks": false, 3 | "brackets": "never", 4 | "colons": false, 5 | "colors": "never", 6 | "commaSpace": false, 7 | "commentSpace": "never", 8 | "cssLiteral": "never", 9 | "customProperties": [], 10 | "depthLimit": false, 11 | "duplicates": false, 12 | "efficient": false, 13 | "exclude": [], 14 | "extendPref": false, 15 | "globalDupe": false, 16 | "groupOutputByFile": false, 17 | "indentPref": false, 18 | "leadingZero": "never", 19 | "maxErrors": false, 20 | "maxWarnings": false, 21 | "mixed": false, 22 | "mixins": [], 23 | "namingConvention": "lowercase-dash", 24 | "namingConventionStrict": false, 25 | "none": "never", 26 | "noImportant": false, 27 | "parenSpace": false, 28 | "placeholders": "always", 29 | "prefixVarsWithDollar": "always", 30 | "quotePref": false, 31 | "reporterOptions": { 32 | "columns": ["lineData", "severity", "description", "rule"], 33 | "columnSplitter": " ", 34 | "showHeaders": false, 35 | "truncate": false 36 | }, 37 | "semicolons": "never", 38 | "sortOrder": "never", 39 | "stackedProperties": false, 40 | "trailingWhitespace": "never", 41 | "universal": false, 42 | "valid": false, 43 | "zeroUnits": "never", 44 | "zIndexNormalize": false 45 | } -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: node 4 | 5 | cache: 6 | npm: true 7 | 8 | install: npm install 9 | 10 | script: npm run test -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The Star And Thank Author License (SATA) 2 | 3 | Copyright © 2019 Shen-Yu(shenyu@hotmail.com) 4 | 5 | Project Url: https://github.com/Shen-Yu/hexo-theme-ayer 6 | 7 | Permission is hereby granted, free of charge, to any person obtaining a copy 8 | of this software and associated documentation files (the "Software"), to deal 9 | in the Software without restriction, including without limitation the rights 10 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | copies of the Software, and to permit persons to whom the Software is 12 | furnished to do so, subject to the following conditions: 13 | 14 | The above copyright notice and this permission notice shall be included in 15 | all copies or substantial portions of the Software. 16 | 17 | And wait, the most important, you shall star/+1/like the project(s) in project url 18 | section above first, and then thank the author(s) in Copyright section. 19 | 20 | Here are some suggested ways: 21 | 22 | - Email the authors a thank-you letter, and make friends with him/her/them. 23 | - Report bugs or issues. 24 | - Tell friends what a wonderful project this is. 25 | - And, sure, you can just express thanks in your mind without telling the world. 26 | 27 | Contributors of this project by forking have the option to add his/her name and 28 | forked project url at copyright and project url sections, but shall not delete 29 | or modify anything else in these two sections. 30 | 31 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 32 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 33 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 34 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 35 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 36 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 37 | THE SOFTWARE. -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | # 侧边栏菜单 2 | menu: 3 | 主页: / 4 | 归档: /archives 5 | 分类: /categories 6 | 标签: /tags 7 | 旅行: /tags/旅行/ 8 | 摄影: http://shenyu-vip.lofter.com 9 | 友链: /friends 10 | 关于我: /2019/about 11 | 12 | # 站点次标题和打字动效 13 | # https://github.com/mattboldt/typed.js 14 | subtitle: 15 | enable: true # 是否开启动效 16 | text: 面朝大海,春暖花开 # 显示的文字 17 | text2: 愿你一生努力,一生被爱 # 滚动播放,如果不需要可以留空 18 | text3: 想要的都拥有,得不到的都释怀 # 最多支持三段文字 19 | startDelay: 0 # 延迟时间 20 | typeSpeed: 200 # 打字速度 21 | loop: true # 是否循环 22 | backSpeed: 100 # 回退速度 23 | showCursor: true # 是否显示光标 24 | 25 | # 网站图标和侧边栏logo 26 | favicon: /favicon.ico 27 | logo: /images/ayer-side.svg 28 | 29 | # 封面配置 30 | # enable-是否启用封面;path-封面背景图;logo-封面logo 31 | cover: 32 | enable: true 33 | path: /images/cover1.jpg # /source/images目录下附送多张美图,可更换 34 | logo: false #/images/ayer.svg,如果不要直接设置成false 35 | 36 | # 页面顶部进度条 37 | progressBar: true 38 | 39 | # 告示板模块 40 | broadcast: 41 | enable: true # true开启,false关闭 42 | type: 2 # 1:自定义输入,2:一言api(https://hitokoto.cn/) 43 | text: 一个安静优雅的hexo主题,快速且响应式。 # type为1时有效 44 | 45 | # 文章配置 46 | # 文章太长,截断按钮文字(在需要截断的行增加此标记:) 47 | excerpt_link: 阅读更多... 48 | # 如果你嫌每篇文章手动加more标记比较麻烦,又不想在首页全文显示,可以把excerpt_all设置成true,这样首页只会显示文章归档 49 | excerpt_all: false 50 | 51 | # 是否开启代码复制按钮 52 | copy_btn: true 53 | # 是否开启文章分享按钮 54 | share_enable: true 55 | # 国内的社交平台(If you are not in China, maybe you prefer to set:false) 56 | share_china: true 57 | # 文章分享文字 58 | share_text: 分享 59 | 60 | # 分页文字 61 | nav_text: 62 | page_prev: 上一页 63 | page_next: 下一页 64 | post_prev: 上一篇 65 | post_next: 下一篇 66 | 67 | # 文章页是否显示目录 68 | toc: true 69 | 70 | # 文章中的图片是否支持点击放大 71 | image_viewer: true 72 | 73 | # https://github.com/willin/hexo-wordcount 74 | # 是否开启字数统计(关闭请设置enable为false) 75 | # 也可以单独在md文件里Front-matter设置`no_word_count: true`属性,来自定义关闭字数统计 76 | word_count: 77 | enable: true 78 | # 只在文章详情显示(不在首页显示) 79 | only_article_visit: true 80 | 81 | # 打赏 82 | # 打赏type设定:0-关闭打赏; 1-文章对应的md文件里有reward:true属性,才有打赏; 2-所有文章均有打赏 83 | reward_type: 2 84 | # 打赏wording 85 | reward_wording: "请我喝杯咖啡吧~" 86 | # 支付宝二维码图片地址,跟你设置logo的方式一样。比如:/images/alipay.jpg 87 | alipay: /images/alipay.jpg 88 | # 微信二维码图片地址 89 | weixin: /images/wechat.jpg 90 | 91 | # 版权声明 92 | # 版权声明type设定:0-关闭版权声明; 1-文章对应的md文件里有copyright: true属性,才有版权声明; 2-所有文章均有版权声明 93 | copyright_type: 2 94 | 95 | # 是否启用搜索 96 | # 需要安装hexo-generator-searchdb(https://github.com/theme-next/hexo-generator-searchdb) 97 | search: true 98 | 99 | # RSS订阅(先安装hexo-generator-feed插件,再去博客根目录config进行配置) 100 | # 不想显示可以直接留空 101 | rss: /atom.xml 102 | 103 | # 是否启用黑夜模式开关 104 | darkmode: true 105 | 106 | # 动态背景效果: 0-关闭,1-动态线条(跟随鼠标) 107 | canvas_bg: 0 108 | 109 | # 自定义鼠标样式,直接替换/images/mouse.cur文件 110 | mouse: 111 | enable: false 112 | path: /images/mouse.cur 113 | 114 | # 鼠标点击效果:0-关闭,1-爱心,2-爆炸烟花,3-粒子烟花 115 | click_effect: 0 116 | 117 | # 页面宽度自定义(不建议修改,可能造成布局混乱),article_width文章宽度,sidebar_width侧边栏宽度 118 | layout: 119 | article_width: 80rem 120 | sidebar_width: 8rem 121 | 122 | # GitHub Ribbons-封面右上角的forkme,换样式直接在source/images目录下替换forkme图片 123 | github: 124 | # (关闭请设置为false) 125 | enable: true 126 | url: https://github.com/Shen-Yu/hexo-theme-ayer 127 | 128 | # 网易云音乐插件 129 | music: 130 | enable: false 131 | # 播放器尺寸类型(1:小尺寸、2:大尺寸) 132 | type: 1 133 | id: 22707008 # 网易云分享的音乐ID(更换音乐请更改此配置项) 134 | autoPlay: true # 是否开启自动播放 135 | 136 | # 访问量统计(不蒜子) 137 | busuanzi: 138 | enable: true 139 | 140 | # 友盟cnzz统计(url填js代码src链接) 141 | cnzz: 142 | enable: true 143 | url: https://s9.cnzz.com/z_stat.php?id=1278069914&web_id=1278069914 144 | 145 | # Google Analytics 146 | google_analytics: "" 147 | # 百度统计 148 | baidu_analytics: "" 149 | 150 | # Mathjax数学公式 151 | mathjax: false 152 | 153 | # Katex数学公式(allpost设置为false时只有头部设置math:true的文章才开启) 154 | # 需要更换hexo渲染器,npm un hexo-renderer-marked -S && npm i hexo-renderer-markdown-it-katex -S 155 | katex: 156 | enable: false # true 157 | allpost: true 158 | copy_tex: false 159 | 160 | # mermaid流程图 三个选项缺一不可(https://mermaid-js.github.io/mermaid/) 161 | mermaid: 162 | enable: false 163 | cdn: https://cdn.staticfile.org/mermaid/8.14.0/mermaid.min.js 164 | theme: forest 165 | 166 | # 网站成立年份(默认为 2019,若填入年份小于当前年份,则显示为 2018-2019 类似的格式) 167 | since: 2015 168 | 169 | # ICP备案信息尾部显示 170 | icp: 171 | enable: false 172 | url: "https://beian.miit.gov.cn/" # 备案链接 173 | text: "浙ICP备88888888" # 备案信息 174 | # 公安备案信息尾部显示 175 | gongan: 176 | enable: false 177 | img: /images/beian.png #公安备案图片 178 | url: "http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=01234567890123" #公安备案链接 179 | text: "浙公网安备01234567890123号" #公安备案信息 180 | 181 | # 友情链接 182 | friends_link: 183 | Ayer主题: #网站名称 184 | #网站地址 185 | url: https://github.com/Shen-Yu/hexo-theme-ayer 186 | #网站图片(可忽略不写) 187 | img: /images/ayer.png 188 | GitHub: 189 | url: https://github.com/Shen-Yu 190 | img: /images/github.png 191 | 码云: 192 | url: https://gitee.com/shen-yu 193 | img: /images/gitee.png 194 | Hexo官网: 195 | url: https://hexo.io 196 | img: /images/hexo.png 197 | Hexo图表插件: 198 | url: https://github.com/Shen-Yu/hexo-tag-chart 199 | img: /images/hexo-tag-chart.png 200 | 201 | # 评论:1、Valine(推荐);2、Gitalk;3、Twikoo; 202 | 203 | # 1、Valine[一款快速、简洁且高效的无后端评论系统](https://github.com/xCss/Valine) 204 | # 启用Valine必须先创建leancloud应用, 获取 id|key 填入即可 205 | leancloud: 206 | enable: false 207 | app_id: # 208 | app_key: # 209 | # Valine配置 210 | valine: 211 | enable: false # 是否启用 212 | avatar: monsterid # 头像样式(https://valine.js.org/avatar.html) 213 | placeholder: 给我的文章加点评论吧~ # placeholder 214 | 215 | # 2、Gitalk(https://github.com/gitalk/gitalk) 216 | gitalk: 217 | enable: false # true 218 | clientID: # GitHub Application Client ID 219 | clientSecret: # Client Secret 220 | repo: # Repository name 221 | owner: # GitHub ID 222 | admin: # GitHub ID 223 | 224 | # 3、Twikoo(https://github.com/imaegoo/twikoo) 225 | twikoo: 226 | enable: true 227 | envId: # 228 | 229 | # 首页广告配置 230 | # 可以根据需要自行增加ad_3,ad_4...,留空则不显示,建议图片和url不要带ad等关键词,否则可能会被adblock等插件屏蔽 231 | ads: 232 | ad_1: 233 | title: 云服务器限时秒杀 234 | img: https://pic.imgdb.cn/item/62174b452ab3f51d912a5ccc.jpg 235 | url: https://curl.qcloud.com/kvO7hb43 236 | width: 300 237 | ad_2: 238 | title: vultr优惠vps 239 | img: https://pic.imgdb.cn/item/62174b452ab3f51d912a5cd7.png 240 | url: https://www.vultr.com/?ref=8630075 241 | width: 300 242 | 243 | # 网站开启加密访问,密码可设置任何字符 244 | lock: 245 | enable: false 246 | password: 123456 247 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | // 这个文件用来防止 hexo 5.0.0以上 使用 "hexo clean" 命令报错。 2 | // This file is used to prevent hexo above 5.0.0 from using "hexo clean" command error. -------------------------------------------------------------------------------- /languages/de.yml: -------------------------------------------------------------------------------- 1 | categories: Kategorien 2 | search: Suche 3 | tags: Tags 4 | tagcloud: Tag Cloud 5 | tweets: Tweets 6 | prev: zurück 7 | next: weiter 8 | comment: Kommentare 9 | archive_a: Archiv 10 | archive_b: "Archive: %s" 11 | page: Seite %d 12 | recent_posts: letzter Beitrag 13 | newer: Neuer 14 | older: Älter 15 | share: Teilen 16 | powered_by: Powered by %s 17 | theme: Theme - %s 18 | rss_feed: RSS Feed 19 | category: Kategorie 20 | tag: Tag 21 | site_visitors: Visitors 22 | page_views: Views 23 | friends: Freunde 24 | 25 | post: 26 | word_count: Wortzahl 27 | read_time: Lesezeit 28 | minutes: Minuten 29 | reward: Belohnung 30 | sticky: Oben 31 | copyright_title: Copyright-Hinweis 32 | copyright_content: Sofern nicht anders angegeben, liegt das Urheberrecht aller Artikel in diesem Blog beim Autor. Nachdruck bitte Quelle angeben! 33 | 34 | lock: 35 | lock_info: Please enter password 36 | lock_error: Incorrect password, please try again 37 | confirm_text: Ok 38 | cancel_text: Cancel 39 | -------------------------------------------------------------------------------- /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 %s 17 | theme: Theme - %s 18 | rss_feed: RSS Feed 19 | category: Category 20 | tag: Tag 21 | site_visitors: Visitors 22 | page_views: Views 23 | friends: Friends 24 | 25 | post: 26 | word_count: Word count 27 | read_time: Reading time 28 | minutes: min 29 | reward: Donate 30 | sticky: Sticky 31 | copyright_title: Copyright 32 | copyright_content: Copyright is owned by the author. For commercial reprints, please contact the author for authorization. For non-commercial reprints, please indicate the source. 33 | 34 | lock: 35 | lock_info: Please enter password 36 | lock_error: Incorrect password, please try again 37 | confirm_text: Ok 38 | cancel_text: Cancel 39 | -------------------------------------------------------------------------------- /languages/en.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 %s 17 | theme: Theme - %s 18 | rss_feed: RSS Feed 19 | category: Category 20 | tag: Tag 21 | site_visitors: Visitors 22 | page_views: Views 23 | friends: Friends 24 | 25 | post: 26 | word_count: Word count 27 | read_time: Reading time 28 | minutes: min 29 | reward: Donate 30 | sticky: Sticky 31 | copyright_title: Copyright 32 | copyright_content: Copyright is owned by the author. For commercial reprints, please contact the author for authorization. For non-commercial reprints, please indicate the source. 33 | 34 | lock: 35 | lock_info: Please enter password 36 | lock_error: Incorrect password, please try again 37 | confirm_text: Ok 38 | cancel_text: Cancel 39 | -------------------------------------------------------------------------------- /languages/es.yml: -------------------------------------------------------------------------------- 1 | categories: Categorías 2 | search: Buscar 3 | tags: Tags 4 | tagcloud: Nube de Tags 5 | tweets: Tweets 6 | prev: Previo 7 | next: Siguiente 8 | comment: Comentarios 9 | archive_a: Archivos 10 | archive_b: "Archivos: %s" 11 | page: Página %d 12 | recent_posts: Posts recientes 13 | newer: Nuevo 14 | older: Viejo 15 | share: Compartir 16 | powered_by: Powered by %s 17 | theme: Theme - %s 18 | rss_feed: RSS 19 | category: Categoría 20 | tag: Tag 21 | site_visitors: Visitors 22 | page_views: Views 23 | friends: Amigos 24 | 25 | post: 26 | word_count: El recuento de palabras 27 | read_time: Tiempo de lectura 28 | minutes: minutos 29 | reward: Recompensa 30 | sticky: Arriba 31 | copyright_title: Derechos de autor 32 | 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. 33 | 34 | lock: 35 | lock_info: Please enter password 36 | lock_error: Incorrect password, please try again 37 | confirm_text: Ok 38 | cancel_text: Cancel 39 | -------------------------------------------------------------------------------- /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: Powered by %s 17 | theme: Theme - %s 18 | rss_feed: Flux RSS 19 | category: Catégorie 20 | tag: Mot-clé 21 | site_visitors: Visitors 22 | page_views: Views 23 | friends: Mes amis 24 | 25 | post: 26 | word_count: Nombre de mots 27 | read_time: Temps de lecture 28 | minutes: min 29 | reward: Récompense 30 | sticky: Haut 31 | copyright_title: Avis de copyright 32 | copyright_content: Le droit d'auteur appartient à l'auteur. Pour les réimpressions commerciales, veuillez contacter l'auteur pour autorisation. Pour les réimpressions non commerciales, veuillez indiquer la source. 33 | 34 | lock: 35 | lock_info: Please enter password 36 | lock_error: Incorrect password, please try again 37 | confirm_text: Ok 38 | cancel_text: Cancel 39 | -------------------------------------------------------------------------------- /languages/ja.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: Powered by %s 17 | theme: Theme - %s 18 | rss_feed: RSSフィード 19 | category: カテゴリ 20 | tag: タグ 21 | site_visitors: Visitors 22 | page_views: Views 23 | friends: 友達 24 | 25 | post: 26 | word_count: 単語数 27 | read_time: 読書の時間 28 | minutes: 分 29 | reward: 報酬 30 | sticky: 上へ 31 | copyright_title: 著作権表示 32 | copyright_content: 著作権は著者が所有しています。商業版の複製については、承認について著者に連絡してください。非商業版の複製については、出典を明記してください。 33 | 34 | lock: 35 | lock_info: Please enter password 36 | lock_error: Incorrect password, please try again 37 | confirm_text: Ok 38 | cancel_text: Cancel 39 | -------------------------------------------------------------------------------- /languages/ko.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: Powered by %s 17 | theme: Theme - %s 18 | rss_feed: RSS Feed 19 | category: 카테고리 20 | tag: 태그 21 | site_visitors: Visitors 22 | page_views: Views 23 | friends: 친구 들 24 | 25 | post: 26 | word_count: 단어 수 27 | read_time: 독서 시간 28 | minutes: 분 29 | reward: 보상 30 | sticky: 톱 31 | copyright_title: 저작권 고지 32 | copyright_content: 저작권은 저자가 소유합니다. 상업용 재 인쇄의 경우 승인을 위해 저자에게 문의하십시오. 비상업적 재 인쇄의 경우 출처를 명시하십시오. 33 | 34 | lock: 35 | lock_info: Please enter password 36 | lock_error: Incorrect password, please try again 37 | confirm_text: Ok 38 | cancel_text: Cancel 39 | -------------------------------------------------------------------------------- /languages/nl.yml: -------------------------------------------------------------------------------- 1 | categories: Categorieën 2 | search: Zoeken 3 | tags: Labels 4 | tagcloud: Tag Cloud 5 | tweets: Tweets 6 | prev: Vorige 7 | next: Volgende 8 | comment: Commentaren 9 | archive_a: Archieven 10 | archive_b: "Archieven: %s" 11 | page: Pagina %d 12 | recent_posts: Recente berichten 13 | newer: Nieuwer 14 | older: Ouder 15 | share: Delen 16 | powered_by: Powered by %s 17 | theme: Theme - %s 18 | rss_feed: RSS Feed 19 | category: Categorie 20 | tag: Label 21 | site_visitors: Visitors 22 | page_views: Views 23 | friends: Vrienden 24 | 25 | post: 26 | word_count: Aantal woorden in artikel 27 | read_time: Leestijd 28 | minutes: min 29 | reward: Doneer 30 | sticky: Sticky 31 | copyright_title: Copyright melding 32 | copyright_content: Copyright is eigendom van de auteur. Neem voor commerciële herdrukken contact op met de auteur voor autorisatie. Geef de bron aan voor niet-commerciële herdrukken. 33 | 34 | lock: 35 | lock_info: Please enter password 36 | lock_error: Incorrect password, please try again 37 | confirm_text: Ok 38 | cancel_text: Cancel 39 | -------------------------------------------------------------------------------- /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 %s 17 | theme: Theme - %s 18 | rss_feed: RSS Feed 19 | category: Category 20 | tag: Tag 21 | site_visitors: Visitors 22 | page_views: Views 23 | friends: Venner 24 | 25 | post: 26 | word_count: Ordtelling 27 | read_time: Lesetid 28 | minutes: min 29 | reward: Donere 30 | sticky: Sticky 31 | copyright_title: Opphavsrett 32 | copyright_content: Opphavsrett eies av forfatteren. For kommersielle opptrykk, vennligst kontakt forfatteren for godkjenning. For ikke-kommersiell uttrykk, vennligst oppgi kilden. 33 | 34 | lock: 35 | lock_info: Please enter password 36 | lock_error: Incorrect password, please try again 37 | confirm_text: Ok 38 | cancel_text: Cancel 39 | -------------------------------------------------------------------------------- /languages/pt.yml: -------------------------------------------------------------------------------- 1 | categories: Categorias 2 | search: Buscar 3 | tags: Tags 4 | tagcloud: Nuvem de Tags 5 | tweets: Tweets 6 | prev: Anterior 7 | next: Próximo 8 | comment: Comentários 9 | archive_a: Arquivos 10 | archive_b: "Arquivos: %s" 11 | page: Página %d 12 | recent_posts: Postagens Recentes 13 | newer: Mais Recente 14 | older: Mais Antigo 15 | share: Compartilhar 16 | powered_by: Powered by %s 17 | theme: Theme - %s 18 | rss_feed: Feed RSS 19 | category: Categoria 20 | tag: Tag 21 | site_visitors: Visitors 22 | page_views: Views 23 | friends: Amigos 24 | 25 | post: 26 | word_count: Word count 27 | read_time: Reading time 28 | minutes: min 29 | reward: Donate 30 | sticky: Sticky 31 | copyright_title: direito autoral 32 | 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. 33 | 34 | lock: 35 | lock_info: Please enter password 36 | lock_error: Incorrect password, please try again 37 | confirm_text: Ok 38 | cancel_text: Cancel 39 | -------------------------------------------------------------------------------- /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: Powered by %s 17 | theme: Theme - %s 18 | rss_feed: RSS-каналы 19 | category: Категория 20 | tag: Метка 21 | site_visitors: Visitors 22 | page_views: Views 23 | friends: друзья 24 | 25 | post: 26 | word_count: Количество слов 27 | read_time: Время чтения 28 | minutes: минут 29 | reward: вознаграждение 30 | sticky: липкий 31 | copyright_title: Авторские права 32 | copyright_content: Авторские права принадлежат автору. Для коммерческих перепечаток, пожалуйста, свяжитесь с автором для авторизации. Для некоммерческих перепечаток, пожалуйста, укажите источник. 33 | 34 | lock: 35 | lock_info: Please enter password 36 | lock_error: Incorrect password, please try again 37 | confirm_text: Ok 38 | cancel_text: Cancel 39 | -------------------------------------------------------------------------------- /languages/vi.yml: -------------------------------------------------------------------------------- 1 | categories: Thể loại 2 | search: Tìm Kiếm 3 | tags: thẻ 4 | tagcloud: thẻ đám mây 5 | tweets: Tweets 6 | prev: trước 7 | next: kế tiếp 8 | comment: bình luận 9 | archive_a: Archives 10 | archive_b: "Archives: %s" 11 | page: Page %d 12 | recent_posts: Bài viết gần đây 13 | newer: mới hơn 14 | older: lớn hơn 15 | share: chia sẻ 16 | powered_by: Powered by %s 17 | theme: Theme - %s 18 | rss_feed: RSS Feed 19 | category: Thể loại 20 | tag: thẻ 21 | site_visitors: Visitors 22 | page_views: Views 23 | friends: Bạn 24 | 25 | post: 26 | word_count: Đếm từ 27 | read_time: Thời gian đọc 28 | minutes: min 29 | reward: tặng 30 | sticky: dính 31 | copyright_title: Bản quyền 32 | 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. 33 | 34 | lock: 35 | lock_info: Please enter password 36 | lock_error: Incorrect password, please try again 37 | confirm_text: Ok 38 | cancel_text: Cancel 39 | -------------------------------------------------------------------------------- /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: 分享 16 | powered_by: 由 %s 强力驱动 17 | theme: 主题 - %s 18 | rss_feed: RSS Feed 19 | category: Category 20 | tag: Tag 21 | site_visitors: 访问人数 22 | page_views: 浏览次数 23 | friends: 友情链接 24 | 25 | post: 26 | word_count: 字数统计 27 | read_time: 阅读时长 28 | minutes: 分钟 29 | reward: 打赏 30 | sticky: 置顶 31 | copyright_title: 版权声明 32 | copyright_content: 本博客所有文章除特别声明外,著作权归作者所有。转载请注明出处! 33 | 34 | lock: 35 | lock_info: 请输入访问密码 36 | lock_error: 密码错误,请重试 37 | confirm_text: 确定 38 | cancel_text: 取消 39 | -------------------------------------------------------------------------------- /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 %s 17 | theme: Theme - %s 18 | rss_feed: RSS Feed 19 | category: Category 20 | tag: Tag 21 | site_visitors: Visitors 22 | page_views: Views 23 | friends: 友情鏈接 24 | 25 | post: 26 | word_count: 字數統計 27 | read_time: 閱讀時長 28 | minutes: 分鐘 29 | reward: 打賞 30 | sticky: 置頂 31 | copyright_title: 版權聲明 32 | copyright_content: 本博客所有文章除特別聲明外,著作權歸作者所有。轉載請註明出處! 33 | 34 | lock: 35 | lock_info: 請輸入訪問密碼 36 | lock_error: 密碼錯誤,請重試 37 | confirm_text: 確定 38 | cancel_text: 取消 39 | -------------------------------------------------------------------------------- /layout/_partial/ads.ejs: -------------------------------------------------------------------------------- 1 |
<%= theme.reward_wording%>
7 |