Skip to content

Instantly share code, notes, and snippets.

@jonathaningram
Created October 30, 2011 07:52
Show Gist options
  • Save jonathaningram/1325678 to your computer and use it in GitHub Desktop.
Save jonathaningram/1325678 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
{% if block('title') %}
{% set title = block('title') ~ ' - My App' %}
{% else %}
{% set title = 'My App' %}
{% endif %}
<title>{{ title }}</title>
</head>
<body></body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment