Skip to content

Commit

Permalink
getting web mentions togeter
Browse files Browse the repository at this point in the history
  • Loading branch information
voitto committed Jun 23, 2013
1 parent 9f31949 commit 6b4b962
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 48 deletions.
3 changes: 2 additions & 1 deletion lib.js
Expand Up @@ -103,7 +103,8 @@ Model.prototype.save = function() {
var postdata = {
title: $('#post-title').val(),
author: $('#post-author').val(),
author_url: $('#post-author_url').val()
author_url: $('#post-author_url').val(),
in_reply_to: $('#post-in_reply_to').val()
};
$.ajax({
type: "POST",
Expand Down
96 changes: 55 additions & 41 deletions node_modules/zygote/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 17 additions & 6 deletions views/post/_show.html
Expand Up @@ -3,18 +3,29 @@

{{#items}}

<div class="hentry">
<div class="h-entry">

<h2 class="entry-title">{{title}}</h2>

<span class="published">Posted {{published}}</span>
<a title="link" href="{{{post_url}}}" class="u-url" >

<span class="updated">Updated {{updated}}</span>
<time class="dt-published published" datetime="{{published}}">{{published}}</time>

<i class="icon-time"></i>

<a class="h-card author" href="{{{author_url}}}">
<img alt="{{author}}"
src="{{{profile_image}}}" />
</a>

<div class="h-card author">

<a class="u-url" href="{{{author_url}}}">

<img alt="{{author}}" class="u-photo" src="{{{profile_image}}}">

</a>

<p class="p-name">{{author}}</p>

</div>

</div>

Expand Down

0 comments on commit 6b4b962

Please sign in to comment.