aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.rst4
-rw-r--r--generator/listrenderer.js2
-rw-r--r--generator/main.js2
-rw-r--r--generator/postrenderer.js4
-rw-r--r--generator/scanner.js2
5 files changed, 13 insertions, 1 deletions
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 <a href="javascript:void(0)" onclick="decryptui(${enid})">here</a>
-to decrypt. <noscript>Note that you need JavaScript enabled for decryption.</noscript>`;
+to decrypt. <noscript>Note that you need have JavaScript enabled for decryption.</noscript>`;
++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();}