diff --git a/_data/theme.yml b/_data/theme.yml index f48c31c2..53f2f5ca 100644 --- a/_data/theme.yml +++ b/_data/theme.yml @@ -112,6 +112,7 @@ font-cdn: # add font stylesheet, e.g. {%- assign icon_template = child.display_template | default: item.format -%} - + {{ child.title | escape }} - {{ child.format }} {% endif %} diff --git a/_includes/item/child/item-thumb.html b/_includes/item/child/item-thumb.html index 74ac59cd..22432be8 100644 --- a/_includes/item/child/item-thumb.html +++ b/_includes/item/child/item-thumb.html @@ -9,7 +9,7 @@ {% else %} {{ child.title | escape }} - {{ child.format }} {% endif %} diff --git a/_includes/item/item-markdown.html b/_includes/item/item-markdown.html new file mode 100644 index 00000000..ff183d4c --- /dev/null +++ b/_includes/item/item-markdown.html @@ -0,0 +1,22 @@ +{% comment %} + + Display the contents of object_location using markdownify. + +{% endcomment %} + +{% if page.object_location %} +
+ {% include item/item-markdown.html %} +
+