blob: 8c26b9d4d0ae265064b091e7090ee377c3e09b67 (
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
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?py if 'matome' in _context: ?>
<title>#{matome} - #{board_long}</title>
<?py elif board: ?>
<title>#{board_long}</title>
<?py else: ?>
<title>#{title}</title>
<?py #endif ?>
<meta http-equiv="Content-Type" content="application/xhtml+xml;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<?py if replythread and 'threads' in _context and 'preview' in _context: ?>
<meta property="og:site_name" content="Bienvenido a Internet IB" />
<meta property="twitter:site" content="Bienvenido a Internet IB" />
<meta name="description" content="${preview}" />
<meta property="og:title" content="${threads[0]['posts'][0]['subject']} - ${board_name}" />
<meta property="og:description" content="${preview}" />
<?py if threads[0]['posts'][0]['thumb']: ?>
<meta property="twitter:image" content="https://bienvenidoainternet.org/#{board}/thumb/#{threads[0]['posts'][0]['thumb']}" />
<meta property="og:image" content="https://bienvenidoainternet.org/#{board}/thumb/#{threads[0]['posts'][0]['thumb']}" />
<?py #endif ?>
<meta property="twitter:title" content="${threads[0]['posts'][0]['subject']} - ${board_name}" />
<meta name="twitter:description" content="${preview}" />
<?py #endif ?>
<meta name="robots" content="#{"noindex" if noindex else "index, follow"}" />
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="stylesheet" href="#{static_url}css/ib.css" />
<?py if not force_css: ?>
<link rel="stylesheet" id="css" href="#{static_url}css/#{styles[styles_default].lower()}.css" />
<?py else: ?>
<link rel="stylesheet" type="text/css" href="#{force_css}" />
<?py #endif ?>
<?py if board == "2d": ?>
<link rel="stylesheet" href="#{static_url}css/txt/sjis.css" />
<?py #endif ?>
<script type="text/javascript" src="#{static_url}js/weabot.js"></script>
<script type="text/javascript" src="#{static_url}js/aquiencitas.js"></script>
<script type="text/javascript" src="#{static_url}js/autorefresh.js"></script>
</head>
<body#{' class="res"' if replythread else ''} data-brd="#{board}">
<div id="main_nav"><span>[<a href="/" target="_top">Bienvenido a Internet</a>] [<?py include('templates/navbar.html') ?>]</span>
<?py if not force_css: ?>
<span>[Estilo: <select id="styles">
<?py for title in styles: ?><option value="#{title}">#{title}</option><?py #endfor ?>
</select></span>
<?py #endif ?></div>
<div class="logo">
<?py if board: ?>
#{board_long}
<?py else: ?>
<img src="/static/img/default.png" width="500" height="81" />
<?py #endif ?>
</div>
<hr width="90%" size="1" />
|