Last active
March 22, 2023 22:03
-
-
Save geomaedr/74659fe23dc12f6fb4b74d1e079d6a66 to your computer and use it in GitHub Desktop.
templates/layouts/base.html Update for POWER V28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
templateType: "none" | |
isAvailableForNewContent: false | |
--> | |
{% import './base_font.html' as base_font %} | |
{% import './base_pwr.html' as base_pwr %} | |
<!doctype html> | |
<html lang="{{ html_lang }}" {{ html_lang_dir }}> | |
<head> | |
<meta charset="utf-8"> | |
<title>{{ page_meta.html_title }}</title> | |
{% if site_settings.favicon_src %}<link rel="shortcut icon" href="{{ site_settings.favicon_src }}" />{% endif %} | |
<meta name="description" content="{{ page_meta.meta_description }}"> | |
{{ base_font.header() }} | |
{{ base_pwr.header() }} | |
{{ require_js(get_asset_url("../../child.js")) }} | |
{{ standard_header_includes }} | |
{% set overwrite_child_css_path = '../../child.css' %} | |
</head> | |
<body> | |
<div class="body-wrapper {{ builtin_body_classes }} {{ base_pwr.body_wrapper_classes() }}" {{ base_pwr.body_wrapper_attributes() }}> | |
{% block local_settings %} | |
{% module "page_settings" path='../../modules/page-settings', is_overwrite_header_settings=false %} | |
{% endblock local_settings %} | |
{{ base_pwr.body() }} | |
{% block header %} | |
{% global_partial path='../partials/header.html' %} | |
{% endblock header %} | |
{% block body %} | |
{% endblock body %} | |
{% block footer %} | |
{% global_partial path='../partials/footer.html' %} | |
{% endblock footer %} | |
</div> | |
{{ standard_footer_includes }} | |
{{ base_pwr.footer() }} | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment