init
This commit is contained in:
0
user/config/media.yaml
Normal file
0
user/config/media.yaml
Normal file
63
user/config/plugins/comments.yaml
Normal file
63
user/config/plugins/comments.yaml
Normal file
@@ -0,0 +1,63 @@
|
||||
enabled: true
|
||||
enable_on_routes:
|
||||
- /blog
|
||||
disable_on_routes:
|
||||
- /blog/blog-post-to-ignore
|
||||
- /ignore-this-route
|
||||
form:
|
||||
name: comments
|
||||
fields:
|
||||
-
|
||||
name: name
|
||||
label: PLUGIN_COMMENTS.NAME_LABEL
|
||||
placeholder: PLUGIN_COMMENTS.NAME_PLACEHOLDER
|
||||
autocomplete: 'on'
|
||||
type: text
|
||||
validate:
|
||||
required: true
|
||||
-
|
||||
name: email
|
||||
label: PLUGIN_COMMENTS.EMAIL_LABEL
|
||||
placeholder: PLUGIN_COMMENTS.EMAIL_PLACEHOLDER
|
||||
type: email
|
||||
validate:
|
||||
required: true
|
||||
-
|
||||
name: text
|
||||
label: PLUGIN_COMMENTS.MESSAGE_LABEL
|
||||
placeholder: PLUGIN_COMMENTS.MESSAGE_PLACEHOLDER
|
||||
type: textarea
|
||||
validate:
|
||||
required: true
|
||||
-
|
||||
name: date
|
||||
type: hidden
|
||||
process:
|
||||
fillWithCurrentDateTime: true
|
||||
-
|
||||
name: title
|
||||
type: hidden
|
||||
evaluateDefault: grav.page.header.title
|
||||
-
|
||||
name: lang
|
||||
type: hidden
|
||||
evaluateDefault: grav.language.getLanguage
|
||||
-
|
||||
name: path
|
||||
type: hidden
|
||||
evaluateDefault: grav.uri.path
|
||||
buttons:
|
||||
-
|
||||
type: submit
|
||||
value: PLUGIN_COMMENTS.SUBMIT_COMMENT_BUTTON_TEXT
|
||||
process:
|
||||
-
|
||||
email:
|
||||
subject: PLUGIN_COMMENTS.EMAIL_NEW_COMMENT_SUBJECT
|
||||
body: '{% include ''forms/data.html.twig'' %}'
|
||||
-
|
||||
addComment: null
|
||||
-
|
||||
message: PLUGIN_COMMENTS.THANK_YOU_MESSAGE
|
||||
-
|
||||
reset: true
|
||||
30
user/config/plugins/email.yaml
Normal file
30
user/config/plugins/email.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
enabled: true
|
||||
from: hello@boyatzon.ch
|
||||
from_name: 'Site Boyatzon.ch'
|
||||
to: hello@boyatzon.ch
|
||||
to_name: Boyatzon.ch
|
||||
queue:
|
||||
enabled: false
|
||||
flush_frequency: '* * * * *'
|
||||
flush_msg_limit: 10
|
||||
flush_time_limit: 100
|
||||
mailer:
|
||||
engine: sendmail
|
||||
smtp:
|
||||
server: mail.infomaniak.com
|
||||
port: 465
|
||||
encryption: tls
|
||||
user: hello@boyatzon.ch
|
||||
password: 'DRshqR9_#/361'
|
||||
auth_mode: login
|
||||
sendmail:
|
||||
bin: '/usr/sbin/sendmail -bs'
|
||||
content_type: text/html
|
||||
debug: true
|
||||
charset: null
|
||||
cc: null
|
||||
cc_name: null
|
||||
bcc: null
|
||||
reply_to: null
|
||||
reply_to_name: null
|
||||
body: null
|
||||
7
user/config/plugins/feed.yaml
Normal file
7
user/config/plugins/feed.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
enabled: true
|
||||
limit: 20
|
||||
title: 'Boyatzon | Articles'
|
||||
description: 'Tous les articles publiés sur boyatzon.ch'
|
||||
length: 500
|
||||
enable_json_feed: false
|
||||
show_last_modified: false
|
||||
1
user/config/security.yaml
Normal file
1
user/config/security.yaml
Normal file
@@ -0,0 +1 @@
|
||||
salt: epOUzDRybns0C8
|
||||
47
user/config/site.yaml
Normal file
47
user/config/site.yaml
Normal file
@@ -0,0 +1,47 @@
|
||||
title: Boyatzon
|
||||
default_lang: fr
|
||||
author:
|
||||
name: Boyatzon
|
||||
email: hello@boyatzon.ch
|
||||
image: /user/images/avatar.jpg
|
||||
bio: 'Ingénieur et flemmard'
|
||||
taxonomies:
|
||||
- tag
|
||||
- featured
|
||||
metadata:
|
||||
description: 'Des idées, des concepts, des opinions'
|
||||
summary:
|
||||
enabled: true
|
||||
format: short
|
||||
size: 300
|
||||
delimiter: '==='
|
||||
redirects: null
|
||||
routes: null
|
||||
blog:
|
||||
route: /blog
|
||||
description: 'Des idées, des concepts, des opinions'
|
||||
logo: /user/images/logo.jpg
|
||||
date_long: 'd F Y'
|
||||
date_short: 'd M Y'
|
||||
social:
|
||||
-
|
||||
icon: 'fab fa-mastodon'
|
||||
url: 'https://mamot.fr/@boyatzon'
|
||||
desc: 'Follow me on mastodon'
|
||||
share_url: null
|
||||
share_title: null
|
||||
share_link: null
|
||||
-
|
||||
icon: 'fab fa-github'
|
||||
url: 'https://git.guilo.ch/explore'
|
||||
desc: 'Fork me on github'
|
||||
share_url: null
|
||||
share_title: null
|
||||
share_link: null
|
||||
-
|
||||
icon: 'fas fa-rss'
|
||||
url: /blog.rss
|
||||
desc: 'Suivre mon flux RSS'
|
||||
share_url: null
|
||||
share_title: null
|
||||
share_link: null
|
||||
217
user/config/system.yaml
Normal file
217
user/config/system.yaml
Normal file
@@ -0,0 +1,217 @@
|
||||
absolute_urls: false
|
||||
timezone: Europe/Zurich
|
||||
param_sep: ':'
|
||||
wrapped_site: false
|
||||
reverse_proxy_setup: false
|
||||
force_ssl: false
|
||||
force_lowercase_urls: true
|
||||
custom_base_url: null
|
||||
username_regex: '^[a-z0-9_-]{3,16}$'
|
||||
pwd_regex: '(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}'
|
||||
intl_enabled: true
|
||||
http_x_forwarded:
|
||||
protocol: true
|
||||
host: false
|
||||
port: true
|
||||
ip: true
|
||||
languages:
|
||||
supported:
|
||||
- fr
|
||||
default_lang: null
|
||||
include_default_lang: false
|
||||
include_default_lang_file_extension: true
|
||||
translations: true
|
||||
translations_fallback: true
|
||||
session_store_active: false
|
||||
http_accept_language: false
|
||||
override_locale: false
|
||||
pages_fallback_only: true
|
||||
home:
|
||||
alias: /blog
|
||||
hide_in_urls: false
|
||||
pages:
|
||||
type: regular
|
||||
theme: custom-mediator
|
||||
order:
|
||||
by: default
|
||||
dir: asc
|
||||
list:
|
||||
count: 20
|
||||
dateformat:
|
||||
default: 'd-m-Y H:i'
|
||||
short: 'jS M Y'
|
||||
long: 'F jS \a\t g:ia'
|
||||
publish_dates: true
|
||||
process:
|
||||
markdown: true
|
||||
twig: false
|
||||
twig_first: false
|
||||
never_cache_twig: false
|
||||
events:
|
||||
page: true
|
||||
twig: true
|
||||
markdown:
|
||||
extra: false
|
||||
auto_line_breaks: false
|
||||
auto_url_links: false
|
||||
escape_markup: false
|
||||
special_chars:
|
||||
'>': gt
|
||||
'<': lt
|
||||
valid_link_attributes:
|
||||
- rel
|
||||
- target
|
||||
- id
|
||||
- class
|
||||
- classes
|
||||
types:
|
||||
- html
|
||||
- htm
|
||||
- xml
|
||||
- txt
|
||||
- json
|
||||
- rss
|
||||
- atom
|
||||
append_url_extension: null
|
||||
expires: 604800
|
||||
cache_control: null
|
||||
last_modified: false
|
||||
etag: true
|
||||
vary_accept_encoding: false
|
||||
redirect_default_code: '302'
|
||||
redirect_trailing_slash: 1
|
||||
redirect_default_route: 0
|
||||
ignore_files:
|
||||
- .DS_Store
|
||||
ignore_folders:
|
||||
- .git
|
||||
- .idea
|
||||
ignore_hidden: true
|
||||
hide_empty_folders: false
|
||||
url_taxonomy_filters: true
|
||||
frontmatter:
|
||||
process_twig: false
|
||||
ignore_fields:
|
||||
- form
|
||||
- forms
|
||||
markdown_extra: true
|
||||
cache:
|
||||
enabled: true
|
||||
check:
|
||||
method: file
|
||||
driver: auto
|
||||
prefix: g
|
||||
purge_at: '0 4 * * *'
|
||||
clear_at: '0 3 * * *'
|
||||
clear_job_type: standard
|
||||
clear_images_by_default: true
|
||||
cli_compatibility: false
|
||||
lifetime: 604800
|
||||
gzip: false
|
||||
allow_webserver_gzip: false
|
||||
redis:
|
||||
socket: '0'
|
||||
password: null
|
||||
database: null
|
||||
server: null
|
||||
port: null
|
||||
memcache:
|
||||
server: null
|
||||
port: null
|
||||
memcached:
|
||||
server: null
|
||||
port: null
|
||||
twig:
|
||||
cache: true
|
||||
debug: true
|
||||
auto_reload: true
|
||||
autoescape: false
|
||||
undefined_functions: true
|
||||
undefined_filters: true
|
||||
safe_functions: { }
|
||||
safe_filters: { }
|
||||
umask_fix: false
|
||||
assets:
|
||||
css_pipeline: false
|
||||
css_pipeline_include_externals: true
|
||||
css_pipeline_before_excludes: true
|
||||
css_minify: true
|
||||
css_minify_windows: false
|
||||
css_rewrite: true
|
||||
js_pipeline: false
|
||||
js_pipeline_include_externals: true
|
||||
js_pipeline_before_excludes: true
|
||||
js_minify: true
|
||||
enable_asset_timestamp: false
|
||||
enable_asset_sri: false
|
||||
collections:
|
||||
jquery: 'system://assets/jquery/jquery-2.x.min.js'
|
||||
errors:
|
||||
display: 1
|
||||
log: true
|
||||
log:
|
||||
handler: file
|
||||
syslog:
|
||||
facility: local6
|
||||
debugger:
|
||||
enabled: true
|
||||
provider: clockwork
|
||||
censored: false
|
||||
shutdown:
|
||||
close_connection: true
|
||||
twig: true
|
||||
images:
|
||||
default_image_quality: 85
|
||||
cache_all: false
|
||||
cache_perms: '0755'
|
||||
debug: false
|
||||
auto_fix_orientation: true
|
||||
seofriendly: false
|
||||
cls:
|
||||
auto_sizes: false
|
||||
aspect_ratio: false
|
||||
retina_scale: '1'
|
||||
defaults:
|
||||
loading: auto
|
||||
media:
|
||||
enable_media_timestamp: false
|
||||
unsupported_inline_types: null
|
||||
allowed_fallback_types: null
|
||||
auto_metadata_exif: false
|
||||
upload_limit: 2097152
|
||||
session:
|
||||
enabled: true
|
||||
initialize: true
|
||||
timeout: 1800
|
||||
name: boyatzon
|
||||
uniqueness: path
|
||||
secure: false
|
||||
httponly: true
|
||||
samesite: Lax
|
||||
split: true
|
||||
domain: null
|
||||
path: null
|
||||
gpm:
|
||||
releases: stable
|
||||
proxy_url: null
|
||||
method: auto
|
||||
verify_peer: true
|
||||
official_gpm_only: true
|
||||
accounts:
|
||||
type: regular
|
||||
storage: file
|
||||
flex:
|
||||
cache:
|
||||
index:
|
||||
enabled: true
|
||||
lifetime: 60
|
||||
object:
|
||||
enabled: true
|
||||
lifetime: 600
|
||||
render:
|
||||
enabled: true
|
||||
lifetime: 600
|
||||
strict_mode:
|
||||
yaml_compat: false
|
||||
twig_compat: false
|
||||
blueprint_compat: false
|
||||
8
user/config/versions.yaml
Normal file
8
user/config/versions.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
core:
|
||||
grav:
|
||||
version: 1.7.36
|
||||
schema: 1.7.0_2020-11-20_1
|
||||
history:
|
||||
- { version: 1.7.18, date: '2021-08-06 10:17:55' }
|
||||
- { version: 1.7.20, date: '2021-09-07 14:22:26' }
|
||||
- { version: 1.7.36, date: '2022-09-29 21:19:04' }
|
||||
Reference in New Issue
Block a user