Skip to content

Instantly share code, notes, and snippets.

@funkatron
Created March 17, 2011 15:23
Show Gist options
  • Select an option

  • Save funkatron/874509 to your computer and use it in GitHub Desktop.

Select an option

Save funkatron/874509 to your computer and use it in GitHub Desktop.
EE embed template used by jekyll exporter. You'll need to enable PHP parsing on INPUT to use this
<?php
global $IN;
$IN->QSTR = '{embed:the_entry_id}'
?>
<div id="comments" data-entry-id="{embed:the_entry_id}" data-url-title="{embed:the_url_title}">
<ul>
{exp:comment:entries weblog="default_site" sort="asc"}
<li class="comment">
<a name="{comment_id}" class="comment-id anchor"></a>
<div class="comment-author">{name}</div>
<div class="comment-author-url">{url}</div>
<div class="comment-date">{comment_date format="%m/%d/%Y %h:%i:%s %A"}</date>
<div class="comment-body">{exp:markypants}{comment}{/exp:markypants}</div>
</li>
{/exp:comment:entries}
</ul>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment