diff options
Diffstat (limited to 'cgi/templates/txt_base_top.html')
-rw-r--r-- | cgi/templates/txt_base_top.html | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/cgi/templates/txt_base_top.html b/cgi/templates/txt_base_top.html new file mode 100644 index 0000000..eb3c37b --- /dev/null +++ b/cgi/templates/txt_base_top.html @@ -0,0 +1,44 @@ +<!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 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 http-equiv="Content-Type" content="application/xhtml+xml;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, follow"}" /> + <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 ?> +<?py if board in ['zonavip', 'world']: ?> + <link rel="stylesheet" href="/static/css/txt/sjis.css" /> +<?py #endif ?> +<?py if board == 'polka': ?> + <script type="text/javascript" src="#{static_url}js/weabotxt.test.js"></script> +<?py else: ?> + <script type="text/javascript" src="#{static_url}js/weabotxt.js"></script> +<?py #endif ?> + <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 and board != 'polka': ?> + <script type="text/javascript" src="#{static_url}js/autorefresh.js"></script> +<?py #endif ?> +</head> |