valine: enable: true appid: t6IFRai4uKVYoIIyrH84awuK-gzGzoHsz appkey: uo0ujaAY4BW05YV1NHgA4z0M notify: false # Mail notifier verify: false # Verification code placeholder: Just go go # Comment box placeholder avatar: mm # Gravatar style guest_info: nick,mail,link # Custom comment header pageSize: 10 # Pagination size language: # Language, available values: en, zh-cn visitor: false # Article reading statistic comment_count: true # If false, comment count will only be displayed in post page, not in home page recordIP: true # Whether to record the commenter IP serverURLs: # When the custom domain name is enabled, fill it in here (it will be detected automatically by default, no need to fill in) #post_meta_order: 0
配置页面浏览量统计
next集成了busuanzi访客统计插件
打开 theme/next 主题文件夹中的 _config.yml文件,修改以下配置
1 2 3 4 5 6 7 8 9
busuanzi_count: enable: true total_visitors: true total_visitors_icon: fa fa-user total_views: true total_views_icon: fa fa-eye post_views: true post_views_icon: fa fa-eye
配置头像和favicon
打开 theme/next 主题文件夹中的 _config.yml文件,修改以下配置
1 2 3 4 5 6 7 8
avatar: # Replace the default image and set the url here. url: /images/avatar.png # If true, the avatar will be dispalyed in circle. rounded: false # If true, the avatar will be rotated with the cursor. rotated: false
name: Build and Deploy on: [push] jobs: build-and-deploy: runs-on: ubuntu-latest steps: - name: Checkout 🛎️ uses: actions/checkout@v2.3.1 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly. with: persist-credentials: false
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built. run: | npm install npm run build env: CI: false
- name: Deploy 🚀 uses: JamesIves/github-pages-deploy-action@4.1.5 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} BRANCH: master # The branch the action should deploy to. FOLDER: public # The folder the action should deploy.