Permalink
Browse files

use diqsus for comments

Can be disabled per-post with "comments: false" frontmatter
closes #21
  • Loading branch information...
rnicholus committed Sep 4, 2015
1 parent c8382ec commit c64fd469b9bd7d7edf6a0918c0d1668426c79842
View
@@ -1,6 +1,7 @@
_site
.sass-cache
.bundle
.DS_Store
# Pelican shit
cache/
@@ -82,3 +82,7 @@ ul.inline {
.clear {
clear: both;
}
.comments {
margin-top: 10px;
}
View
@@ -4,6 +4,7 @@ timezone: "America/Chicago"
baseurl: "" # the subpath of your site, e.g. /blog/
url: "http://engineering.widen.com"
email: "engineering@widen.com"
disqus: widen-engineering
# DEFAULTS
defaults:
View
@@ -0,0 +1,17 @@
{% if site.disqus %}
<div class="comments">
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_shortname = '{{ site.disqus }}';
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
</div>
{% endif %}
View
@@ -12,4 +12,8 @@ <h1><a title="{{page.title}}" href="{{page.url}}">{{ page.title }}</a></h1>
{{ content }}
</article>
{% if page.comments != false %}
{% include disqus.html disqus_identifier=page.disqus_identifier %}
{% endif %}
</div>
@@ -4,6 +4,7 @@ author: Mark Feltner
categories: aws lambda hack
published: true
permalink: /blog/2015/08/27/AWS-Lambda-Runtime-Configuration
comments: false
---
A while ago Amazon released its [Lambda](http://aws.amazon.com/lambda/) service. Lambdas are simple, stateless functions that get executed as callbacks to arbitrary AWS events.

0 comments on commit c64fd46

Please sign in to comment.