blob: e40a180727393e247113b9c9e8103fd26aa6662d [file] [log] [blame]
Marc Kupietz90d678f2025-04-25 12:20:51 +02001{
2 Kalamar => {
3 ## Backend server path
4 # api_path => 'https://korap.example.org/api/',
5 # plugins => ["Auth"],
6 ## Backend API version
7 # api_version => '1.0',
8
9 ## If the application is run behind a proxy, ignore the forwarded host
10 # proxy_host => 0,
11
12 ## Run the application in a subfolder behind a proxy:
13 # proxy_prefix => '/korap',
14
15 ## The name of the base corpus,
16 ## for query examples (see kalamar.queries.dict)
17 examplecorpus => 'DeLiKo@DNB',
18
19 ## For further Plugins, add them
20 ## to this array:
21 # plugins => [],
22 ## Currently bundled: Piwik, Auth
23
24 ## Require everything to be send via https only:
25 # https_only => 1,
26
27 ## Override default content security policy
28 # cs_policy => "default-src '*';"
29
30 ## Set proxy timeouts
31 # proxy_inactivity_timeout => 120,
32 # proxy_connect_timeout => 120,
33 },
34 Localize => {
35 dict => {
36 'en_title_addon' => 'DeLiKo@DNB-XL',
37 'de_Template_intro' => 'custom/intro',
38 'en_Template_intro' => 'custom/intro',
39 'en_howToCite' => 'Citation Help',
40 'de_howToCite' => 'Zitierhilfe',
41 'en_recentCorpusPub' => 'Recent publications to refer to DeLiKo@DNB as research data',
42 'de_recentCorpusPub' => 'Neuere Publikationen zu DeLiKo@DNB als Forschungsdatengrundlage',
43 'en_recentToolPub' => 'Recent publications to refer to KorAP as a research tool',
44 'de_recentToolPub' => 'Neuere Publikationen zu KorAP als Forschungswerkzeug',
45 },
46 override => 1
47 },
48 'TagHelpers-ContentBlock' => {
49 footer => [
50 {
51 inline => '<%= link_to loc("about") => "http://www.ids-mannheim.de/kl/projekte/korap/" %>',
52 position => 70
53 },
54 {
55 inline => '<%= link_to loc("howToCite") => url_for(doc => { page => "faq" })->fragment("howToCite") %>',
56 position => 75
57 },
58 {
59 inline => '<%= link_to loc("imprint") => "https://www.dnb.de/DE/Service/Impressum/impressum_node.html" %>',
60 position => 80
61 }],
62 faq => [
63 {
64 position => 50,
65 inline => <<'HOWTOCITE'
66<section>
67 <h3 id="howToCite"><%= loc 'howToCite' %></h3>
68%= include 'custom/partial/citation'
69</section>
70HOWTOCITE
71 }
72 ]
73 }
74}