Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: macros/meta-tag.tmpl

Issue 29680647: Issue 5329 - Provide a template for social media meta data in website-defaults (Closed) Base URL: https://hg.adblockplus.org/website-defaults
Left Patch Set: Created Jan. 26, 2018, 11:28 a.m.
Right Patch Set: Addressed NITs Created Feb. 1, 2018, 9:06 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « includes/meta/social.tmpl ('k') | pages/index.html » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 {% macro meta_tag(property, content, defaultContent=None) -%}
2 {% if content or defaultContent %}
3 <meta property='{{ property }}' content='{{ content or defaultContent }}'>
4 {% endif %}
5 {%- endmacro %}
LEFTRIGHT

Powered by Google App Engine
This is Rietveld