Created
November 4, 2012 23:15
-
-
Save N3MIS15/4014312 to your computer and use it in GitHub Desktop.
macro example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% macro inline(title, href, img) %} | |
<div class="inline"> | |
<a href="{{href}}" target="_blank"> | |
<img title="{{title}}" src="{{img}}" height="40" width="40" alt="{{title}}"> | |
<p style="font-size:75%;">{{title}}</p> | |
</a> | |
</div> | |
{% endmacro %} | |
{{ inline('SabNZBd+', 'http://www.sabnzbd.org', url_for('static', filename='images/applications/SabNZBd.png')) }} | |
{{ inline('Sickbeard', 'http://www.sickbeard.com', url_for('static', filename='images/applications/Sickbeard.png')) }} | |
{{ inline('CouchPotato', 'http://www.couchpota.to', url_for('static', filename='images/applications/CouchPotato.png')) }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment