From 6b76008088ddaba3a97e5e06f61ea4d0aa0deefe Mon Sep 17 00:00:00 2001 From: Kaushal Modi Date: Sun, 11 Feb 2018 21:31:34 -0500 Subject: [PATCH] Add test for #+description keyword --- test/site/content-org/single-posts/post-toml.org | 1 + test/site/content/singles/post-toml.md | 1 + 2 files changed, 2 insertions(+) diff --git a/test/site/content-org/single-posts/post-toml.org b/test/site/content-org/single-posts/post-toml.org index 6954477..a3e73c6 100644 --- a/test/site/content-org/single-posts/post-toml.org +++ b/test/site/content-org/single-posts/post-toml.org @@ -7,6 +7,7 @@ #+hugo_tags: single toml "cross-link" #+hugo_categories: cat1 cat2 #+hugo_menu: :menu "foo" :weight 10 :parent main :identifier single-toml +#+description: Some description for this post. This is a single post. You do not need to set the =EXPORT_FILE_NAME= property in here. But then you also lose the tag and property diff --git a/test/site/content/singles/post-toml.md b/test/site/content/singles/post-toml.md index 6580046..23aa71c 100644 --- a/test/site/content/singles/post-toml.md +++ b/test/site/content/singles/post-toml.md @@ -1,5 +1,6 @@ +++ title = "Single Post with TOML front matter" +description = "Some description for this post." date = 2017-07-20 tags = ["single", "toml", "cross-link"] categories = ["cat1", "cat2"]