updating blocks and metas

This commit is contained in:
Maxim Stewart 2020-11-09 19:33:27 -06:00
parent 72921a6da4
commit 9ea524a4c4
7 changed files with 115 additions and 60 deletions

View File

@ -8,7 +8,3 @@
</div>
</div>
{% endblock body_content_additional %}
{% block scripts %}
<!-- Created scripts -->
{% endblock scripts %}

View File

@ -1,10 +1,19 @@
<!DOCTYPE html>
<html lang="en" dir="ltr">
{% block header %}
<head>
{% block header_meta %}
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="">
<meta name="description" content="">
<meta name="author" content="{{post.meta_author}}">
<meta name="copyright" content="CC0">
<meta name="description" content="{{post.meta_description}}">
<meta name="keywords" content="{{post.meta_keywords}}">
<meta name="robots" content="index,follow">
{% block header_meta_additional %}
{% endblock header_meta_additional %}
{% endblock %}
{% if title %}
<title>{{title}}</title>
{% else %}
@ -40,10 +49,10 @@
{% endblock header_scripts_additional %}
{% endblock %}
</head>
{% endblock %}
<body>
<img id="bg" src="{{ url_for('static', filename='imgs/backgrounds/background.jpg')}}" alt="{{title}} Background Logo" />
{% block body_header %}
<img id="bg" src="{{ url_for('static', filename='imgs/backgrounds/background.jpg')}}" alt="{{title}} Background Logo" />
{% include "body-header.html" %}
{% block body_header_additional %}

View File

@ -1,9 +1,19 @@
{% extends "layout.html" %}
{% block header_meta_additional %}
{% endblock header_meta_additional %}
{% block header_css_additional %}
{% endblock header_css_additional %}
{% block header_scripts_additional %}
{% endblock header_scripts_additional %}
{% block body_header_additional %}
{% endblock body_header_additional %}
{% block body_content %}
{% block body_content_additional %}
<div class="container">
<div class="row">
<div class="col justify-content-center text-center">
@ -14,12 +24,12 @@
</div>
</div>
</div>
{% endblock body_content %}
{% endblock body_content_additional %}
{% block body_footer_additional %}
{% endblock body_footer_additional %}
{% block body_scripts_additional %}
<script src="{{ url_for('static', filename='js/ui-logic.js')}}"></script>
<script src="{{ url_for('static', filename='js/post-ajax.js')}}"></script>

View File

@ -1,5 +1,15 @@
{% extends "layout.html" %}
{% block header_meta_additional %}
{% endblock header_meta_additional %}
{% block header_css_additional %}
{% endblock header_css_additional %}
{% block header_scripts_additional %}
{% endblock header_scripts_additional %}
{% block body_header_additional %}
{% endblock body_header_additional %}
@ -48,9 +58,9 @@
</div>
{% endblock body_content_additional %}
{% block body_footer_additional %}
{% endblock body_footer_additional %}
{% block body_scripts_additional %}
{% endblock body_scripts_additional %}

View File

@ -1,5 +1,15 @@
{% extends "layout.html" %}
{% block header_meta_additional %}
{% endblock header_meta_additional %}
{% block header_css_additional %}
{% endblock header_css_additional %}
{% block header_scripts_additional %}
{% endblock header_scripts_additional %}
{% block body_header_additional %}
{% endblock body_header_additional %}
@ -11,10 +21,10 @@
</div>
{% endblock body_content_additional %}
{% block body_footer_additional %}
{% endblock body_footer_additional %}
{% block body_scripts_additional %}
<script src="{{ url_for('static', filename='js/ui-logic.js')}}"></script>
<script src="{{ url_for('static', filename='js/post-ajax.js')}}"></script>

View File

@ -1,17 +1,27 @@
{% extends "layout.html" %}
{% block header_meta_additional %}
{% endblock header_meta_additional %}
{% block header_css_additional %}
{% endblock header_css_additional %}
{% block header_scripts_additional %}
{% endblock header_scripts_additional %}
{% block body_header_additional %}
{% endblock body_header_additional %}
{% block body_content %}
{% block body_content_additional %}
<div id="react-container">
</div>
{% endblock body_content %}
{% endblock body_content_additional %}
{% block body_footer_additional %}
{% endblock body_footer_additional %}
{% block body_scripts_additional %}
<script src="{{ url_for('static', filename='js/post-ajax.js')}}"></script>
<script src="{{ url_for('static', filename='js/ajax.js')}}"></script>

View File

@ -1,5 +1,15 @@
{% extends "layout.html" %}
{% block header_meta_additional %}
{% endblock header_meta_additional %}
{% block header_css_additional %}
{% endblock header_css_additional %}
{% block header_scripts_additional %}
{% endblock header_scripts_additional %}
{% block body_header_additional %}
{% endblock body_header_additional %}
@ -76,9 +86,9 @@
</div>
{% endblock body_content_additional %}
{% block body_footer_additional %}
{% endblock body_footer_additional %}
{% block body_scripts_additional %}
{% endblock body_scripts_additional %}