From ad1dcf761670fc1e83e8aabe299537e669dfed78 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 2 Feb 2013 06:25:27 +0400 Subject: [PATCH] I do not know why but I added a page index template... Signed-off-by: Alex A. Naanou --- index.html | 11 ++++++++++- magazine.js | 31 +++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index e96e7f0..e75dcaa 100755 --- a/index.html +++ b/index.html @@ -463,7 +463,16 @@ $(document).ready(function(){

Page Templates

- home
+ +

+ This page contains several examples of template fields, + the first one is the simplest, the magazine name + ([MAGAZINE NAME]), + then we'll have the index (see next) and in the bottom-right + corner is the page number... +

+ +
[ARTICLE INDEX]
[PAGE NUMBER]
diff --git a/magazine.js b/magazine.js index 472c7a0..a922f4e 100755 --- a/magazine.js +++ b/magazine.js @@ -1181,6 +1181,37 @@ var MagazineTemplates = { || 'PortableMag') }, + // index... + '.article-index': function(elem){ + var list = $('