Created
October 22, 2020 15:38
-
-
Save cybernet/a3a581954b5a6204b874bd1b7964396d to your computer and use it in GitHub Desktop.
Twig random behaviour symfony/symfony#38672
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> | |
<title>{% block title %}TiTLE{% endblock %}</title> | |
<meta charset="UTF-8"> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<meta name="author" content="cybernet2u"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | |
<meta name="description" content="{% block meta_desc %}{{ meta_desc_tag }}{% endblock %}"> {# changed as suggested #} | |
<meta name="keywords" content="{% block meta_keys %}{{ meta_keys }}{% endblock %}"> | |
<meta property="og:type" content= "website" /> | |
<meta property="og:site_name" content="{{ site_title }}" /> | |
<meta property="og:url" content="{{ url('show_index') }}"/> | |
<meta name="twitter:description" property="og:description" itemprop="description" content="xxx" /> | |
<meta name='robots' content='index,follow'> | |
<meta name='url' content='{{ url('show_index') }}'> | |
<meta name='generator' content='{{ project_name }} {{ app_version }}'> | |
<link rel="canonical" href="{% block permlink %}{{ app.request.uri }}{% endblock %}" /> | |
<link rel="dns-prefetch" href="//{{ analyticsd_domain }}"> | |
<link rel="dns-prefetch" href="//cdnjs.cloudflare.com"> | |
{% block stylesheets %} | |
<!--[if lt IE 9]> <script src="{{ asset('js/modernizr.custom.js') }}"></script> <![endif]--> | |
{% endblock %} | |
</head> | |
<body class="dark"> | |
{% block body %}{% endblock %} | |
{% block javascripts %} | |
<script src="{{ asset('js/jquery.js') }}"></script> | |
<!--[if lt IE 10]> <script src="{{ asset('js/ie8.js') }}"></script> <![endif]--> | |
<script src="{{ asset('js/plugins.js') }}"></script> | |
<script src="{{ asset('js/init.min.js') }}"></script> | |
{% endblock %} | |
{% include 'inc/_tracking.html.twig' %} | |
</body> | |
</html> |
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
{# Super trimmed #} | |
{% extends 'base.html.twig' %} | |
{% block body %} | |
{# even some more divs #} | |
</div> | |
</div> | |
<!-- /RIGHTPART --> | |
</div> | |
</div> | |
<!-- / WRAPPER ALL --> | |
{% endblock %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment