summaryrefslogtreecommitdiff
path: root/config.default.yml
blob: 7c34f43ebaaf935949e23ff06967501dfabccba0 (plain)
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
# ------------------------------------
#
#    ______      __          ____
#   / ____/___  / /_  ____ _/ / /_
#  / /   / __ \/ __ \/ __ `/ / __/
# / /___/ /_/ / /_/ / /_/ / / /_
# \____/\____/_.___/\__,_/_/\__/
#
# ------------------------------------

# A powerful, static and extensible CMS

# Do you want a more user-friendly CMS?
# You might want to check out Neutron:
#    https://gitlab.minteck.org/minteck/neutron

# This is the Cobalt configuration file.
# Make sure this file is named 'config.yml' and not
# 'config.default.yml', as you don't need to edit
# the default configuration file.

# How pages ID are constructed?
# -----------------------------
# This will affect the generated HTML archive.
# All of these methods are cryptographically secure
#
# WARNING: the 'sha256' method might not work due to
# your filesystem's filename length limit. Use with
# caution
#
# Allowed values:
#    - sha256: SHA-256 sum-based page IDs
#    - snowflake: filename-based page IDs (default)
#    - md5: MD5 sum-based page IDs
pages_id_generator: snowflake

# Conditional publishing
# ----------------------
# (thanks to antoine62 for the feature request)
#
# If enabled, Cobalt will detect if the 'publish'
# parameter in your Markdown's file frontmatter
# equals true. If (and only if) this condition is
# met, the file will be added.
#
# This doesn't affect folder index.
conditional_publishing: false

# Classes for various HTML elements
# ---------------------------------
# If you import some custom CSS (such as Bootstrap),
# you might want to add custom DOM classes to generated
# HTML.
#
# Only the DOM elements mentioned below are supported by
# Cobalt. Use custom CSS to style the others.
classes:
  main: []
  footer: []
  article: []
  header: []
  body: []
  html: []

# Additional JS/CSS imports
# -------------------------
# Add URLs to JS or CSS files that will be imported into
# the generated HTML document.
#
# The JS file is imported on <head>, so you need to use
#     document.addEventListener('load', ...)
imports:
  css: []
  js: []