diff --git a/pelicanconf.py b/pelicanconf.py index f9713ea..cf6d6ea 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -62,3 +62,15 @@ SITEMAP_SAVE_AS = 'sitemap.xml' DEFAULT_PAGINATION = 5 PYGMENTS_STYLE = 'manni' + +# Comments config + +FORM_COMMENTS = True + +FORM_PROPERTIES = { + 'name' : 'entry.982725972', + 'email':'entry.1652853191', + 'link':'entry.1641222305', + 'comment':'entry.1062656232', + 'action':'https://docs.google.com/forms/u/0/d/e/1FAIpQLSfL9T8WBRm-Ac2uyu74lJXSYOqAuF6lLIUAulRArCsuiI1ZRQ/formResponse' +} diff --git a/themes/alchemy/templates/include/comments.html b/themes/alchemy/templates/include/comments.html index 2835bd4..e9bbe31 100644 --- a/themes/alchemy/templates/include/comments.html +++ b/themes/alchemy/templates/include/comments.html @@ -1,21 +1,49 @@ -{% if DISQUS_SITENAME %} -
-
+{% if FORM_COMMENTS %} +
+ +
+
+
+ + + + You may put your GitHub Username. +
+
+ + + I'll never share your email with anyone + else. +
+
+
+ + + Enter upto 200 characters. +
+ +
+ +
+ - {% endif %} \ No newline at end of file