From a846e514aa281059f8b207823d1ff7612b89b768 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Thu, 11 Oct 2018 19:04:38 +0800 Subject: License and shit. --- README.rst | 4 ++++ generator/listrenderer.js | 2 ++ generator/main.js | 2 ++ generator/postrenderer.js | 4 +++- generator/scanner.js | 2 ++ 5 files changed, 13 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 5663ebc..9a165cb 100644 --- a/README.rst +++ b/README.rst @@ -26,3 +26,7 @@ In directory ``generator``:: --force: ignores time stamp and force generation of all pages. + +License: + +Expat License (MIT) diff --git a/generator/listrenderer.js b/generator/listrenderer.js index fd58b3a..ce360af 100644 --- a/generator/listrenderer.js +++ b/generator/listrenderer.js @@ -1,3 +1,5 @@ +//Copyright Chris Xiong 2018 +//License: Expat (MIT) module.exports={ render:function(outf,pginfo,posts){return _render(outf,pginfo,posts);}, set_template:function(tmplf){return _set_template(tmplf);} diff --git a/generator/main.js b/generator/main.js index 0d86ca5..ccdc380 100644 --- a/generator/main.js +++ b/generator/main.js @@ -1,3 +1,5 @@ +//Copyright Chris Xiong 2018 +//License: Expat (MIT) const content_dir='../content'; const template_dir='../templates'; const dest_dir='../generated'; diff --git a/generator/postrenderer.js b/generator/postrenderer.js index 729c4df..8797c22 100644 --- a/generator/postrenderer.js +++ b/generator/postrenderer.js @@ -1,3 +1,5 @@ +//Copyright Chris Xiong 2018 +//License: Expat (MIT) module.exports={ render:function(inf,outf,np,pp){return _render(inf,outf,np,pp);}, set_template:function(tmplf){return _set_template(tmplf);} @@ -85,7 +87,7 @@ async function encrypt(doc) i.setAttribute('enid',enid); i.innerHTML= `This section is encrypted. Click here -to decrypt. `; +to decrypt. `; ++enid; } } diff --git a/generator/scanner.js b/generator/scanner.js index 0817cdb..87b3f2f 100644 --- a/generator/scanner.js +++ b/generator/scanner.js @@ -1,3 +1,5 @@ +//Copyright Chris Xiong 2018 +//License: Expat (MIT) module.exports={ scan:function(s,d){return _scan(s,d);}, build_list_index:function(){return _build_list_index();} -- cgit v1.2.3