Skip to content

Instantly share code, notes, and snippets.

@geomaedr
Last active December 7, 2022 22:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save geomaedr/8128a31d3ac735138be32606ab70eef2 to your computer and use it in GitHub Desktop.
Save geomaedr/8128a31d3ac735138be32606ab70eef2 to your computer and use it in GitHub Desktop.
base.html Update for POWER V26
<!--
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 }}
{{ require_css(get_public_template_url("../../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