Mercurial > hg > Blog
comparison themes/tuxlite_tbs/templates/simple_comments.html @ 72:c2b99e876559 pelican_comment_system
use the pelican_plugin_system from the standard pelican plugins instead of my own simple_comments
| author | Dirk Olmes <dirk@xanthippe.ping.de> |
|---|---|
| date | Sat, 02 Jan 2016 04:47:39 +0100 |
| parents | 96084c11584a |
| children |
comparison
equal
deleted
inserted
replaced
| 71:6e8d97e43bd7 | 72:c2b99e876559 |
|---|---|
| 11 {{ comment.text }} | 11 {{ comment.text }} |
| 12 </div> | 12 </div> |
| 13 </div> | 13 </div> |
| 14 {% endfor %} | 14 {% endfor %} |
| 15 {% endif %} | 15 {% endif %} |
| 16 {% if article.metadata.allowcomments %} | |
| 17 <div style="padding: 20px 0px 0px 0px;"> | |
| 18 <div style="font-size: 120%;"> | |
| 19 Leave a comment | |
| 20 </div> | |
| 21 {% if False %} | |
| 22 <form action="http://xanthippe.duckdns.org/blog-comments/simple_comments.php" method="POST"> | |
| 23 {% endif %} | |
| 24 <form action="http://xanthippe.duckdns.org/blog-comments/submit_comment.php" method="POST"> | |
| 25 <input type="hidden" name="Slug" value="{{ article.slug }}"> | |
| 26 <table style="padding: 10px 0px 0px 0px;"> | |
| 27 <tr> | |
| 28 <td> | |
| 29 Your name: | |
| 30 </td> | |
| 31 <td> | |
| 32 <input type="text" name="Author"> | |
| 33 </td> | |
| 34 </tr> | |
| 35 <tr> | |
| 36 <td> | |
| 37 Comment: | |
| 38 </td> | |
| 39 <td> | |
| 40 <textarea rows="5" cols="60" name="Comment"></textarea> | |
| 41 </td> | |
| 42 </tr> | |
| 43 {% if False %} | |
| 44 <tr> | |
| 45 <td colspan="2"> | |
| 46 Please type the characters you see in this image: | |
| 47 <td> | |
| 48 <td></td> | |
| 49 </tr> | |
| 50 <tr> | |
| 51 <td> | |
| 52 <img src="{{ SITEURL }}/{{ article.slug }}.jpg"> | |
| 53 </td> | |
| 54 <td> | |
| 55 <input type="text" name="Challenge"> | |
| 56 </td> | |
| 57 </tr> | |
| 58 {% endif %} | |
| 59 <tr> | |
| 60 <td> | |
| 61 <input type="submit" value="Submit"> | |
| 62 </td> | |
| 63 <td></td> | |
| 64 </tr> | |
| 65 </table> | |
| 66 </form> | |
| 67 </div> | |
| 68 {% endif %} |
