Skip to content

Commit

Permalink
Improve readability
Browse files Browse the repository at this point in the history
  • Loading branch information
andres-montanez committed Jan 6, 2016
1 parent 49db420 commit b20e3a3
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 30 deletions.
6 changes: 3 additions & 3 deletions Resources/views/custom.html.twig
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{%- for tag, value in tags -%}
<meta name="{{ tag }}" content="{{ value }}" />
{%- endfor -%}
{% for tag, value in tags %}
<meta name="{{ tag }}" content="{{ value }}" />
{% endfor %}
54 changes: 27 additions & 27 deletions Resources/views/opengraph.html.twig
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
<meta property="og:title" content="{{ title }}" />
<meta property="og:description" content="{{ description }}" />
<meta property="og:url" content="{{ app.request.uri }}" />
{%- if og_image -%}
<meta property="og:image" content="{{ og_image }}">
{%- endif -%}
{%- if og_image_width -%}
<meta property="og:image:width" content="{{ og_image_width }}">
{%- endif -%}
{%- if og_image_height -%}
<meta property="og:image:height" content="{{ og_image_height }}">
{%- endif -%}
{%- if og_type -%}
<meta property="og:type" content="{{ og_type }}">
{%- endif -%}
{%- if og_video -%}
<meta property="og:video" content="{{ og_video }}">
{%- endif -%}
{%- if og_video_secure_url -%}
<meta property="og:video:secure_url" content="{{ og_video_secure_url }}" />
{%- endif -%}
{%- if og_video_width -%}
<meta property="og:video:width" content="{{ og_video_width }}" />
{%- endif -%}
{%- if og_video_height -%}
<meta property="og:video:height" content="{{ og_video_height }}" />
{%- endif -%}
{%- if og_video_type -%}
<meta property="og:video:type" content="{{ og_video_type }}">
{%- endif -%}
{% if og_image %}
<meta property="og:image" content="{{ og_image }}">
{% endif %}
{% if og_image_width %}
<meta property="og:image:width" content="{{ og_image_width }}">
{% endif %}
{% if og_image_height %}
<meta property="og:image:height" content="{{ og_image_height }}">
{% endif %}
{% if og_type %}
<meta property="og:type" content="{{ og_type }}">
{% endif %}
{% if og_video %}
<meta property="og:video" content="{{ og_video }}">
{% endif %}
{% if og_video_secure_url %}
<meta property="og:video:secure_url" content="{{ og_video_secure_url }}" />
{% endif %}
{% if og_video_width %}
<meta property="og:video:width" content="{{ og_video_width }}" />
{% endif %}
{% if og_video_height %}
<meta property="og:video:height" content="{{ og_video_height }}" />
{% endif %}
{% if og_video_type %}
<meta property="og:video:type" content="{{ og_video_type }}">
{% endif %}

0 comments on commit b20e3a3

Please sign in to comment.