app/Resources/views/SiteBase.html.twig line 1

Open in your IDE?
  1. {{ ''|site_istatistik }}
  2.  {% set currentPath = path(app.request.attributes.get('_route'),
  3.      app.request.attributes.get('_route_params')) %}
  4. <!DOCTYPE html>
  5. <html lang="{% block dil %}{% endblock %}">
  6.     <head>
  7.         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  8.         <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
  9.         <title>{% block title %}{% endblock %}{% if (app.request.attributes.get('_route')!='site_homepage') %} - {{ 'title'|ayarlar(app.session.get('dil')['id']) }}{% endif %}</title>
  10.         <meta name="keywords" content="{% block keywords %}{% endblock %}">
  11.         <meta name="description" content="{% block description %}{% endblock %}">
  12.         <meta name=”geo.position” content=”{{ 'position'|ayarlar(app.session.get('dil')['id']) }}“>
  13.         <meta name=”geo.placename” content=”{{ 'placeName'|ayarlar(app.session.get('dil')['id']) }}“>
  14.         <meta name=”geo.region” content=”{{ 'region'|ayarlar(app.session.get('dil')['id']) }}“>
  15.         <meta property="og:site_name" content="{{ 'siteAdi'|ayarlar }}">
  16.         <meta property="og:title" content="{% block title2 %}{% endblock %}{% if (app.request.attributes.get('_route')!='site_homepage') %} - {{ 'title'|ayarlar(app.session.get('dil')['id']) }}{% endif %}">
  17.         <meta property="og:description" content="{% block description2 %}{% endblock %}">
  18.         <meta property="og:type" content="article">
  19.         <meta property="og:url" content="{{ ''|site_anaLink~currentPath|slice(1,currentPath|length) }}">
  20.         <meta property="og:image" content="{% block image %}{% endblock %}">
  21.         <meta property="og:image:alt" content="{% block image_alt %}{% endblock %}">
  22.         <meta name="twitter:card" content="summary_large_image">
  23.         <meta name="twitter:title" content="{% block title3 %}{% endblock %}">
  24.         <meta name="twitter:description" content="{% block description3 %}{% endblock %}">
  25.         <meta name="twitter:image" content="{% block image2 %}{% endblock %}">
  26.         <link rel="shortcut icon" href="{{ asset('uploads/favicon.png') }}" type="image/x-icon">
  27.         <link rel="icon" href="{{ asset('uploads/favicon.png') }}" type="image/x-icon">
  28.         {% include '@Site/Base/style.html.twig' %}
  29.         {% block stylesheets %}{% endblock %}
  30.     </head>
  31.         {% include '@Site/Base/header.html.twig' %}
  32.         {% block body %}{% endblock %}
  33.         {% include '@Site/Base/footer.html.twig' %}
  34.         {% block javascripts %}{% endblock %}
  35.     </body>
  36. </html>