From 7ff321bac295fd191163f311781dae764f468aac Mon Sep 17 00:00:00 2001 From: Leon Xu <6479451-leonxu260@users.noreply.gitlab.com> Date: Thu, 26 Aug 2021 16:03:19 -0700 Subject: [PATCH] doc: add abbrlink setting to theme configuration --- _config.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/_config.yml b/_config.yml index 6ba58fe..cfaef41 100644 --- a/_config.yml +++ b/_config.yml @@ -23,6 +23,20 @@ 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 +abbrlink: + alg: crc32 #support crc16(default) and crc32 + rep: hex #support dec(default) and hex + drafts: false #(true)Process draft,(false)Do not process draft. false(default) + # Generate categories from directory-tree + # depth: the max_depth of directory-tree you want to generate, should > 0 + auto_category: + enable: true #true(default) + depth: #3(default) + over_write: false + auto_title: false #enable auto title, it can auto fill the title by path + auto_date: false #enable auto date, it can auto fill the date by time today + force: false #enable force mode,in this mode, the plugin will ignore the cache, and calc the abbrlink for every post even it already had abbrlink. + # Directory source_dir: source public_dir: public