10 lines
271 B
Python
10 lines
271 B
Python
# -*- 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é</a>""" % url)
|