aboutsummaryrefslogblamecommitdiff
path: root/cgi/templates/base_top.html
blob: d6a30e8aaf15e32ba322b7a49e2b33d99fa227b8 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                







                                          
                        





















                                                                                                                               
                                                                          
                                                                               
                                                                               
       
                                                                  
                                                                                                                                        






                                                                 
                            
<!DOCTYPE html>
<html lang="es">
<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 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 ?>
  <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></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" />