# Site title:LiYao'sBlog description:"生于尘埃,溺于人海,死于理想高台。" keywords: author:LiYao language:zh-CN timezone:Asia/Shanghai
# URL ## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project' url:https://blog.lucat.fun permalink::title/ permalink_defaults: pretty_urls: trailing_index:true# Set to false to remove trailing 'index.html' from permalinks trailing_html:true# Set to false to remove trailing '.html' from permalinks
# Writing new_post_name::title.md# File name of new posts default_layout:post titlecase:false# Transform title into titlecase external_link: enable:true# Open external links in new tab field:site# Apply to the whole site exclude:'' filename_case:0 render_drafts:false post_asset_folder:false relative_link:false future:true highlight: enable:true line_number:true auto_detect:false tab_replace:'' wrap:true hljs:false prismjs: enable:false preprocess:true line_number:true tab_replace:''
# Home page setting # path: Root path for your blogs index page. (default = '') # per_page: Posts displayed per page. (0 = disable pagination) # order_by: Posts order. (Order by date descending by default) index_generator: path:'' per_page:10 order_by:-date
# Category & Tag default_category:uncategorized category_map: tag_map:
# Metadata elements ## https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta meta_generator:true
# Date / Time format ## Hexo uses Moment.js to parse and display date ## You can customize the date format as defined in ## http://momentjs.com/docs/#/displaying/format/ date_format:YYYY-MM-DD time_format:HH:mm:ss ## updated_option supports 'mtime', 'date', 'empty' updated_option:'mtime'
# Pagination ## Set per_page to 0 to disable pagination per_page:10 pagination_dir:page
# Include / Exclude file(s) ## include:/exclude: options only apply to the 'source/' folder include: exclude: ignore:
## 文章封面图 cover: # 是否顯示文章封面 index_enable:true aside_enable:true archives_enable:true # 封面顯示的位置 # 三個值可配置 left , right , both position:both # 當沒有設置cover時,默認的封面顯示 default_cover:
## 文章展示信息 post_meta: page: date_type:both# created or updated or both 主頁文章日期是創建日或者更新日或都顯示 date_format:relative# date/relative 顯示日期還是相對日期 categories:true# true or false 主頁是否顯示分類 tags:true# true or false 主頁是否顯示標籤 label:true# true or false 顯示描述性文字 post: date_type:both# created or updated or both 文章頁日期是創建日或者更新日或都顯示 date_format:relative# date/relative 顯示日期還是相對日期 categories:true# true or false 文章頁是否顯示分類 tags:true# true or false 文章頁是否顯示標籤 label:true# true or false 顯示描述性文字
related_post: enable:true limit:6# 顯示推薦文章數目 date_type:created# or created or updated 文章日期顯示創建日或者更新日
## 文章锚点 anchor:true
## 文章过期提示 noticeOutdate: enable:true style:simple# style: simple/flat limit_day:365# When will it be shown position:top# position: top/bottom message_prev:你似乎正在查看一篇很久远的文章,本文编写于 message_next:天前,其中某些信息可能过期
## 笔记配置 note: # Note tag style values: # - simple bs-callout old alert style. Default. # - modern bs-callout new (v2-v3) alert style. # - flat flat callout style with background, like on Mozilla or StackOverflow. # - disabled disable all CSS styles import of note tag. style:simple icons:false border_radius:3 # Offset lighter of background in % for modern and flat styles (modern: -12 | 12; flat: -18 | 6). # Offset also applied to label tag variables. This option can work with disabled note tag. light_bg_offset:0
aside: enable:true hide:false button:true mobile:true# display on mobile position:right# left or right card_author: enable:true description: button: enable:true icon:fabfa-github text:FollowMe link:https://github.com/liyao2598330 card_announcement: enable:true content:新迁移博客,旧文章丢失无法恢复 card_recent_post: enable:true limit:5# if set 0 will show all sort:date# date or updated sort_order:# Don't modify the setting unless you know how it works card_categories: enable:true limit:8# if set 0 will show all expand:none# none/true/false sort_order:# Don't modify the setting unless you know how it works card_tags: enable:true limit:40# if set 0 will show all color:false sort_order:# Don't modify the setting unless you know how it works card_archives: enable:true type:monthly# yearly or monthly format:MMMMYYYY# eg: YYYY年MM月 order:-1# Sort of order. 1, asc for ascending; -1, desc for descending limit:8# if set 0 will show all sort_order:# Don't modify the setting unless you know how it works card_webinfo: enable:true post_count:true last_push_date:true