# Database setup. The driver can be either 'sqlite', 'mysql' or 'postgres'.
#
# For SQLite, only the databasename is required. However, MySQL and PostgreSQL
# also require 'username', 'password', and optionally 'host' ( and 'port' ) if the database
# server is not on the same host as the web server.
#
# If you're trying out Bolt, just keep it set to SQLite for now.
database:
driver: mysql
username: user
password: root
databasename: cncondenast2018
host: localhost
port: 3306
charset: utf8mb4
collate: utf8mb4_unicode_ci
# The name of the website
sitename: Condé Nast Germany
payoff: Als exklusivstes Medienunternehmen der Welt zählt Condé Nast weltweit bekannte Marken wie VOGUE, GLAMOUR, GQ und AD Architectural Digest zum Portfolio.
# The theme to use. Be sure to copy the {theme_path}/base-2014 folder, and
# change the name here accordingly.
#
# Don't edit the templates in theme/base-2014, because they _will_ get updated
# in next releases
theme: condenast2018
# The locale that'll be used by the application. If no locale is set the
# fallback locale is 'en_GB'. For available options, see:
# http://docs.bolt.cm/locales
#
# In some cases it may be needed to specify (non-standard) variations of the
# locale to get everything to work as desired.
#
# This can be done as [nl_NL, Dutch_Netherlands] when specifying multiple
# locales, ensure the first is a standard locale.
locale: de_DE
#timezone: UTC
# Set maintenance mode on or off.
#
# While in maintenance mode, only users of level editor or higher can access the
# site.
#
# All other visitors are presented with a notice that the site is currently
# offline.
#
# The default template file can be found in /app/theme_defaults/ and overridden
# with this option using your own theme.
#
# Note: If you've changed the filename, and your changes do not show up on the
# website, be sure to check for a config.ymlfile in your theme's folder.
# If a template is set there, it will override the setting here.
maintenance_mode: false
maintenance_template: maintenance_default.twig
# The hour of the day for the internal cron task scheduler to run daily, weekly,
# monthly and yearly jobs.
#
# Default: 3 (3 am)
cron_hour: 3
# If your site is reachable under different urls (say, both blog.example.org/
# as well as example.org/), it's a good idea to set one of these as the
# canonical, so it's clear which is the primary address of the site.
#
# If you include `https://`, it will be included in the canonical urls.
#canonical: example.org
# Bolt can insert a for all pages on the site.
# Note: The location given is relative to the currently selected theme. If
# you want to set the icon yourself, just don't enable the following line.
#favicon: images/favicon-bolt.ico
# The default content to use for the homepage, and the template to render it
# with.
#
# Note: If you've changed the filename, and your changes do not show up on
# the website, be sure to check for a config.yml file in your theme's
# folder. If a template is set there, it will override the setting here.
homepage: portals/wilkommen-bei-conde-nast
#homepage_template: portal.twig
# The default content for the 404 page. Uses the 'record_template' template by
# default.
#
# Make sure this is set to an existing record, otherwise visitors will get an
# error-page when the request a non-existing page.
#
# Note 1: The record specified in this parameter must be set to 'published'
# Note 2: If you are logged on, and debug is set to 'true', you will NOT see the
# 404 page!
# Note 3: This may also point to a template without a record, eg error404.twig
notfound: portal/not-found
# The default template and amount of records to use for listing-pages on the
# site.
#
# Can be overridden for each contenttype and for each record, if it has a
# 'templateselect' field.
#
# Note: If you've changed the filename, and your changes do not show up on the
# website, be sure to check for a config.yml file in your theme's folder.
# If a template is set there, it will override the setting here.
record_template: record.twig
# The default template and amount of records to use for listing-pages on the
# site.
#
# Can be overridden for each contenttype.
#
# Note 1: Sorting on TAXONOMY-pages will give unexpected results, if it has a
# pager.
# If you need sorting on those, make sure you display all the records on one
# page.
#
# Note 2: If you've changed the filename, and your changes do not show up on the
# website, be sure to check for a config.yml file in your theme's
# folder. If a template is set there, it will override the setting here.
listing_template: listing.twig
listing_records: 6
listing_sort: datepublish DESC
# Because of limitations on how the underlying database queries work, there are
# only two options for sorting on taxonomies. 'ASC' for roughly "oldest first"
# and 'DESC' for roughly 'newest first'.
taxonomy_sort: DESC
# Template for showing the search results. If not defined, uses the settings for
# listing_template and listing_records.
#
# Note: If you've changed the filename, and your changes do not show up on the
# website, be sure to check for a config.yml file in your theme's folder.
# If a template is set there, it will override the setting here.
search_results_template: listing.twig
search_results_records: 10
# Add jQuery to the rendered HTML, whether or not it's added by an extension.
add_jquery: false
# The default amount of records to show on overview pages. Can be overridden
# for each contenttype.
recordsperpage: 10
# Settings for caching in parts of Bolt.
# - config: Caches the parsed .yml files from /app/config. It's updated
# immediately when one of the files changes on disk. There
# should be no good reason to turn this off.
# - templates: Caches rendered templates.
# - request: Caches entire rendered pages like '/page/about', but only on
# GET requests.
# - duration: The duration (in minutes) for the 'templates' and 'request'
# options. default is 10 minutes. Note that the duration is set
# on storing the cache. By lowering this value you will not
# invalidate currently cached items.
# - authenticated: Cache 'templates' and 'request' for logged-on users. In most
# cases you should *NOT* enable this, because it will cause
# side-effects if the website shows different content to
# authenticated users.
caching:
config: true
templates: false
request: false
duration: 10
authenticated: false
# Set 'enabled' to 'true' to log all content changes in the database.
#
# Unless you need to rigorously monitor every change to your site's content, it
# is recommended to keep this disabled.
changelog:
enabled: false
# Default settings for thumbnails.
#
# Quality should be between 0 (horrible, small file) and 100 (best, huge file).
#
# cropping: One of either crop, fit, borders, resize.
# default_thumbnail: The default size of images, when using
# {{ record.image|thumbnail() }}
# default_image: The default size of images, when using
# {{ record.image|image() }}
# allow_upscale: Determines whether small images will be enlarged to fit
# the requested dimensions.
# browser_cache_time: Sets the amount of seconds that the browser will cache
# images for. Set it to activate browser caching.
#
# Note: If you change these values, you might need to clear the cache before
# they show up.
thumbnails:
default_thumbnail: [ 160, 120 ]
default_image: [ 1000, 750 ]
quality: 80
cropping: crop
notfound_image: view/img/default_notfound.png
error_image: view/img/default_error.png
save_files: true
allow_upscale: false
exif_orientation: true
# browser_cache_time: 2592000
# Define the HTML tags and attributes that are allowed in 'cleaned' HTML. This
# is used for sanitizing HTML, to make sure there are no undesirable elements
# left in the content that is shown to users. For example, tags like `