1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-23 06:32:24 +01:00
pywb/pywb/default_config.yaml
Ilya Kreymer d98c1f6cf7 memento/api: add a new /collinfo.json end-point, enabled with 'enable_coll_info' config setting, which returns
the value fo collinfo.json template. Default template returns an entry for each handler route,
including the route path (id), title (name) and memento timegate and timemap paths, to be used with
an aggregator. Using a custom 'info_json' template can specify a different collinfo template, alternative to #69 (local aggregation)
Closes #146
2015-11-04 15:36:44 -08:00

69 lines
1.3 KiB
YAML

collections_root: collections
paths:
archive_paths: archive
index_paths: indexes
static_path: static
templates_dir: templates
template_files:
banner_html: banner.html
head_insert_html: head_insert.html
frame_insert_html: frame_insert.html
query_html: query.html
search_html: search.html
not_found_html: not_found.html
shared_template_files:
home_html: index.html
error_html: error.html
proxy_cert_download_html: proxy_cert_download.html
proxy_select_html: proxy_select.html
info_json: collinfo.json
templates_dirs:
- templates
- '.'
- '/'
template_packages:
- pywb
head_insert_html: head_insert.html
frame_insert_html: frame_insert.html
banner_html: banner.html
#archive_paths: ./
home_html: index.html
query_html: query.html
search_html: search.html
error_html: error.html
not_found_html: not_found.html
proxy_cert_download_html: proxy_cert_download.html
proxy_select_html: proxy_select.html
info_json: collinfo.json
static_default_prefix: &static_default_prefix static/__pywb
static_shared_prefix: static/__shared
template_globals:
static_path: *static_default_prefix
static_routes:
*static_default_prefix: pywb/static/
enable_memento: true
domain_specific_rules: pywb/rules.yaml
framed_replay: inverse