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

32 lines
651 B
Plaintext
Raw Normal View History

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