Commits

Alexandre Vryghem authored 7bf7ee0ba76
110889: Added config to disable community/collection sidebar
No tags

config/config.example.yml

Modified
68 68 # behind the scenes to update the cache. This ensures users primarily interact with the cache, but may receive stale pages (older than timeToLive).
69 69 # When set to false, after timeToLive expires, the next request will wait on SSR to complete & receive a fresh page (which is then saved to cache).
70 70 # This ensures stale pages (older than timeToLive) are never returned from the cache, but some users will wait on SSR.
71 71 allowStale: true
72 72 # When enabled (i.e. max > 0), all anonymous users will be sent pages from a server side cache.
73 73 # This allows anonymous users to interact more quickly with the site, but also means they may see slightly
74 74 # outdated content (based on timeToLive)
75 75 anonymousCache:
76 76 # Maximum number of pages to cache. Default is zero (0) which means anonymous user cache is disabled.
77 77 # As all pages are cached in server memory, increasing this value will increase memory needs.
78 - # Individual cached pages are usually small (<100KB), so a value of max=1000 would only require ~100MB of memory.
78 + # Individual cached pages are usually small (<100KB), so a value of max=1000 would only require ~100MB of memory.
79 79 max: 0
80 80 # Amount of time after which cached pages are considered stale (in ms). After becoming stale, the cached
81 81 # copy is automatically refreshed on the next request.
82 82 # NOTE: For the anonymous cache, it is recommended to keep this value low to avoid anonymous users seeing outdated content.
83 83 timeToLive: 10000 # 10 seconds
84 84 # When set to true, after timeToLive expires, the next request will receive the *cached* page & then re-render the page
85 85 # behind the scenes to update the cache. This ensures users primarily interact with the cache, but may receive stale pages (older than timeToLive).
86 86 # When set to false, after timeToLive expires, the next request will wait on SSR to complete & receive a fresh page (which is then saved to cache).
87 87 # This ensures stale pages (older than timeToLive) are never returned from the cache, but some users will wait on SSR.
88 88 allowStale: true
272 272 edit:
273 273 undoTimeout: 10000 # 10 seconds
274 274 # Show the item access status label in items lists
275 275 showAccessStatuses: false
276 276 bitstream:
277 277 # Number of entries in the bitstream list in the item view page.
278 278 # Rounded to the nearest size in the list of selectable sizes on the
279 279 # settings menu. See pageSizeOptions in 'pagination-component-options.model.ts'.
280 280 pageSize: 5
281 281
282 +# Community Page Config
283 +community:
284 + # Search tab config
285 + searchSection:
286 + showSidebar: true
287 +
282 288 # Collection Page Config
283 289 collection:
290 + # Search tab config
291 + searchSection:
292 + showSidebar: true
284 293 edit:
285 294 undoTimeout: 10000 # 10 seconds
286 295
287 296 # Theme Config
288 297 themes:
289 298 # Add additional themes here. In the case where multiple themes match a route, the first one
290 299 # in this list will get priority. It is advisable to always have a theme that matches
291 300 # every route as the last one
292 301 #
293 302 # # A theme with a handle property will match the community, collection or item with the given
369 378 mathjax: false
370 379
371 380 # Which vocabularies should be used for which search filters
372 381 # and whether to show the filter in the search sidebar
373 382 # Take a look at the filter-vocabulary-config.ts file for documentation on how the options are obtained
374 383 vocabularies:
375 384 - filter: 'subject'
376 385 vocabulary: 'srsc'
377 386 enabled: true
378 387
379 -# Default collection/community sorting order at Advanced search, Create/update community and collection when there are not a query.
388 +# Default collection/community sorting order at Advanced search, Create/update community and collection when there are not a query.
380 389 comcolSelectionSort:
381 390 sortField: 'dc.title'
382 - sortDirection: 'ASC'
391 + sortDirection: 'ASC'

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut