diff --git a/documentation/config/_default/config.toml b/documentation/config/_default/config.toml index 9c9be4910d..087c0f5576 100644 --- a/documentation/config/_default/config.toml +++ b/documentation/config/_default/config.toml @@ -1,46 +1,46 @@ # FreeBSD documentation baseURL = "https://docs.freebsd.org/" title = "FreeBSD Documentation Portal" copyright = "BSD 2-clause 'Simplified' License" defaultContentLanguage = "en" defaultContentLanguageInSubdir = true disablePathToLower = true theme = "beastie" disableKinds = [ "taxonomy", "taxonomyTerm" ] authors = [ "carlavilla@FreeBSD.org" ] ignoreFiles = [ "chapter.adoc$", "contrib-386bsd.adoc$", "contrib-additional.adoc$", "contrib-committers.adoc$", "contrib-corealumni.adoc$", "contrib-develalumni.adoc$", "contrib-develinmemoriam.adoc$", "contrib-portmgralumni.adoc$", "\\.po$" ] enableRobotsTXT = true -enableGitInfo = false +enableGitInfo = true [params] websiteURL = "https://www.FreeBSD.org" description = "FreeBSD Documentation Portal" isOnline = true editBaseUrl = "https://github.com/freebsd/freebsd-doc/edit/main/documentation/content/" downloadBaseUrl = "https://download.freebsd.org/doc/" [security] enableInlineShortcodes = false [security.exec] allow = ["^dart-sass-embedded$", "^go$", "^npx$", "^postcss$", "^asciidoctor$"] osEnv = ["(?i)^(PATH|PATHEXT|APPDATA|TMP|TEMP|TERM|LOAD_PATH|RUBYLIB)$"] [security.funcs] getenv = ["^HUGO_"] [security.http] methods = ["(?i)GET|POST"] urls = [".*"] [markup.asciidocExt] extensions = ["man-macro", "inter-document-references-macro", "cross-document-references-macro", "sectnumoffset-treeprocessor", "packages-macro", "git-macro"] [markup.asciidocExt.attributes] env-beastie = true isOnline = true skip-front-matter = true [outputs] home = [ "HTML" ] page = [ "HTML" ] list = [ "HTML" ] single = [ "HTML" ] section = [ "HTML" ] diff --git a/website/config/_default/config.toml b/website/config/_default/config.toml index e04352229b..3a9b767b11 100644 --- a/website/config/_default/config.toml +++ b/website/config/_default/config.toml @@ -1,54 +1,54 @@ # FreeBSD website baseURL = "https://www.freebsd.org/" title = "The FreeBSD Project" copyright = "BSD 2-clause 'Simplified' License" DefaultContentLanguage = "en" defaultContentLanguageInSubdir = false theme = "beastie" disableKinds = [ "taxonomy", "taxonomyTerm" ] disableLanguages = ["tr", "el"] disablePathToLower = true authors = [ "carlavilla@FreeBSD.org" ] ignoreFiles = [ "\\.po$" ] enableRobotsTXT = true -enableGitInfo = false +enableGitInfo = true preserveTOC = true [markup.asciidocExt] preserveTOC = true extensions = ["man-macro", "inter-document-references-macro", "sectnumoffset-treeprocessor", "packages-macro", "git-macro"] [security] enableInlineShortcodes = false [security.exec] allow = ["^dart-sass-embedded$", "^go$", "^npx$", "^postcss$", "^asciidoctor$"] osEnv = ["(?i)^(PATH|PATHEXT|APPDATA|TMP|TEMP|TERM|LOAD_PATH|RUBYLIB)$"] [security.funcs] getenv = ["^HUGO_"] [security.http] methods = ["(?i)GET|POST"] urls = [".*"] staticDir = ["static", "shared"] [outputs] home = [ "HTML" ] page = [ "HTML" ] list = [ "HTML" ] single = [ "HTML" ] section = [ "HTML", "RSS", "Calendar" ] [outputFormats] [outputFormats.Calendar] BaseName = "calendar" IsHTML = true IsPlainText = false [outputFormats.RSS] MediaType = "application/rss+xml" BaseName = "feed" IsHTML = true IsPlainText = false noUgly = true Rel = "alternate"