# Writing new_post_name: :title.md # File name of new posts default_layout: post titlecase: True # 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 marked: prependRoot: true postAsset: false # 修改为false relative_link: false # 修改为false,这是关键 future: true syntax_highlighter: highlight.js highlight: line_number: true auto_detect: false tab_replace: '' wrap: true hljs: false prismjs: preprocess: true line_number: true tab_replace: ''
以及:
1 2 3 4 5 6 7
url: https://pqcu77.github.io root: / permalink: :year/:month/:day/: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