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

Side by Side Diff: 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
Patch Set: Addressed comments #3 Created Jan. 30, 2018, 8:18 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « includes/meta/social.tmpl ('k') | pages/index.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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 %}
OLDNEW
« no previous file with comments | « includes/meta/social.tmpl ('k') | pages/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld