{% extends 'content_base.html' %} {% block pageTitle %}{{ page_title }}{% endblock %} {% block content %} <div class="container markdown-content"> {{ markdown_content | safe }} </div> <script> $(window).load(function () { const TITLE = $('.markdown-content h1').text(); $('.header h1').text(TITLE); window.updateTitle(TITLE); }); </script> {% endblock %}