1 2 3 4 | @register.simple_tag
def mailto(email, linktext=None):
if linktext is None: linktext = email
return '<a href="mailto:%s">%s</a>' % (email, linktext)
|
More like this
- Template Tag to protect the E-mail address by nitinhayaran 3 years, 3 months ago
- Template tag to create mailto links with options by celopes 3 years, 11 months ago
- email_links by sansmojo 5 years, 11 months ago
- Template tag for importing content from external url by dchandek 5 years, 1 month ago
- Add GET parameters from current request by naktinis 2 years ago
Comments