templates/front/includes/meta.html.twig line 1

Open in your IDE?
  1. <meta property="og:site_name"   content="{{ site_name }}"/>
  2. {% if pagetitle_before_sitename %}
  3.     <meta property="og:title"   content="{% if _title is not empty %}{{ _title|raw }}&nbsp;&bull;&nbsp;{% endif %}{{ site_name }}"/>
  4. {% else %}
  5.     <meta property="og:title"   content="{{ site_name }}{% if _title is not empty %}&nbsp;&bull;&nbsp;{{ _title|raw }}{% endif %}"/>
  6. {% endif %}
  7. {% if _params is defined %}
  8.     <meta property="og:description" content="{{ (_params is defined and _params.description is defined ? _params.description : meta.description) | enhancedStriptags }}"/>
  9.     <meta name="description"        content="{{ (_params is defined and _params.description is defined ? _params.description : meta.description) | enhancedStriptags }}"/>
  10.     <meta property="og:image"       content="{{ absolute_url(_params is defined and _params.image is defined ? _params.image : meta.image) }}"/>
  11.     <meta property="og:url" content="{{ absolute_url(_params is defined and _params.url is defined ? _params.url : ( app.request.attributes.get('_route') ? path(app.request.attributes.get('_route'), app.request.attributes.get('_route_params')) : '' ) ) }}" />
  12.     <meta     name="author"         content="{{ _params is defined and _params.author is defined ? _params.author : meta.author }}">
  13. {% endif%}
  14. {% if app_env | lower is same as('dev') or noIndexIfRoute(app.request.get('_route')) %}
  15.     <meta name="robots"         content="noindex, nofollow">
  16.     <meta name="googlebot"      content="noindex">
  17. {% endif %}