about summary refs log tree commit diff stats
path: root/templates/base.html
diff options
context:
space:
mode:
authorAlan Pearce2024-05-28 23:23:33 +0200
committerAlan Pearce2024-05-28 23:23:33 +0200
commita70fb3f413a205390b45943007400d5d9a06a72b (patch)
tree2ca6b45c37ddd89054e46d523d5cd6e3c3c3c133 /templates/base.html
parentfe37fcf3daa0eaafc1236050ac95b5d4ba21bcd2 (diff)
parent995c4f6eff9a601c75c39d40f945c8a70d710d95 (diff)
downloadzola-bearblog-a70fb3f413a205390b45943007400d5d9a06a72b.tar.lz
zola-bearblog-a70fb3f413a205390b45943007400d5d9a06a72b.tar.zst
zola-bearblog-a70fb3f413a205390b45943007400d5d9a06a72b.zip
Merge branch 'main' into microformats2 microformats2
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/base.html b/templates/base.html
index 4ba8442..ee206b3 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -1,6 +1,9 @@
 <!DOCTYPE html>
 <html lang="{{ lang | default(value="en-US" ) }}">
 <head>
+  {%- if config.webserver_sends_csp_headers %}
+  {%- include "security_tags.html" ignore missing %}
+  {%- endif %}
   <meta charset="utf-8">
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   {% include "favicon.html" ignore missing -%}
@@ -12,7 +15,9 @@
   <link rel="alternate" type={% if config.feed_filename == "atom.xml" %}"application/atom+xml"{% else %}"application/rss+xml"{% endif %} title="{{ config.title }}" href="{{ get_url(path=config.feed_filename) | safe }}">
   {%- endblock -%}
   {%- endif %}
-  {% include "style.html" ignore missing -%}
+  <style>
+  {%- include "style.css.html" ignore missing -%}
+  </style>
   {% include "custom_head.html" ignore missing -%}
 </head>
 <body>