I am currently working on a website using, django, my problem is that the site has to be ported from using php scripts to using django. Though the site content has been well maintained by the previous maintainer, I have to use markdown for files that already having a HUGE amount of content in them, like the main page is divided into three files inside a directory, like a.html, b.html, c.html though they all contain simple text content, do I have to render them all seperately, should i use the view.py file for parsing the structure or use a template for the same, the real question is how to parse the contents of a file INSIDE the template
I wrote a template:
{% extends "catalog.html" %}
{% block content %}
{% include "features/main.html" %} {% include "features/about.html" %}Recent Headlines
More {% include "features/1.html" %} {% include "features/2.html" %} {% include "features/3.html" %}{% endblock %}
this is the included file i needed to parse :- {% include "features/about.html" %} but anyone will understand that this will only display the file contents not the parsed html. Thanks for the help in advance