# URL ## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project' url: http://example.com permalink: posts/:abbrlink.html 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
highlight_theme: mac # darker / pale night / light / ocean / mac / mac light / false 代码主题 highlight_copy: true # 复制按钮 highlight_lang: false # 是否显示代码语言 highlight_shrink: false # true: 代码块默认不展开 / false: 代码块默认展开 | none: 展开并隐藏折叠按钮 highlight_height_limit: false # unit: px code_word_wrap: true #代码自动换行,关闭滚动条
marked: prependRoot: true postAsset: true
# 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: true relative_link: false future: true highlight: enable: false line_number: false 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:
menu: 主页: / || fas fa-home 分类 || fa fa-graduation-cap: web安全: /tags/web || fa fa-tags poc: /tags/poc || fa fa-tags cry: /tags/cry || fa fa-tags misc: /tags/misc || fa fa-tags re: /tags/re || fa fa-tags
生活 || fas fa-list: 分享: / || fa fa-comments-o 相册: / || fa fa-camera-retro 音乐: / || fa fa-music 影视: / || fas fa-video 友链: /link || fa fa-link 留言板: / || fa fa-paper-plane #留言板: /messageboard/ || fa fa-paper-plane 关于笔者: / || fas fa-heart
# Local search local_search: enable: true labels: input_placeholder: Search for Posts hits_empty: "We didn't find any results for the search: ${query}" # 如果没有查到内容相关内容显示