Created
October 16, 2014 04:45
-
-
Save cam-stitt/3c5ee6828e4ef6685ef0 to your computer and use it in GitHub Desktop.
Example For Block Rendering
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta name="csrf-token" content="{{ csrf_token() }}"> | |
<title>Example</title> | |
{% block styles %}{% endblock %} | |
{% block scripts %}{% endblock %} | |
</head> | |
<body> | |
<div class="view-container"> | |
{% block view_container %} | |
{% block navbar %} | |
<nav> | |
<ul> | |
{% block navitems %} | |
{% endblock %} | |
</ul> | |
</nav> | |
{% endblock %} | |
<div class="main-content"> | |
{% block main_content %} | |
<div class="message"> | |
{% block messages %} | |
{% include "shared/messages.html" %} | |
{% endblock %} | |
</div> | |
<div class="content"> | |
{% block content %} | |
{% include content_template %} | |
{% endblock %} | |
</div> | |
{% endblock %} | |
</div> | |
{% block async_script %} | |
{% endblock %} | |
{% endblock %} | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment