60 lines
1.2 KiB
Python
Executable File
60 lines
1.2 KiB
Python
Executable File
### General ###
|
|
site_url = "gemini://example.com"
|
|
site_name = "Example Name"
|
|
site_description = "This Site is about X, Y and Z topics!"
|
|
webroot = "/path/to/webroot"
|
|
date_format = "%d/%m/%Y at %H:%M" # The date that is displayed on the page
|
|
post_seperator = "---------------------------------------------"
|
|
posts_in_timeline = 100
|
|
file_extension = "gmi"
|
|
|
|
### Feeds ###
|
|
atom = False
|
|
rss = True
|
|
|
|
### Logging ###
|
|
logfile = "./log"
|
|
verbose = False
|
|
|
|
### Format ###
|
|
# The syntax for this is pretty simple
|
|
# %S - post seperator as defined by post_seperator
|
|
# %T - Title
|
|
# %D - Published date in the format specified by date_format
|
|
# %E - Edited date in the format specified by date_format
|
|
# %C - Post content
|
|
# %L - URL Permanent link to the post
|
|
# %U - URL the the user (poster)
|
|
# %N - the username of the user (poster)
|
|
# %R - Site wide RSS feed
|
|
# %Y - Site Name as defined by site_name
|
|
# %y - Site Descriptin as defined by site_description
|
|
site_header = '''
|
|
# %Y
|
|
## %y
|
|
=> %R RSS Feed
|
|
'''
|
|
user_page_post_format = '''
|
|
## %T
|
|
%C
|
|
=> %L permalink
|
|
%S
|
|
'''
|
|
post_page_post_format = '''
|
|
# Posted by %N
|
|
## %T
|
|
### Published: %D
|
|
%C
|
|
=> %U %N
|
|
Published: %D
|
|
Last Edited: %E
|
|
'''
|
|
timeline_post_format = '''
|
|
### %T
|
|
%C
|
|
=> %L permalink
|
|
%S
|
|
'''
|
|
|
|
autogenerated = True
|