/
githubmirror
/
tabler
Обзор
Документация
Войти
/
githubmirror
/
tabler
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v1.2.0
shared/layouts/base.html
57 строк
2 KB
BG-Software
Add text features menu item (#2256)
16 апр 2025, 01:00
Не верифицирован
16 апр 2025, 01:00
9910dd0
Код
Авторство
О чём код?
{% assign layout-dark = page.layout-dark | default: site.layout-dark -%} <!doctype html> {% include "layout/banner.html" %} {% assign title = title | default: layout.title %} <html lang="en"{% if layout-rtl %} dir="rtl" {% endif %}{% if layout.html-class or page.html-class %} class="{{ page.html-class | default: layout.html-class }}"{% endif %}> <head> <meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"/> <meta http-equiv="X-UA-Compatible" content="ie=edge"/> <title>{% if title %}{{ title }} - {% endif %}{% if site.title %}{{ site.title }} - {% endif %}{{ site.description }}</title> {% if environment == 'preview' %} {% include "layout/analytics.html" %} <meta name="msapplication-TileColor" content="{{ site.themeColor }}"/> <meta name="theme-color" content="{{ site.themeColor }}"/> <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/> <meta name="apple-mobile-web-app-capable" content="yes"/> <meta name="mobile-web-app-capable" content="yes"/> <meta name="HandheldFriendly" content="True"/> <meta name="MobileOptimized" content="320"/> <link rel="icon" href="{{ page | relative }}/favicon.ico" type="image/x-icon"/> <link rel="shortcut icon" href="{{ page | relative }}/favicon.ico" type="image/x-icon"/> <meta name="description" content="{{ page.description | default: 'Tabler comes with tons of well-designed components and features. Start your adventure with Tabler and make your dashboard great again. For free!' | escape }}"/> {% include "layout/og.html" %} {% endif %} {% include "layout/css.html" %} {% include "layout/js-libs.html" libs=libs.js-head %} <!-- BEGIN CUSTOM FONT --> <style> @import url('https://rsms.me/inter/inter.css'); </style> <!-- END CUSTOM FONT --> </head> {% assign layout-dark = layout-dark | default: site.layoutDark %} <body{% if layout.body-class or body-class %} class="{% if layout.body-class %} {{ layout.body-class }}{% endif %}{% if body-class %} {{ body-class }}{% endif %}"{% endif %}> <!-- BEGIN GLOBAL THEME SCRIPT --> <script src="{{ page | relative }}/dist/js/tabler-theme{% if environment != 'development' %}.min{% endif %}.js{% if environment != 'development' %}?{{ 'now' | date: '%s' }}{% endif %}"{% if environment != 'development' %} integrity="{{ sri.js-theme }}"{% endif %}></script> <!-- END GLOBAL THEME SCRIPT --> {{ content }} {% modals %} {% include "settings.html" %} {% include "layout/js.html" %} </body> </html>