Initial commit
[fnpdjango.git] / fnpdjango / templatetags / fnp_share.py
1 from django.template import Library
2
3 register = Library()
4
5
6 @register.inclusion_tag('fnpdjango/share.html', takes_context=True)
7 def share(context, url, description, iconset=""):
8     return {
9         'url': url,
10         'description': description,
11         'iconset': iconset,
12         'request': context['request'],
13     }