Created
October 15, 2019 13:21
-
-
Save Agressiva86/38efcfbf0bbef2bc65b9a19fc8442223 to your computer and use it in GitHub Desktop.
This file contains 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
{% block header %} | |
<!doctype html> | |
<!--[if IE 9]><html class="lt-ie10" lang="{{ function( 'language_attributes' ) }}" > <![endif]--> | |
<html {{ function( 'language_attributes' ) }}> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
{{ function( 'wp_head' ) }} | |
</head> | |
<body {{ function( 'body_class' ) }}> | |
{% endblock %} | |
{% include "views/parts/header.twig" %} | |
{% block content %} | |
{% endblock %} | |
{% block footer %} | |
{% include "views/parts/footer.twig" %} | |
{{ function( 'wp_footer' ) }} | |
<script> | |
var site_url = '{{ site.url }}'; | |
var template_url = '{{ theme.link }}'; | |
var ajax_url = '{{ function('admin_url', 'admin-ajax.php') }}'; | |
</script> | |
</body> | |
</html> | |
{% endblock %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment