From 8356e48e4792cb26f6349482111036908dcbc38f Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Thu, 23 Jul 2020 16:24:44 +0530 Subject: Add option to use 1st entry as some Information Currenty supports 2 vals Title and Content Great for short intro for bloggers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit can be enabled by using `Params.homeInfoParams` homeInfoParams: enabled: true Title: Hi there 👋 Content: This is Content !! Can be Info, links, social-icons... --- layouts/partials/homeInfo.html | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 layouts/partials/homeInfo.html (limited to 'layouts/partials') diff --git a/layouts/partials/homeInfo.html b/layouts/partials/homeInfo.html new file mode 100644 index 0000000..26d0b0f --- /dev/null +++ b/layouts/partials/homeInfo.html @@ -0,0 +1,10 @@ +{{ with $.Site.Params.homeInfoParams }} +
+
+

{{ .Title }}

+
+
+

{{ .Content | plainify | htmlUnescape }}...

+
+
+{{end}} \ No newline at end of file -- cgit v1.2.3