HTML%2BDjango is an actively used template language created in 2006. Jinja is a template engine for the Python programming language and is licensed under a BSD License created by Armin Ronacher. It is similar to the Django template engine but provides Python-like expressions while ensuring that the templates are evaluated in a sandbox. It is a text-based template language and thus can be used to generate any markup as well as sourcecode. Read more on Wikipedia...

14Years Old 8,874Users ?Jobs

Example code from Linguist:


<table class="workers">
    <th>Job server</th>
    <th>File descriptor</th>
    <th>Client ID</th>

{% for server_info in server_infos %}
  <tr {% if server_info['failed'] %} class="failure" {% endif %} >
    <th>{{ server_info['hostport'][0] }}:{{ server_info['hostport'][1] }}</th>
      {%- if server_info['failed'] -%} Not responding! {%- endif -%}
  {% if not server_info['failed'] %}
    {% for worker in server_info['workers'] %}
      <td class="server"></td>
      <td class="ip">{{ worker['ip'] }}</td>
      <td class="file_descriptor">{{ worker['file_descriptor'] }}</td>
      <td class="client_id">{{ worker['client_id'] }}</td>
      <td class="functions">
        {{ worker['tasks']|join(', ') }}
    {% endfor %}
  {% endif %}
{% endfor %}

Example code from Wikipedia:

<!DOCTYPE html>
    <title>Value with &lt;unsafe&gt; data</title>

Trending Repos

repo stars description

Last updated August 9th, 2020

Edit HTML%2BDjango on GitHub