{% set book_pages = page.generator.related.page | selectattr("bookId", "==", page.generator.row.bookId) %}
{{ page.generator.row.thangtitle }}

{{ page.generator.row.title }}

{{ page.generator.row.description }}

- {{ page.generator.row.authors }}

Source: {{ page.generator.row.source }}
Licesne: {{ page.generator.row.license }}
{% for single_page in book_pages %} {% set single_page_content = json.loads(single_page.content) %} {% for content in single_page_content %} {% if content.type == "para" %}

{{ content.line }}

{% elif content.type == "image" %} {% elif content.type == "heading" %}

{{ content.line.replace("\n", "
")|safe }}

{% elif content.type == "jump" %} {% if content.extras[0].startswith("http") %} {{ content.line }} {% else %}
{% endif %} {% elif content.type == "code" %}
{{ content.line }}
{% elif content.type == "highlight" %}
{{ content.line }}
{% elif content.type == "external" %} {{ content.line }} {% elif content.type == "list" %} {% endif %} {% endfor %} {% endfor %}