Commit 9b0b8faf authored by Daniel Stan's avatar Daniel Stan

Wiki: macro pour donner un lien canonique vers pad

parent 748dff30
# -*- encoding: utf-8 -*-
def execute(macro, args):
name = macro.request.page.page_name
name = name.split('/')[-1]
url = "http://pad.crans.org/p/" + name
return macro.formatter.rawHTML("""Lien vers l'<a href="%s">
etherpad associ&eacute;</a>""" % url)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment