feat: add support for hugo summary (#315)
This commit is contained in:
parent
4e2801d1ce
commit
89be30578c
|
@ -3,6 +3,9 @@
|
|||
---
|
||||
title: {{ meta.name.value | save_join(" ") }}
|
||||
type: docs
|
||||
{% if summary | deep_get(meta, "summary.value") %}
|
||||
summary: {{ meta.summary.value | save_join(" ") }}
|
||||
{% endif %}
|
||||
---
|
||||
{% endif %}
|
||||
{% if description | deep_get(meta, "description.value") %}
|
||||
|
@ -10,6 +13,8 @@ type: docs
|
|||
{{ meta.description.value | save_join(" ") }}
|
||||
{% endif %}
|
||||
|
||||
<!--more-->
|
||||
|
||||
{# TOC #}
|
||||
{% include '_toc.j2' %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue