adding recommendation note - cl-yag - Common Lisp Yet Another website Generator HTML git clone git://bitreich.org/cl-yag/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/cl-yag/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 91e116792c8d8cd9319a4269a6465834b4116cf2 DIR parent c31fd9ad38a23797997e15af455ddd1c89c7db1f HTML Author: Solene Rapenne <solene@dataswamp.org> Date: Sat, 30 Apr 2016 18:14:33 +0200 adding recommendation note Diffstat: M README.md | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) --- DIR diff --git 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.