A new Riff-radio.org site with a static approach.

comments_helper_dummy.tmpl.py 2.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. # -*- coding:utf-8 -*-
  2. from mako import runtime, filters, cache
  3. UNDEFINED = runtime.UNDEFINED
  4. STOP_RENDERING = runtime.STOP_RENDERING
  5. __M_dict_builtin = dict
  6. __M_locals_builtin = locals
  7. _magic_number = 10
  8. _modified_time = 1676236796.144974
  9. _enable_loop = True
  10. _template_filename = '/home/thomas/.local/lib/python3.9/site-packages/nikola/data/themes/base/templates/comments_helper_dummy.tmpl'
  11. _template_uri = 'comments_helper_dummy.tmpl'
  12. _source_encoding = 'utf-8'
  13. _exports = ['comment_form', 'comment_link', 'comment_link_script']
  14. def render_body(context,**pageargs):
  15. __M_caller = context.caller_stack._push_frame()
  16. try:
  17. __M_locals = __M_dict_builtin(pageargs=pageargs)
  18. __M_writer = context.writer()
  19. __M_writer('\n')
  20. __M_writer('\n\n')
  21. __M_writer('\n\n')
  22. __M_writer('\n')
  23. return ''
  24. finally:
  25. context.caller_stack._pop_frame()
  26. def render_comment_form(context,url,title,identifier):
  27. __M_caller = context.caller_stack._push_frame()
  28. try:
  29. __M_writer = context.writer()
  30. __M_writer('\n')
  31. return ''
  32. finally:
  33. context.caller_stack._pop_frame()
  34. def render_comment_link(context,link,identifier):
  35. __M_caller = context.caller_stack._push_frame()
  36. try:
  37. __M_writer = context.writer()
  38. __M_writer('\n')
  39. return ''
  40. finally:
  41. context.caller_stack._pop_frame()
  42. def render_comment_link_script(context):
  43. __M_caller = context.caller_stack._push_frame()
  44. try:
  45. __M_writer = context.writer()
  46. __M_writer('\n')
  47. return ''
  48. finally:
  49. context.caller_stack._pop_frame()
  50. """
  51. __M_BEGIN_METADATA
  52. {"filename": "/home/thomas/.local/lib/python3.9/site-packages/nikola/data/themes/base/templates/comments_helper_dummy.tmpl", "uri": "comments_helper_dummy.tmpl", "source_encoding": "utf-8", "line_map": {"16": 0, "21": 2, "22": 4, "23": 7, "24": 10, "30": 3, "34": 3, "40": 6, "44": 6, "50": 9, "54": 9, "60": 54}}
  53. __M_END_METADATA
  54. """