-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
hugo.toml
117 lines (106 loc) · 3.37 KB
/
hugo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
baseURL = "https://recomedicales.fr/"
copyright = "© 2019-2024 par Jean-Baptiste FRON sous license CC BY-NC 4.0"
DefaultContentLanguage = "fr"
disableHugoGeneratorInject = false
enableInlineShortcodes = true
enableRobotsTXT = true
languageCode = "fr"
removePathAccents = true
rssLimit = 30
summaryLength = 10
title = "RecoMédicales"
[taxonomies]
specialite = "specialites"
tag = "tags"
annee = "annees"
# [[cascade]]
# [cascade._build]
# list = 'never'
# render = 'never'
# [cascade._target]
# kind = '{taxonomy,term}'
# path = '{/specialites,/specialites/**}'
[params]
author = "Jean-Baptiste FRON"
dateFormat = "02/01/2006"
description = "Les dernières recommandations médicales de prise en charge pour la pratique en médecine générale. Bilan de première intention, arbre décisionnel et scores"
github = "https://github.com/djibe/recommandations-medicales"
githubUser = "djibe"
facebook = "https://www.facebook.com/RecoMedicales"
linkedin = "https://www.linkedin.com/company/recom%C3%A9dicales/"
twitter = "https://x.com/RecoMedicales"
twitterName = "RecoMedicales"
ogimage = "/images/icons/banner-og.jpg"
icon = "/android-chrome-512x512.png"
SidebarRecentLimit = 5
# todo
[related.indices]
name = "specialites"
# https://gohugo.io/templates/output-formats/#output-formats-for-pages
# search https://learn.netlify.app/en/basics/configuration/
[outputs]
page = ["HTML"]
home = ["HTML", "JSON", "RSS", "WebAppManifest", "WORKER"]
section = ["HTML", "JSON"]
taxonomy = ["HTML"]
term = ["HTML"]
[outputFormats]
[outputFormats.WORKER]
mediaType = "text/javascript"
baseName = "sw"
isPlainText = true
# Dependencies
[params.cdn]
material_js = "https://cdn.jsdelivr.net/npm/djibe-material@4.6.2-1.0/js/material.min.js"
material_js_hash = "sha256-B6009p2rnV9Tx+3+m0kEff8HiL9uJ2wE11zD7zgZ82g="
css = "css/style.css"
bs_js = "https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js"
bs_js_hash = "sha256-GRJrh0oydT1CwS36bBeJK/2TggpaUQC6GzTaTQdZm0k="
jquery = "https://cdn.jsdelivr.net/npm/jquery@3.7.1/dist/jquery.slim.min.js"
jquery_hash = "sha256-kmHvs0B+OpCW5GVHUNjv9rOmY0IvSIRcf7zGUDTDQM8="
[params.dateformat]
# HTML doc : https://developer.mozilla.org/fr/docs/Web/HTML/Element/time
#date = 2006-01-02
#datetime = "2006-01-02T15:04:05Z0700" # html ISO 8601 datetimeformat
[markup.goldmark.extensions]
strikethrough = false
[markup.goldmark.extensions.extras.delete]
enable = true
[markup.goldmark.extensions.extras.mark]
enable = true
[markup.goldmark.extensions.extras.subscript]
enable = true
[markup.goldmark.extensions.extras.superscript]
enable = true
[markup.goldmark.parser]
autoHeadingIDType = 'github'
[markup.goldmark.parser.attribute]
block = true # Allow classes on HTML entities
[markup.goldmark.renderer]
unsafe = true # Allow HTML in md
[menu]
[[menu.main]]
identifier = "recommandations"
name = "Recommandations"
url = "/recommandations/"
weight = 2
[[menu.main]]
identifier = "cabinet"
name = "Cabinet"
url = "/cabinet/"
weight = 3
[[menu.main]]
identifier = "articles"
name = "Articles"
url = "/articles/"
weight = 4
[[menu.main]]
identifier = "actualites"
name = "Actualités"
url = "/actualites/"
weight = 5
[[menu.main]]
identifier = "tags"
name = "Mots-clés"
url = "/tags/"
weight = 6