Setup configuration

This commit is contained in:
Jan Dittberner 2023-05-20 16:29:34 +02:00
parent 6cb647c7d4
commit 1171501922
7 changed files with 27 additions and 14 deletions

1
assets/icons/git-alt.svg Normal file
View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Pro 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path fill="currentColor" d="M439.55 236.05L244 40.45a28.87 28.87 0 0 0-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 0 1-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 0 0 0 40.81l195.61 195.6a28.86 28.86 0 0 0 40.8 0l194.69-194.69a28.86 28.86 0 0 0 0-40.81z"/></svg>

After

Width:  |  Height:  |  Size: 727 B

View file

@ -2,7 +2,8 @@
# Refer to the theme docs for more details about each of these parameters. # Refer to the theme docs for more details about each of these parameters.
# https://jpanther.github.io/congo/docs/getting-started/ # https://jpanther.github.io/congo/docs/getting-started/
# baseURL = "https://your_domain.com/" baseURL = "https://devdocs.cacert.org/"
languageCode = "en"
defaultContentLanguage = "en" defaultContentLanguage = "en"
enableRobotsTXT = true enableRobotsTXT = true
@ -11,3 +12,6 @@ summaryLength = 0
[outputs] [outputs]
home = ["HTML", "RSS", "JSON"] home = ["HTML", "RSS", "JSON"]
[permalinks]
posts = '/posts/:year/:month/:title/'

View file

@ -5,9 +5,9 @@ isoCode = "en"
weight = 1 weight = 1
rtl = false rtl = false
title = "Congo" title = "CAcert Development Documentation"
# description = "My awesome website" description = "This site is a collection of development documentation for CAcert"
# copyright = "Copy, _right?_ :thinking_face:" copyright = "© CAcert"
dateFormat = "2 January 2006" dateFormat = "2 January 2006"
@ -15,10 +15,13 @@ dateFormat = "2 January 2006"
# mainSections = ["section1", "section2"] # mainSections = ["section1", "section2"]
[author] [author]
# name = "Your name here" name = "CAcert"
# image = "img/author.jpg" # image = "img/author.jpg"
# headline = "I'm only human" headline = "The community driven Certificate Authority"
# bio = "A little bit about you" # bio = "A little bit about you"
links = [
{ link = "https://www.cacert.org/" }
]
# links = [ # links = [
# { email = "mailto:hello@your_domain.com" }, # { email = "mailto:hello@your_domain.com" },
# { link = "https://link-to-some-website.com/" }, # { link = "https://link-to-some-website.com/" },

View file

@ -3,7 +3,7 @@
[goldmark] [goldmark]
[goldmark.renderer] [goldmark.renderer]
unsafe = true unsafe = false
[highlight] [highlight]
noClasses = false noClasses = false

View file

@ -16,14 +16,18 @@
weight = 10 weight = 10
[[main]] [[main]]
name = "Categories" name = "Topics"
pageRef = "categories" pageRef = "topics"
weight = 20 weight = 20
[[main]] [[main]]
name = "Tags" name = "Code"
pageRef = "tags" title = "CAcert code repositories"
url = "https://code.cacert.org/cacert/"
weight = 30 weight = 30
[main.params]
icon = "git-alt"
target = "_blank"
[[main]] [[main]]
identifier = "search" identifier = "search"

View file

@ -5,12 +5,12 @@
# Refer to the theme docs for more details about each of these parameters. # Refer to the theme docs for more details about each of these parameters.
# https://jpanther.github.io/congo/docs/configuration/#theme-parameters # https://jpanther.github.io/congo/docs/configuration/#theme-parameters
colorScheme = "congo" colorScheme = "ocean"
defaultAppearance = "light" # valid options: light or dark defaultAppearance = "light" # valid options: light or dark
autoSwitchAppearance = true autoSwitchAppearance = true
enableSearch = false enableSearch = true
enableCodeCopy = false enableCodeCopy = true
# robots = "" # robots = ""

View file

@ -0,0 +1 @@
topic = 'topics'