No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

123456789101112131415161718
  1. # Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
  2. # MIT License. See license.txt
  3. from __future__ import unicode_literals
  4. no_sitemap = 1
  5. base_template_path = "templates/pages/app.html"
  6. import webnotes, os
  7. def get_context(context):
  8. hooks = webnotes.get_hooks()
  9. return {
  10. "build_version": str(os.path.getmtime(os.path.join(webnotes.local.sites_path, "assets", "js",
  11. "webnotes.min.js"))),
  12. "include_js": hooks["app_include_js"],
  13. "include_css": hooks["app_include_css"]
  14. }