Skip to content

Commit 40b146f

Browse files
committed
Add config/config.yml.template
1 parent 15e5cdb commit 40b146f

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

config/config.yml.template

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
##
2+
# Basic
3+
#
4+
site_title: Pico # The title of your website
5+
base_url: ~ # Pico will try to guess its base URL, if this fails, override it here
6+
# Example: http://example.com/pico/
7+
rewrite_url: ~ # A boolean (true or false) indicating whether URL rewriting is forced
8+
timezone: UTC # Your PHP installation might require you to manually specify a timezone
9+
10+
##
11+
# Theme
12+
#
13+
theme: default # The name of your custom theme
14+
theme_url: ~ # Pico will try to guess the URL to the themes dir of your installation
15+
# If this fails, override it here. Example: http://example.com/pico/themes/
16+
theme_config:
17+
widescreen: false # Default theme: Use more horicontal space (i.e. make the site container wider)
18+
twig_config:
19+
cache: false # Enable Twig template caching by specifying a path to a writable directory
20+
autoescape: false # Let Twig escape variables by default
21+
debug: false # Enable Twig's debugging mode
22+
23+
##
24+
# Content
25+
#
26+
date_format: %D %T # Pico's default date format
27+
# See http://php.net/manual/en/function.strftime.php for more info
28+
pages_order_by_meta: author # Sort pages by meta value "author" (set "pages_order_by" to "meta")
29+
pages_order_by: alpha # Change how Pico sorts pages ("alpha" for alphabetical order, "date", or "meta")
30+
pages_order: asc # Sort pages in ascending ("asc") or descending ("desc") order
31+
content_dir: content/ # The path to Pico's content directory
32+
content_ext: .md # The file extension of your Markdown files
33+
content_config:
34+
extra: true # Use the Parsedown Extra parser to support extended markup
35+
# See https://michelf.ca/projects/php-markdown/extra/ for more info
36+
breaks: false # A boolean indicating whether breaks in the markup should be reflected in the
37+
# parsed contents of the page
38+
escape: false # Escape HTML markup in your content files; don't confuse this with some sort of
39+
# safe mode, enabling this doesn't allow you to process untrusted user input!
40+
auto_urls: true # Automatically link URLs found in your markup
41+
42+
##
43+
# Plugins
44+
#
45+
DummyPlugin.enabled: false # Force the plugin "DummyPlugin" to be disabled
46+
47+
##
48+
# Custom
49+
#
50+
my_custom_setting: Hello World! # You can access custom settings in themes using {{ config.my_custom_setting }}

0 commit comments

Comments
 (0)