Skip to content
This repository has been archived by the owner on Jan 24, 2020. It is now read-only.

Commit

Permalink
Change comments to Jinja from HTML.
Browse files Browse the repository at this point in the history
  • Loading branch information
glogiotatidis committed Apr 1, 2016
1 parent 761df2f commit 0392104
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions generic-templates/simple-snippet.html
@@ -1,5 +1,6 @@
<!-- Simple and Logo Swap Snippet with Block and Click -->
<!--
{#
Simple and Logo Swap Snippet with Block and Click

Variables:

@block_button_text - small text - Text to display while hovering over opt out button. Default 'Remove this'
Expand All @@ -13,7 +14,7 @@
@logo_height: small_text - Logo height. Defaults to 192px
@logo_width: small_text - Logo width. Defaults to 192px

-->
#}
<style>
div.switch#brandLogo {
background-size: {{ width|default(192, true) }}px {{ height ~ 'px' if height else 'auto' }};
Expand Down

0 comments on commit 0392104

Please sign in to comment.