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

21 lines
434 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
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 %}
{# TOC #}
{% include '_toc.j2' %}
{# Vars #}
{% include '_vars.j2' %}
{# Meta #}
{% include '_meta.j2' %}