4in1_ws_web/skin/header.twig
2025-04-13 21:55:50 +03:00

42 lines
2.1 KiB
Twig

<!doctype html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="icon" href="/favicon.png?v=2" type="image/png">
<link rel="icon" href="/favicon.ico?v=2" type="image/x-icon">
<link rel="alternate" type="application/rss+xml" href="/feed.rss">
<title>{{ title }}</title>
<script type="text/javascript">window.appConfig = {{ app_config|json_encode|raw }};</script>
{{ meta_html|raw }}
{{ static_html|raw }}
</head>
<body{% if body_class %} class="{{ body_class|join(' ') }}"{% endif %}>
{{ svg_html|raw }}
<div class="page-content base-width">
<div class="head{% if not render_options.is_index %} no-subtitle{% endif %}">
<div class="head-inner">
<div class="head-logo-wrap">
<div class="head-logo">
<a href="/">
<div class="head-logo-title">4in1 <span class="head-logo-title-author">by idb & friends</span></div>
{% if render_options.is_index %}
<div class="head-logo-subtitle">Mask of Shakespeare and Mysteries of Bacon, <br>Book by Cartier and Secrets of the NSA</div>
{% endif %}
</a>
</div>
</div>
<div class="head-items">
<a class="head-item {% if render_options.head_sections == 'articles' %} is-selected{% endif %}" href="/articles/{% if render_options.articles_lang and render_options.articles_lang != 'en' %}?lang={{ render_options.articles_lang }}{% endif %}">articles</a>
<a class="head-item {% if render_options.head_sections == 'files' %} is-selected{% endif %}" href="/files/">files</a>
<a class="head-item {% if render_options.head_sections == 'wiki' %} is-selected{% endif %}" href="/wiki/">wiki</a>
<a class="head-item {% if render_options.head_sections == 'about' %} is-selected{% endif %}" href="/info/">about</a>
{% if is_admin %}
<a class="head-item is-ic" href="https://ic.4in1.ws">invisible college {{ svgInPlace('college_20') }}</a>
{% endif %}
</div>
</div>
</div>
<div class="page-content-inner">