]> git.deb.at Git - deb/packages.git/blob - templates/config.tmpl
templates: define packages_homepage and packages_homepage_abs
[deb/packages.git] / templates / config.tmpl
1 [%- DEFAULT
2    charset = 'UTF-8'
3    po_lang = 'en'
4    ddtp_lang = 'en'
5
6    organisation = 'Debian'
7    project_homepage = 'http://www.debian.org/'
8    packages_homepage = '/'
9    packages_homepage_abs = 'http://packages.debian.net/'
10    searchformurl = packages_homepage
11    search_url = '/search'
12    tags_url = 'http://debtags.alioth.debian.org/'
13    bugs_url = 'http://bugs.debian.org/'
14    pts_url = 'http://packages.qa.debian.org/'
15    ddpo_url = 'http://qa.debian.org/developer.php?login='
16    src_bugs_url = bugs_url _ 'src:'
17    mirror_url = 'http://ftp.debian.org/'
18    security_mirror = 'security.debian.org'
19    security_mirror_url = security_mirror _ '/debian-security'
20    security_suite_suffix = '/updates'
21    changelogs_url = 'http://packages.debian.org/changelogs/'
22    policy_url = 'http://www.debian.org/doc/debian-policy/'
23    cn_help_url = project_homepage _ 'intro/cn'
24    patch_tracking_url = 'http://patch-tracking.debian.net/package'
25    logo = {
26         url => project_homepage,
27         src => '/Pics/openlogo-nd-25.png',
28         alt => organisation,
29    }
30    copyright = {
31         url => 'http://www.spi-inc.org/',
32         name => 'SPI Inc.',
33         years => '1997 - ' _ timestamp.year,
34    }
35    license = {
36         url => project_homepage _ 'license'
37    }
38    trademark = {
39         name => copyright.name,
40         url => project_homepage _ 'trademark'
41    }
42    contact = {
43         name => g('Debian Web Mailinglist'),
44         mail => 'debian-www@lists.debian.org',
45         url => project_homepage _ 'contact',
46    }
47    admin = {
48         name => g('%s Webmaster', organisation),
49         mail => 'webmaster@debian.org',
50    }
51    trademarknotes = g('%s is a <a href="%s">trademark</a> of %s', organisation, trademark.url, trademark.name)
52    sponsors = [
53    {
54         url => 'http://example.invalid/',
55         name => 'Example Sponsor, Inc.',
56    },
57    {
58         url => 'http://example2.invalid/',
59         name => 'Example2 Sponsor, Inc.',
60    },
61    ]
62 -%]
63 [%-
64    # possible values for importance: high, normal, low
65    sitewidemsg = { importance => "high",
66                    txt => g('Please note that this is an experimental version of <a href="http://%s/">%s</a>. Errors and obsolete information should be expected', 'packages.debian.org', 'packages.debian.org') }
67 -%]
68 [%# @translators: . = decimal_point , = thousands_sep, see Number::Format %]
69 [%- USE num = Number.Format( decimal_point => g('.'),
70                              thousands_sep => g(','),
71                              decimal_fill  => 1 ) -%]