mirror of
https://github.com/fmtlib/fmt.git
synced 2024-09-15 15:13:22 +00:00
Cleanup html
This commit is contained in:
parent
89c0d10105
commit
f4e1ec81e2
37
doc/_templates/layout.html
vendored
37
doc/_templates/layout.html
vendored
@ -1,21 +1,20 @@
|
|||||||
{% extends "!layout.html" %}
|
{% extends "!layout.html" %}
|
||||||
|
|
||||||
{% block extrahead %}
|
{%- block extrahead %}
|
||||||
<meta name="description" content="A modern formatting library">
|
<meta name="description" content="A modern formatting library">
|
||||||
<meta name="keywords" content="C++, formatting, printf, string, library">
|
<meta name="keywords" content="C++, formatting, printf, string, library">
|
||||||
<meta name="author" content="Victor Zverovich">
|
<meta name="author" content="Victor Zverovich">
|
||||||
<link rel="stylesheet" href="_static/bootstrap.min.css">
|
<link rel="stylesheet" href="_static/bootstrap.min.css">
|
||||||
<link rel="stylesheet" href="_static/fmt.css">
|
<link rel="stylesheet" href="_static/fmt.css">
|
||||||
{# Google Analytics #}
|
{# Google Analytics #}
|
||||||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-20116650-4"></script>
|
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-20116650-4"></script>
|
||||||
<script>
|
<script>
|
||||||
window.dataLayer = window.dataLayer || [];
|
window.dataLayer = window.dataLayer || [];
|
||||||
function gtag(){dataLayer.push(arguments);}
|
function gtag() { dataLayer.push(arguments); }
|
||||||
gtag('js', new Date());
|
gtag('js', new Date());
|
||||||
|
gtag('config', 'UA-20116650-4');
|
||||||
gtag('config', 'UA-20116650-4');
|
</script>
|
||||||
</script>
|
{%- endblock %}
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{%- macro searchform(classes, button) %}
|
{%- macro searchform(classes, button) %}
|
||||||
<form class="{{classes}}" role="search" action="{{ pathto('search') }}"
|
<form class="{{classes}}" role="search" action="{{ pathto('search') }}"
|
||||||
@ -143,6 +142,6 @@
|
|||||||
{% block footer %}
|
{% block footer %}
|
||||||
{{ super() }}
|
{{ super() }}
|
||||||
{# Placed at the end of the document so the pages load faster. #}
|
{# Placed at the end of the document so the pages load faster. #}
|
||||||
<script src="_static/popper.min.js"></script>
|
<script src="_static/popper.min.js"></script>
|
||||||
<script src="_static/bootstrap.min.js"></script>
|
<script src="_static/bootstrap.min.js"></script>
|
||||||
{% endblock %}
|
{%- endblock %}
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
:license: BSD, see LICENSE for details.
|
:license: BSD, see LICENSE for details.
|
||||||
#}
|
#}
|
||||||
{%- block doctype -%}
|
{%- block doctype -%}
|
||||||
<!DOCTYPE html>
|
<!doctype html>
|
||||||
{%- endblock %}
|
{%- endblock %}
|
||||||
{%- set reldelim1 = reldelim1 is not defined and ' »' or reldelim1 %}
|
{%- set reldelim1 = reldelim1 is not defined and ' »' or reldelim1 %}
|
||||||
{%- set reldelim2 = reldelim2 is not defined and ' |' or reldelim2 %}
|
{%- set reldelim2 = reldelim2 is not defined and ' |' or reldelim2 %}
|
||||||
@ -99,27 +99,21 @@
|
|||||||
{%- for scriptfile in script_files %}
|
{%- for scriptfile in script_files %}
|
||||||
{{ js_tag(scriptfile) }}
|
{{ js_tag(scriptfile) }}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{%- endmacro %}
|
{%- endmacro -%}
|
||||||
|
|
||||||
{%- macro css() %}
|
|
||||||
<link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" />
|
|
||||||
<link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />
|
|
||||||
{%- for cssfile in css_files %}
|
|
||||||
<link rel="stylesheet" href="{{ pathto(cssfile, 1) }}" type="text/css" />
|
|
||||||
{%- endfor %}
|
|
||||||
{%- endmacro %}
|
|
||||||
|
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
{# The above 3 meta tags *must* come first in the head; any other head content
|
{# The above meta tags *must* come first in the head; any other head content
|
||||||
must come *after* these tags. #}
|
must come *after* these tags. -#}
|
||||||
{{ metatags }}
|
{{ metatags }}
|
||||||
{%- block htmltitle %}
|
{%- block htmltitle %}
|
||||||
<title>{{ title|striptags|e }}{{ titlesuffix }}</title>
|
<title>{{ title|striptags|e }}{{ titlesuffix }}</title>
|
||||||
{%- endblock %}
|
{%- endblock %}
|
||||||
{{ css() }}
|
{% for cssfile in css_files %}
|
||||||
|
<link rel="stylesheet" href="{{ pathto(cssfile, 1) }}" />
|
||||||
|
{%- endfor %}
|
||||||
{%- if not embedded %}
|
{%- if not embedded %}
|
||||||
{{ script() }}
|
{{ script() }}
|
||||||
{%- if use_opensearch %}
|
{%- if use_opensearch %}
|
||||||
@ -131,7 +125,7 @@
|
|||||||
<link rel="shortcut icon" href="{{ pathto('_static/' + favicon, 1) }}"/>
|
<link rel="shortcut icon" href="{{ pathto('_static/' + favicon, 1) }}"/>
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- block linktags %}
|
{% block linktags %}
|
||||||
{%- if hasdoc('about') %}
|
{%- if hasdoc('about') %}
|
||||||
<link rel="author" title="{{ _('About these documents') }}" href="{{ pathto('about') }}" />
|
<link rel="author" title="{{ _('About these documents') }}" href="{{ pathto('about') }}" />
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
@ -153,7 +147,7 @@
|
|||||||
{%- if prev %}
|
{%- if prev %}
|
||||||
<link rel="prev" title="{{ prev.title|striptags|e }}" href="{{ prev.link|e }}" />
|
<link rel="prev" title="{{ prev.title|striptags|e }}" href="{{ prev.link|e }}" />
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- endblock %}
|
{% endblock %}
|
||||||
{%- block extrahead %} {% endblock %}
|
{%- block extrahead %} {% endblock %}
|
||||||
</head>
|
</head>
|
||||||
<body role="document">
|
<body role="document">
|
||||||
|
Loading…
Reference in New Issue
Block a user