🇨🇦
hexo-theme-redefine
BlogGithub
English
English
  • Project Description
  • Get Started
    • Installation
    • Update
    • Usage
  • Configuration
    • Create a theme config file
    • base_info
    • style
      • primary_color
      • avatar
      • favicon
      • article_img_align
      • left_side_width
      • content_max_width
      • nav_color
      • hover
      • first_screen
      • scroll
    • social_contact
    • menu
    • home_article
    • post
      • word_count
      • author_label
    • toc
    • copyright_info
    • website_count
    • local_search
    • comment
      • use
      • Waline
      • Gitalk
      • Twikoo
    • rss
    • lazyload
    • cdn
    • pjax
    • footer
  • Advanced
    • Create a page
    • Note modules
    • Article top
    • Mathematical formula
    • Friendship style
    • file comparison
    • Resource compression
Powered by GitBook
On this page
  1. Configuration
  2. post

author_label

Previousword_countNexttoc

Last updated 2 years ago

To set the author ID of the article content page, there are currently two options:

  1. auto automatically generates Lv1, Lv2, Lv3..., the judgment is based on the number of articles.

  2. custom_label_list Custom label list, array items can be one or multiple, the matching is based on the number of articles.

Format reference:

  • an array item ["The one"]

  • Multiple array items ["The one", "Neo", "God"]

#code_copy

code_copy:
  enable: true
  style: mac # values: default | mac

This configuration item is used to set the code copy function. After it is turned on, one key copy code can be copied to the clipboard.

  • Whether enable is enabled.

  • style sets the style of the code block after the code copy function is enabled, optional default and mac.

    • default renderings (hahahahaha there is a bug, so use the mac style)

    • mac renderings