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

archive.tmpl.py 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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.3475218
  9. _enable_loop = True
  10. _template_filename = '/home/thomas/.local/lib/python3.9/site-packages/nikola/data/themes/base/templates/archive.tmpl'
  11. _template_uri = 'archive.tmpl'
  12. _source_encoding = 'utf-8'
  13. _exports = []
  14. def _mako_get_namespace(context, name):
  15. try:
  16. return context.namespaces[(__name__, name)]
  17. except KeyError:
  18. _mako_generate_namespaces(context)
  19. return context.namespaces[(__name__, name)]
  20. def _mako_generate_namespaces(context):
  21. pass
  22. def _mako_inherit(template, context):
  23. _mako_generate_namespaces(context)
  24. return runtime._inherit_from(context, 'list_post.tmpl', _template_uri)
  25. def render_body(context,**pageargs):
  26. __M_caller = context.caller_stack._push_frame()
  27. try:
  28. __M_locals = __M_dict_builtin(pageargs=pageargs)
  29. __M_writer = context.writer()
  30. __M_writer('\n')
  31. return ''
  32. finally:
  33. context.caller_stack._pop_frame()
  34. """
  35. __M_BEGIN_METADATA
  36. {"filename": "/home/thomas/.local/lib/python3.9/site-packages/nikola/data/themes/base/templates/archive.tmpl", "uri": "archive.tmpl", "source_encoding": "utf-8", "line_map": {"27": 0, "32": 1, "38": 32}}
  37. __M_END_METADATA
  38. """