Skip to content

Commit ef149e0

Browse files
📌 ISSUE-#50: Add extrahead block to base.html template
- Add missing extrahead block in base.html template - Allows users to override extrahead block in main.html - Fixes issue where extrahead block override was not working - Block is positioned between site_meta and styles blocks in <head> section
1 parent 9b927d5 commit ef149e0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎mkdocs_simple_blog/base.html‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232

3333
{%- endblock %}
3434

35+
{%- block extrahead %}
36+
{%- endblock %}
37+
3538
{%- block styles %}
3639
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Fira+Mono:400,700">
3740
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

0 commit comments

Comments
 (0)