{% extends "base.html" %} {% load staticfiles %} {% load mycms_tags %} {%block PAGE_HEADER %} {% endblock PAGE_HEADER %} {%block META_DESCRIPTION %}{{view_object.introduction}}{% endblock META_DESCRIPTION %} {% block TITLE%} {{view_object.title}}{% endblock TITLE %} {% block BODY_TITLE%} {{view_object.title}}{% endblock BODY_TITLE %} {% block PAGE_CONTENT %}

SysAdmin or Devops ...

or just someone learning about computer systems, you will find here tips & tricks, command line commands, opensource tools and server administration on opensource technologies.

{% comment %}.. Iterate over the child categories of this category. A child_category is an instance of mycms.models.CMSEntries. If you need to access the view_object then you can do by: child_category.view_object. {% endcomment %} {% for child_category in view_object.categories %}
mysql

{{child_category.title}}

{{child_category.view_object.html_content|safe}}
{% if child_category.view_object.all_sub_articles %} {# only iterate if we do have results.#}
    {% for article in child_category.view_object.all_sub_articles|slice:":5" %}
  • {{article.title}}
  • {% endfor %}
{% if child_category.view_object.all_sub_articles|length > 5 %}

List more articles published under: {{child_category.title}} {% endif%} {%else %} {% endif %}

{% endfor %}
{% if view_object.request.user.username == "admin" %}
{% comment %} Edit the content of the category {% endcomment %}
left
right
{% endif %}
{% if view_object.request.user.username == "admin" %} {% verbatim %} {% endverbatim %} {% Script type="text/javascript" src="/static/mycms/dustjs/dust-full.js" priority=8888 %} {% Script type="text/javascript" src="/static/mycms/templates.js" priority=8889 %} {% Script type="text/javascript" src="/static/mycms/editor/category.editor.js" priority=8889 %} {% endif %} {% endblock PAGE_CONTENT %} {% block PAGE_BOTTOM %} {% endblock PAGE_BOTTOM %}