jinja2

the jinja currently expects different block key depending on block type


{% extends "base_mkdoc_material.html" %}
{% block content %}
{% for block in blocks %}
  {% if block.type == "markdown" %}
    {{ block.content | safe }}
  {% elif block.type == "chart" %}
    {{ block.chart_html | safe }}
  {% elif block.type == "dataframe" %}
    {{ block.table_html | safe }}
  {% elif block.type == "pycode" %}
    {{ block.content | safe }}
  {% endif %}
{% endfor %}
{% endblock %}


This site uses Just the Docs, a documentation theme for Jekyll.