You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 11 години
преди 11 години
123456789101112131415
  1. # Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
  2. # MIT License. See license.txt
  3. from __future__ import unicode_literals
  4. import webnotes
  5. from webnotes import _
  6. def get_context(context):
  7. extended_context = webnotes.doc("Blog Settings", "Blog Settings").fields
  8. extended_context.update(context)
  9. return {
  10. "title": extended_context.blog_title or "Blog",
  11. "content": context.template.render(extended_context)
  12. }