diff options
author | Franck Cuny <franck@fcuny.net> | 2024-07-04 11:36:33 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2024-07-04 11:36:33 -0700 |
commit | fccd15aec3507fd3f0cb4a2c18a0ec1af1d69c1f (patch) | |
tree | f506115024e7e6247279409fa053e59927ec398c /templates/base.html | |
parent | dont format html files with prettier (diff) | |
download | fcuny.net-fccd15aec3507fd3f0cb4a2c18a0ec1af1d69c1f.tar.gz |
migrate to zola
Diffstat (limited to 'templates/base.html')
-rw-r--r-- | templates/base.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..7eeeaf6 --- /dev/null +++ b/templates/base.html @@ -0,0 +1,20 @@ +<!DOCTYPE HTML> +<html xmlns="http://www.w3.org/1999/xhtml" lang="{{ lang }}" xml:lang="{{ lang }}"> + <head> + <meta charset="utf-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" /> + <link rel="canonical" href="{{- current_url|safe -}}" /> + <link rel="stylesheet" href="/css/custom.css" /> + + <meta name="author" content="{{- config.author -}}" /> + <meta name="description" content="{%- block description -%}{{- config.description -}}{%- endblock description -%}" /> + <link rel="alternate" type="application/atom+xml" title="Blog posts" href="{{ get_url(path="/blog/atom.xml", trailing_slash=false) }}" /> + + <title>{% block title %}{{- config.title -}}{% endblock title %}</title> + </head> + + <body> + {% block content %}{% endblock content %} + </body> + +</html> |