documentation update - cl-yag - Common Lisp Yet Another website Generator | |
git clone git://bitreich.org/cl-yag/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
LICENSE | |
--- | |
commit 0ff2a8a9d8d2d38a0998c17ce1a1098809051150 | |
parent b6217bd19691e99255d6ea2ae57c14c6d48b073a | |
Author: Solene Rapenne <[email protected]> | |
Date: Tue, 3 May 2016 14:10:43 +0200 | |
documentation update | |
Diffstat: | |
M README.md | 9 +++++---- | |
1 file changed, 5 insertions(+), 4 deletions(-) | |
--- | |
diff --git a/README.md b/README.md | |
@@ -23,20 +23,21 @@ Here are the files and folder of cl-yag : | |
Edit data/articles.lisp and add a new line inside the *articles* variable like… | |
- (list :id "2" :date "29 April 2016" :title "How do I use cl-yag" :author "… | |
- | |
+ (list :id "2" :date "29 April 2016" :title "How do I use cl-yag" :author "… | |
The _:short_ field is used on the homepage. It it is defined, this is the text… | |
The _:author_ field is used to display who wrote the article. You can omitt it… | |
+The _:tag_ field is used to create a page with all the articles with the same … | |
+ | |
# How to hack it | |
I tried to make it "hacking friendly" so it's very extensible. | |
-## Include a template page in the layout | |
+## Include some file in the template | |
-Here is an example code if you want to add something like a panel on the layou… | |
+Here is an example code if you want to include a page in the template | |
+ Add a string for the replacement to occure, like %%Panel%% in **template/lay… | |
+ In **generator.lisp** modify the function *generate-layout* to add "**(templ… |