URI:
       allow pages to not be indexes - saait - the most boring static page generator
  HTML git clone git://git.codemadness.org/saait
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 68b7e11cb8d6eee9bfe01fa6fa8728d0d946c63d
   DIR parent 8724977835f5e052068a0949b9a8ba07d97bcee3
  HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Fri,  4 Aug 2017 14:29:37 +0200
       
       allow pages to not be indexes
       
       set in a .cfg config file the line:
       
               index=0
       
       Diffstat:
         M saait.c                             |       3 +++
       
       1 file changed, 3 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/saait.c b/saait.c
       @@ -425,6 +425,9 @@ main(int argc, char *argv[])
                                        }
                                        fclose(templates[j].fp);
                                } else {
       +                                v = getvar(c, "index");
       +                                if (v && v->value[0] == '0')
       +                                        continue;
                                        b = &templates[j].blocks[BlockItem];
                                        writepage(templates[j].fp, b->name, c, b->data);
                                }