aboutsummaryrefslogtreecommitdiffstats
path: root/english/template/debian/basic.wml
blob: 0358384761fed37662fe78fb2caaa7391123e608 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#use wml::std::tags
#use wml::std::box

#use wml::debian::common_translation
#use wml::debian::common_tags
#use wml::debian::language_names

<ifeq "$(DOCTYPE)" xhtml
   "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">"
   "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">"
/>

# not using [AR: dir="RTL":] because apparently the whole page was flipped
# and this wasn't desirable for them
<html lang="$(CUR_ISO_LANG)"[FA: dir="RTL":][HE: dir="RTL":]>
{:
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=$(CHARSET)" />
  <title>$(BARETITLE:*<gettext domain="templates">Debian</gettext> -- ){: [[s/<\/?q>/"/g]] [[s/<\/?sup>//g]] [[s/<\/?i>//g]] $(title) :}</title>
  <link rel="author" href="mailto:webmaster@debian.org" />
<when "$(SUMMARY)">
  <meta name="Description" content="$(SUMMARY)" />
</when>
  <meta name="Generator" content="WML $(WML_VERSION)" />
  <meta name="Modified"  content="$(WML_GEN_ISOTIME)" />
  <meta name="viewport" content="width=device-width">
  <meta name="mobileoptimized" content="300">
  <meta name="HandheldFriendly" content="true">
{#meta#}
{#rss#}
{#style#}
<when <not "$(MAINPAGE)">>
{#style#:<link href="$(CSS:-$(HOME))/debian.css" rel="stylesheet" type="text/css" />
  <link href="$(CSS:-$(HOME))/debian-$(CUR_ISO_LANG).css" rel="stylesheet" type="text/css" media="all"/>
:#style#}
</when>
<when "$(MAINPAGE)">
  <link rel="shortcut icon" href="favicon.ico" />
  <meta name="Keywords"  content="<keywords/>" />
{#style#:<link href="$(CSS:-$(HOME))/debhome.css" rel="stylesheet" type="text/css" />
  <link href="$(CSS:-$(HOME))/debian-$(CUR_ISO_LANG).css" rel="stylesheet" type="text/css" media="all"/>
  <link href="$(CSS:-$(HOME))/langSelector.css" rel="stylesheet" type="text/css" media="all"/>
:#style#}
</when>
<perl>
	my $ext = lc('$(CUR_ISO_LANG)');  $ext =~ s/-/_/;
	print           '<link rel="search" type="application/opensearchdescription+xml" title="<gettext domain="templates">Debian website search</gettext>" href="$(HOME)/search.'.$ext.'[CN:-cn:][TW:-tw:][HK:-hk:].xml" />';
</perl>
</head>
<body>

$(NONAVBAR:+# )#use wml::debian::navbar
{#alternate_navbar#}
<div id="content">
{#body#}
<div class="clr"></div>
</div> <!-- end content -->
<div id="footer">
{#pre_footer#}
#use wml::debian::footer NOCOMMENTS="$(NOCOMMENTS)" NOCOPYRIGHT="$(NOCOPYRIGHT)"
{#post_footer#}
</div> <!-- end footer -->
</body>
:}
</html>

{#body#:

© 2014-2024 Faster IT GmbH | imprint | privacy policy