~nromdotcom/gemif

gemif/sample.config.toml -rw-r--r-- 1.2 KiB
85dc63b9Norm MacLennan chore: upgrade linters and fix linting issues 9 months ago
                                                                                
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
[gemserver]
domain    = "gemif.fedi.farm"
port      = 1965
cert_file = "./itsa.crt"
key_file  = "./anda.key"

[engine]
# Path to directory where compiled stories are stored.
stories_dir         = "./stories/compiled"
# Whether to render gotmpl syntax in room descriptions,
# otherwise all room descriptions are printed literally.
# Note: gemtext will render even when this is false.
render_descriptions = true
# Method to use for serializing the state token.
# JSON is easier to debug, but often less efficient.
# proto = protobuf
# json  = json
statetoken_format   = "proto"

[homepage]
# Whether or not to display 
# "Powered by GemIF vX.Y.Z" on the homepage
display_powered_by = true
# Whether or not to add a link to the GemIF git repo
# on the homepage
display_project_info = false
# Email address for the capsule owner, renders
# a `mailto` link when present, otherwise no contact
# info is rendered
contact_email = "norm@iwritethe.codes"
# Level one title to render at the top of the page,
# otherwise a GemIF ASCII banner will be rendered
title = "My Gemini Capsule"
# Gemtext to render between the title and stories list.
# If not present, a short intro to GemIF will be rendered.
page_body = '''
Hey, check out my stories!
'''