Permalink
Browse files

added support for txtpen

  • Loading branch information...
rickyhan committed Apr 10, 2017
1 parent 1c9a79e commit 9f383dcd22d24a8c625e09bd0b2ea3dda074734f
Showing with 13 additions and 0 deletions.
  1. +5 −0 README.md
  2. +4 −0 _config.yml
  3. +4 −0 _layouts/post.html
View
@@ -115,10 +115,15 @@ The contact form uses <http://formspree.io>. It will require you to fill the for
More setup instructions and advanced options can be found at [http://formspree.io](http://formspree.io/)
+
### Disqus
To configure Disqus, set up a [Disqus site](https://disqus.com/admin/create/) with the same name as your site. Then, in `_config.yml`, edit the `disqus_shortname` value to enable Disqus.
+### txtpen
+
+To configure txtpen, set up a [txtpen site](https://txtpen.com/go) with the same name as your site. Then, in `_config.yml`, edit the `txtpen_sitename` value to enable txtpen
+
### Customizing the CSS
All variables can be found in the `_sass/_variables.scss` file, toggle these as you'd like to change the look and feel of Pixyll.
View
@@ -37,6 +37,10 @@ fb_page_id:
# (leave blank to disable Disqus)
disqus_shortname:
+# txtpen post comments
+# (leave blank to disable txtpen)
+txtpen_sitename:
+
# Facebook Comments plugin
# (leave blank to disable Facebook Comments, otherwise set it to true)
facebook_comments:
View
@@ -34,6 +34,10 @@ <h1>{{ page.title }}</h1>
{% include post_footer.html %}
{% endif %}
+{% if txtpen.txtpen_sitename %}
+ <script src="https://txtpen.com/embed.js?site={{txtpen.txtpen_sitename}}" />
+{% endif %}
+
{% if site.disqus_shortname %}
<div id="disqus_thread"></div>
<script type="text/javascript">

0 comments on commit 9f383dc

Please sign in to comment.