<!-- Matrix fields / Global -->
{% for block in footer.footerPanelFields %} // Global name is "footer" and then the field inside is "footerPanelFields"
{% if block.type == "footerAddress" %} // The types inside are called "footerAddress"
{{block.addressPostcode}} // The field inside are called "addressPostcode"
{% endif %} // end if
{% endfor %} // end for
<!-- Use layouts in other templates -->
{% set contactSection = 'layouts/contact-section.html' %} // set var and where the file is
{% include contactSection %} // include file
<!-- Single field -->
{{entry.pageHeroTitle}} // field name is "pageHeroTitle"
<!-- Site URL -->
{{ siteUrl }}
<!-- Extend a template -->
{% extends "_layout" %}
<!-- Set titles -->
{% set title = "Certificates" %}
<!-- Base url from config -->
{{ craft.config.environmentVariables.baseUrl }}
<IfModule mod_rewrite.c>
RewriteEngine On
# Send would-be 404 requests to Craft
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]
</IfModule>
##########################################
# Also add this to the general.php file
# 'omitScriptNameInUrls' => true,
##########################################