config.toml 3.52 KB
Newer Older
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
# hostname (and path) to the root eg. https://appernetic.github.io/
baseurl = "https://sense3.org/"

# Remark if you want to disable multilingual support.
DefaultContentLanguage = "en"

# If you want all of the languages to be put below their respective language code,
# enable DefaultContentLanguageInSubdir = true. Without enabling it english content
# will be in the root and other languages in their respective subfolder such as /sv/.
# See [Languages] settings at the end of this file.
DefaultContentLanguageInSubdir = true

# Use this languageCode if it's not a multilingual site and also remove all language blocks and menus in the language sections to disable multilingual support.
# language blocks.
# Language
#languageCode = "en"

# SES friendly url:s
canonifyurls = true

# Frontmatter format
# "yaml", "toml", "json"
metaDataFormat = "toml"

# Theme to use (located in /themes/THEMENAME/)
theme = "hugo-bootstrap-premium"
# Pagination
paginate = 10
paginatePath = "page"

# Enable Disqus integration
disqusShortname = "shortname"


[permalinks]
post = "/:year/:month/:day/:filename/"
code = "/:filename/"

[taxonomies]
tag = "tags"
topic = "topics"

[author]
name = "JosephK"
email = "josephk@framasoft.org"

#
# All parameters below here are optional and can be mixed and matched.
#

[params.theme]
name = "paper"

[params]
# menu for changing language. This changes languages with js and stores the choice with the help of JavaScript in a Cookie. Then the path is rewritten with pathnamereplace.js. The name of the md files needs to have the same name for each language abbreviation to work correctly. Example: showcase.en.md and showcase.sv.md. It only works if DefaultContentLanguageInSubdir = true
switchlang = true
# You can use markdown here.
BrandImage = "/brand.png"
brand = "Sense3"
topline = ""
footline = ""

customJS = []
customCSS = []

# Text for the top menu link, which goes to the root URL for the site.
# Default (if omitted) is "Home".
#home = ""

mailmunchid = "" # Mailmunch site id
sumomeid = "" # Sumome id
mathjax = "" # cdnjs hosted version; empty string to disable mathjax

# Show a sidebar menu
showRightSidebar = false
# Select a syntax highlight.
# Check the static/css/highlight directory for options.
highlight = "default"

# Google Analytics.
#googleAnalytics = "Your Google Analytics tracking code"

# Menus
# If you want active menu items highlighted for internal pages don't add them here, they need to be added in each files front matter.
# like this:
#[menu]
#     [menu.main]
#        name = "Showcase"
#        weight = 3
#        identifier = "showcase"
# i18n menus. A menu will be added for each language to the right in the top menu. This menu will switch to the selected language. Remember to add the corresponding language in pathnamereplace.js.
[[Languages.fr.menu.switchlang]]
  name = "English"
  identifier = ""
  weight = 4
  url = "en"

[[Languages.en.menu.switchlang]]
  name = "Français"
  identifier = ""
  weight = 4
  url = "fr"

[Languages]
[Languages.fr]
languageCode = "fr"
weight = 1
title = "Sense3"

[[Languages.fr.menu.main]]
name = "Soutenir"
weight = 3
identifier = ""
 JosephK's avatar
JosephK committed
114
url = "https://liberapay.com/josephk"
115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137

[[Languages.fr.menu.main]]
name = "Code source"
weight = 4
identifier = ""
url = "https://framagit.org/josephk/sense3"

[Languages.en]
languageCode = "en"
weight = 1
title = "Sense3"

[[Languages.en.menu.main]]
name = "Support"
weight = 3
identifier = ""
url = "https://liberapay.com/josephk"

[[Languages.en.menu.main]]
name = "Source code"
weight = 4
identifier = ""
url = "https://framagit.org/josephk/sense3"