ansible-doctor/ansibledoctor/templates/hugo-book/index.md.j2

32 lines
651 B
Plaintext
Raw Normal View History

2019-11-27 14:11:43 +01:00
{% if not append | deep_get(role, "internal.append") %}
2019-11-26 16:40:55 +01:00
{% set meta = role.meta | default({}) %}
---
2019-11-27 14:11:43 +01:00
title: {{ meta.name.value | save_join(" ") }}
type: docs
{% if summary | deep_get(meta, "summary.value") %}
summary: {{ meta.summary.value | save_join(" ") }}
{% endif %}
2019-11-26 16:40:55 +01:00
---
2019-11-27 14:11:43 +01:00
{% endif %}
2019-11-26 16:40:55 +01:00
{% if description | deep_get(meta, "description.value") %}
2019-12-02 15:00:32 +01:00
2019-11-26 16:40:55 +01:00
{{ meta.description.value | save_join(" ") }}
{% endif %}
<!--more-->
2019-11-26 16:40:55 +01:00
{# TOC #}
{% include '_toc.j2' %}
2019-11-26 16:40:55 +01:00
{# Vars #}
{% include '_vars.j2' %}
{# Todo #}
{% include '_tag.j2' %}
{# Todo #}
{% include '_todo.j2' %}
2019-11-26 16:40:55 +01:00
{# Meta #}
{% include '_meta.j2' %}