<!DOCTYPE html>
<html lang="{% if language is not none%}{{ language }}{% else %}en{% endif %}">

<head>
  {%- block site_meta -%}
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  {%- if metatags %}{{ metatags }}{% endif -%}

  {%- block linktags %}
  {%- if hasdoc('about') -%}
  <link rel="author" title="{{ _('About these documents') }}"
    href="{{ pathto('about') }}" />
  {%- endif -%}
  {%- if hasdoc('genindex') -%}
  <link rel="index" ti