diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2020-05-30 20:07:21 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2020-05-30 20:07:21 +0200 |
commit | 164c306795577ec7667d338c28a7544bbb8c241b (patch) | |
tree | 3607fdeaeeee57505fa547041a4cfd33a827abca /templates/base.html | |
download | rabalderz-164c306795577ec7667d338c28a7544bbb8c241b.tar.gz rabalderz-164c306795577ec7667d338c28a7544bbb8c241b.tar.bz2 rabalderz-164c306795577ec7667d338c28a7544bbb8c241b.zip |
et up baseic structure for homepage/blog with Zola
Diffstat (limited to 'templates/base.html')
-rw-r--r-- | templates/base.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..a921ed6 --- /dev/null +++ b/templates/base.html @@ -0,0 +1,30 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width initial-scale=1" /> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + + <title>{% if page.title %}{{ page.title }}{% else %}{{ config.title }}{% endif %}</title> + <meta name="description" content="{{ config.description }}"> + + <link rel="stylesheet" type="text/css" href="/styles.css"> + {# <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}"> #} + </head> + + <body> + + {#% include header.html %#} + + <div class="page-content"> + <div class="wrapper"> + {% block content %} + {% endblock content %} + </div> + </div> + + {#% include footer.html %#} + + </body> + +</html> |