You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# The default template and amount of records to use for listing-pages on the
68
84
# site.
69
85
#
@@ -80,27 +96,22 @@ record_template: record.twig
80
96
#
81
97
# Can be overridden for each content type.
82
98
#
83
-
# Note 1: Sorting on TAXONOMY-pages will give unexpected results, if it has a
84
-
# pager.
85
-
# If you need sorting on those, make sure you display all the records on one
86
-
# page.
87
-
#
88
-
# Note 2: If you've changed the filename, and your changes do not show up on the
99
+
# Note: If you've changed the filename, and your changes do not show up on the
89
100
# website, be sure to check for a config.yaml file in your themes
90
101
# folder. If a template is set there, it will override the setting here.
91
102
listing_template: listing.twig
92
103
listing_records: 6
93
104
listing_sort: datepublish DESC
94
105
106
+
# Allow filtering on listing pages using query parameters, much like you would
107
+
# with {% setcontent %}. E.g. /pages?order=id and /pages?title--like=voluptat
108
+
# Useful for search.
109
+
query_search: true
110
+
95
111
# Maximum amount of items to show in a `<select>` for picking a record. For
96
112
# example in `type: select`.
97
113
maximum_listing_select: 1000
98
114
99
-
# Because of limitations on how the underlying database queries work, there are
100
-
# only two options for sorting on taxonomies. ASC for roughly "oldest first"
101
-
# and DESC for roughly newest first.
102
-
taxonomy_sort: DESC
103
-
104
115
# Template for showing the search results. If not defined, uses the settings for
105
116
# listing_template and listing_records.
106
117
#
@@ -114,6 +125,36 @@ search_results_records: 10
114
125
# for each content type.
115
126
records_per_page: 8
116
127
128
+
# Default settings for thumbnails.
129
+
#
130
+
# quality: Quality should be between 0 (horrible, small file) and 100 (best, huge file).
131
+
# fit: One of either none, crop (= crop-center), crop-top-left, crop-top, crop-top-right, crop-left, crop-right, crop-bottom-left, crop-bottom or crop-bottom-right.
132
+
# allow_upscale: Determines whether small images will be enlarged to fit
133
+
# the requested dimensions.
134
+
# save_files: Save files in the thumbs/ folder, so subsequent requests will serve file directly. Great for performance
135
+
#
136
+
# Note: If you change these values, you might need to clear the cache before
137
+
# they show up.
138
+
thumbnails:
139
+
default_thumbnail: [ 320, 240 ]
140
+
default_image: [ 1000, 750 ]
141
+
quality: 80
142
+
cropping: crop
143
+
save_files: true
144
+
allow_upscale: false
145
+
146
+
# File permissions for read/write/execute to set on folders and files that are
147
+
# created. The exact permissions you should be setting depends on the system
148
+
# user that PHP (and/or your webserver) is running as, and the user who owns the
149
+
# actual folders/files.
150
+
#
151
+
# - If they are the same user, use `0o755` for folders and `0o644` for files.
152
+
# - If they're in the same group, use use `0o775` for folders and `0o664` for files.
153
+
# - If you don't know, or you can't make it work otherwise, then use `0o777` for folders and `0o666` for files.
154
+
filepermissions:
155
+
folders: 0o775
156
+
files: 0o664
157
+
117
158
# Define the HTML tags and attributes that are allowed in cleaned HTML. This
118
159
# is used for sanitizing HTML, to make sure there are no undesirable elements
119
160
# left in the content that is shown to users. For example, tags like `<script>`
0 commit comments