From d4546a3716f3045908c16742a30372577097e776 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konrad=20F=C3=B6rstner?= Date: Sun, 15 May 2016 12:22:36 +0200 Subject: [PATCH 1/2] Correct template path --- pelican_comment_system/doc/quickstart.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pelican_comment_system/doc/quickstart.md b/pelican_comment_system/doc/quickstart.md index 69499c597..038c8062e 100644 --- a/pelican_comment_system/doc/quickstart.md +++ b/pelican_comment_system/doc/quickstart.md @@ -6,9 +6,9 @@ This form allows your visitors to easily write comments and send them to you via 1. Merge the `./theme` folder with your own theme folder, or copy the files manually ``` - mkdir -p [yourtheme]/template/pcs + mkdir -p [yourtheme]/templates/pcs mkdir -p [yourtheme]/static/js - cp ./theme/template/pcs/comments.html [yourtheme]/template/pcs/comments.html + cp ./theme/template/pcs/comments.html [yourtheme]/templates/pcs/comments.html cp ./theme/static/js/comments.js [yourtheme]/static/js/comments.html ``` From 780ad9a91e8669d01a04794744c1efe070ea8cb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konrad=20F=C3=B6rstner?= Date: Sun, 15 May 2016 13:20:49 +0200 Subject: [PATCH 2/2] Rename to be consistent with general template structure --- pelican_comment_system/doc/installation.md | 2 +- pelican_comment_system/doc/quickstart.md | 2 +- .../theme/{template => templates}/pcs/comments.html | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename pelican_comment_system/theme/{template => templates}/pcs/comments.html (100%) diff --git a/pelican_comment_system/doc/installation.md b/pelican_comment_system/doc/installation.md index 91b567c9e..56869b4a1 100644 --- a/pelican_comment_system/doc/installation.md +++ b/pelican_comment_system/doc/installation.md @@ -114,4 +114,4 @@ Attribute | Description {% endif %} ``` -For a more complex / extensive example have a look at [theme/template/pcs/comments.html](../theme/template/pcs/comments.html) \ No newline at end of file +For a more complex / extensive example have a look at [theme/templates/pcs/comments.html](../theme/templates/pcs/comments.html) \ No newline at end of file diff --git a/pelican_comment_system/doc/quickstart.md b/pelican_comment_system/doc/quickstart.md index 038c8062e..3ef675bbe 100644 --- a/pelican_comment_system/doc/quickstart.md +++ b/pelican_comment_system/doc/quickstart.md @@ -8,7 +8,7 @@ This form allows your visitors to easily write comments and send them to you via ``` mkdir -p [yourtheme]/templates/pcs mkdir -p [yourtheme]/static/js - cp ./theme/template/pcs/comments.html [yourtheme]/templates/pcs/comments.html + cp ./theme/templates/pcs/comments.html [yourtheme]/templates/pcs/comments.html cp ./theme/static/js/comments.js [yourtheme]/static/js/comments.html ``` diff --git a/pelican_comment_system/theme/template/pcs/comments.html b/pelican_comment_system/theme/templates/pcs/comments.html similarity index 100% rename from pelican_comment_system/theme/template/pcs/comments.html rename to pelican_comment_system/theme/templates/pcs/comments.html