@library.global_function
def thisyear():
 return jinja2.Markup(datetime.date.today().year)

@ library . global_function def thisyear ( ) : return jinja2 . Markup ( datetime . date . today ( ) . year )
the current year .