From 91e116792c8d8cd9319a4269a6465834b4116cf2 Mon Sep 17 00:00:00 2001 From: Solene Rapenne Date: Sat, 30 Apr 2016 18:14:33 +0200 Subject: [PATCH] adding recommendation note --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 7fba175..701b722 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,8 @@ Here is an example code if you want to add something like a panel on the layout. + In **generator.lisp** modify the function *generate-layout* to add "**(template "%%Panel%%" (slurp-file "template/panel.tpl"))**" after one template function call + Create **template/panel.tpl** with the html +(note : you can also directly add your text inside the layout template file instead of including another file) + ## Add a new specific page You may want to have some dedicated page for some reason, reusing the website layout, which is not the index nor an article.