diff options
Diffstat (limited to 'templates/base.html')
| -rw-r--r-- | templates/base.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..3911aad --- /dev/null +++ b/templates/base.html @@ -0,0 +1,29 @@ +<!DOCTYPE html> +<html lang="{{ lang }}"> + <head> + <meta charset="utf-8" /> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover"> + + <title>{% block seo_title %}{{ config.title }}{% endblock seo_title %}</title> + <meta name="description" content="{% block seo_description %}{{ config.description }}{% endblock seo_description %}"> + <meta property="og:site_name" content="{{ config.title }}" /> + + {% block seo_extra_meta %} + {% endblock seo_extra_meta %} + + <link rel="stylesheet" href="{{ get_url(path="styles.css", trailing_slash=false) }}"> + + {% if config.generate_feed %} + <link rel="alternate" type={% if config.feed_filename == "atom.xml" %}"application/atom+xml"{% else %}"application/rss+xml"{% endif %} title="RSS" href="{{ get_url(path=config.feed_filename) | safe }}"> + {% endif %} + + {% block extra_head %} + {% endblock extra_head %} + </head> + <body> + <main> + {% block main %}{% endblock main %} + </main> + </body> +</html> |
