Skip to content

Instantly share code, notes, and snippets.

@volgar1x
Created August 2, 2012 20:11
Show Gist options
  • Save volgar1x/3240243 to your computer and use it in GitHub Desktop.
Save volgar1x/3240243 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>{{ server_name }} | {% block title %}{% endblock %}</title>
<link rel="shortcut icon" href="{{ asset('favicon.ico') }}" />
<link type="text/css" href="{{ asset('css/ui-lightness/jquery-ui-1.8.21.custom.css') }}" rel="stylesheet" />
{% block stylesheets %}{% endblock %}
<script type="text/javascript" src="{{ asset('js/jquery-1.7.2.min.js') }}"></script>
<script type="text/javascript" src="{{ asset('js/jquery-ui-1.8.21.custom.min.js') }}"></script>
</head>
<body>
{% block body %}
{% embed "::content.html.twig" %}
{% block content_title %}
<h2>[{{ server_name }}] {{ block('title') }}</h2>
{% endblock %}
{% block content_body %}
{% for name, msg in app.session.flashes %}
<div class="flash-{{ name }}">
<p>{{ msg }}</p>
</div>
{% endfor %}
{{ block('content') }}
{% endblock %}
{% endembed %}
{% endblock %}
{% block javascripts %}{% endblock %}
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment