Skip to content

Commit

Permalink
added txtpen support
Browse files Browse the repository at this point in the history
  • Loading branch information
0b01 committed Apr 10, 2017
1 parent f211e1e commit 7f233dc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ View this jekyll theme in action [here](http://artemsheludko.pw/mr-brown/)
Integrations
- [Google Fonts](https://fonts.google.com/)
- [Disqus](https://disqus.com/)
- [txtpen](https://txtpen.com/)
- [Font Awesome](http://fontawesome.io/)
- Social media links

Expand Down
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ baseurl: "/mr-brown" # the subpath of your site, e.g. /blog

# Comments
discus_identifier: mr-brown
txtpen_identifier: mr-brown

# Social settings
twitter_url: https://twitter.com/artemsheludko_
Expand Down
3 changes: 3 additions & 0 deletions _includes/txtpen.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{% if site.txtpen_identifier %}
<script src="https//txtpen.com/embed.js?site={{site.txtpen_identifier}}" />
{% endif %}
1 change: 1 addition & 0 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ <h1 class="page-title">{{page.title}}</h1>
</article>
{% include share.html %}
{% include disqus.html %}
{% include txtpen.html %}
</div>
</div>
</main>
Expand Down

0 comments on commit 7f233dc

Please sign in to comment.