Browse Source
2. Improved blog typography 3. Improved support for Disqus 4. Removed unnecessary page layoutunreleased_contents
Brandon Mathis
14 years ago
13 changed files with 110 additions and 79 deletions
@ -1,7 +1,13 @@ |
|||||
|
<div id="disqus_thread"></div> |
||||
<script type="text/javascript"> |
<script type="text/javascript"> |
||||
var disqus_url = "{{ site.url }}{{ page.url }}"; |
var disqus_shortname = '{{ site.disqus_short_name }}'; |
||||
|
var disqus_identifier = '{{ site.url }}{{ page.url }}'; |
||||
|
var disqus_url = '{{ site.url }}{{ page.url }}'; |
||||
|
var disqus_developer = 1; |
||||
|
(function() { |
||||
|
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; |
||||
|
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js'; |
||||
|
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); |
||||
|
})(); |
||||
</script> |
</script> |
||||
<noscript> |
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> |
||||
<a href="http://{{ site.disqus_short_name }}.disqus.com/?url=ref">View the discussion thread</a> |
|
||||
</noscript> |
|
||||
<script type="text/javascript" src="http://disqus.com/forums/{{ site.disqus_short_name }}/embed.js"></script> |
|
||||
|
@ -1,7 +0,0 @@ |
|||||
{% if page.date %} |
|
||||
<time datetime="{{ page.date | datetime }}" pubdate {% if page.updated %} updated {% endif %}>{{ page.date | ordinalize }}</time> |
|
||||
{% endif %} |
|
||||
{% if page.updated %} |
|
||||
<time class="updated" datetime="{{ page.updated | datetime }}"></time> |
|
||||
{% endif %} |
|
||||
{% if author %}<span class="byline author vcard"><span class="fn">{{ author }}</span></span>{% endif %} |
|
@ -1,13 +1,5 @@ |
|||||
--- |
--- |
||||
layout: default |
layout: post |
||||
no_title_link: true |
|
||||
permalink: pretty |
|
||||
single: true |
|
||||
--- |
--- |
||||
|
|
||||
<article> |
<!-- if you want a page layout --> |
||||
{% include article.html %} |
|
||||
{% if site.disqus_short_name %} |
|
||||
<div id="disqus_thread">{% include disqus_thread.html %}</div> |
|
||||
{% endif %} |
|
||||
</article> |
|
||||
|
Loading…
Reference in new issue