-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
templates: base: Add version to include verification
Signed-off-by: Patrick José Pereira <[email protected]>
- Loading branch information
1 parent
014977c
commit 800f02f
Showing
1 changed file
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{%- import 'macros/head.html' as macros_head -%} | ||
{% import 'macros/math.html' as macros_math -%} | ||
{% import 'macros/header.html' as macros_header -%} | ||
{% import 'macros/footer.html' as macros_footer -%} | ||
{% import 'macros/javascript.html' as macros_js -%} | ||
{% import 'macros/page-publish-metadata.html' as macros_publish -%} | ||
{% import 'macros/section-navigation.html' as macros_section_nav -%} | ||
{% import 'macros/docs-sidebar.html' as macros_sidebar -%} | ||
{% import 'macros/docs-edit-page.html' as macros_edit_page -%} | ||
{% import 'macros/docs-navigation.html' as macros_navigation -%} | ||
{% import 'macros/docs-toc.html' as macros_toc -%} | ||
|
||
<!DOCTYPE html> | ||
<html lang="{{ config.extra.language_code | default(value="en-US") }}"> | ||
<head> | ||
<meta name="ahrefs-site-verification" content="{{ config.extra.ahrefs_verification_code }}"> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="x-ua-compatible" content="ie=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | ||
{{ macros_head::resource() }} | ||
{{ macros_head::stylesheet() }} | ||
|
||
{% block seo %} | ||
{% if config.extra.title_separator %} | ||
{% set title_separator = " " ~ config.extra.title_separator ~ " " %} | ||
{% else %} | ||
{% set title_separator = " | " %} | ||
{% endif %} | ||
{% endblock seo %} | ||
|
||
{{ macros_head::favicons() }} | ||
{% block math %}{{ macros_math::math() }}{% endblock math %} | ||
</head> | ||
{% block body %}{% set page_class="home" %}{% endblock body %} | ||
<body class="{{ page_class }}"> | ||
{% block header %} | ||
{{ macros_header::header(current_section="/") }} | ||
{% endblock header %} | ||
|
||
{% block content %}{% endblock content %} | ||
|
||
{% block footer %} | ||
{{ macros_footer::footer() }} | ||
{% endblock footer %} | ||
|
||
{{ macros_js::javascript() }} | ||
</body> | ||
</html> |