aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates/txt_base_top.html
blob: 41ce9203ac66f77928146861203b30e19bc52393 (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
<!DOCTYPE html>
<html lang="es">
<head>
<?py if replythread and threads: ?>
  <title>#{threads[0]['subject']} - #{board_name}@Bienvenido a Internet BBS</title>
<?py elif board: ?>
  <title>#{board_long}</title>
<?py else: ?>
  <title>#{title}</title>
<?py #endif ?>
  <meta charset="utf-8">
<?py if replythread and threads: ?>
  <meta property="og:site_name" content="Bienvenido a Internet BBS" />
  <meta property="twitter:site" content="Bienvenido a Internet BBS" />
  <meta name="description" content="${preview}" />
  <meta property="og:title" content="${threads[0]['subject']} - ${board_name}" />
  <meta property="og:description" content="${preview}" />
  <meta property="twitter:title" content="${threads[0]['subject']} - ${board_name}" />
  <meta name="twitter:description" content="${preview}" />
<?py #endif ?>
  <meta name="robots" content="#{"noindex" if noindex else "index, nofollow"}" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <link rel="shortcut icon" href="/favicon.ico" />
  <link rel="stylesheet" href="/static/css/txt/bbs.css" />
<?py if not force_css: ?>
  <link rel="stylesheet" id="css" href="#{static_url}css/txt/#{txt_styles[txt_styles_default].lower()}.css" />
<?py else: ?>
  <link rel="stylesheet" type="text/css" href="#{force_css}" />
<?py #endif ?>
  <script type="text/javascript" src="#{static_url}js/weabotxt.js"></script>
  <script type="text/javascript" src="#{static_url}js/aquiencitas.js"></script>
  <script type="text/javascript" src="#{static_url}js/shobon.js"></script>
<?py if replythread: ?>
  <script type="text/javascript" src="#{static_url}js/autorefresh.js"></script>
<?py #endif ?>
</head>