-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
202 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,91 +1,116 @@ | ||
{{!< default}} | ||
|
||
<div class="wrap"> | ||
<section class="blog-content"> | ||
|
||
<article class="{{post_class}}"> | ||
{{#post}} | ||
|
||
<a class="post-meta" href="{{@blog.url}}">← Volver a la Portada</a> | ||
|
||
<h1 class="post-title">{{{title}}}</h1> | ||
<section class="post-meta"> | ||
<img class="author-img" src="{{author.image}}" alt="Author image" nopin="nopin" /> | ||
<span class="author-name">{{author}}</span> | ||
on the | ||
<time datetime="{{date format='YYYY-MM-DD'}}">{{date format="Do el MMMM YYYY"}}</time> | ||
<span class="tags">{{tags prefix="• " separator=" "}}</span> | ||
</section> | ||
|
||
<section class="post-content"> | ||
{{#if image}}<img src="{{image}}" alt="Post image" />{{/if}} | ||
{{content}} | ||
</section> | ||
|
||
<footer class="post-footer"> | ||
|
||
<section class="share"> | ||
<div class="fb-like" data-href="{{url absolute="true"}}" data-layout="button_count" data-action="like" data-show-faces="false" data-share="false"></div> | ||
|
||
<a href="https://twitter.com/share" class="twitter-share-button" data-url="{{url absolute="true"}}" data-text="{{title}}" data-via="TryGhost" data-related="TryGhost">Tweet</a> | ||
|
||
<div class="g-plusone" data-size="medium" data-href="{{url absolute="true"}}"></div> | ||
<script type="text/javascript"> | ||
(function() { | ||
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; | ||
po.src = 'https://apis.google.com/js/platform.js'; | ||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s); | ||
})(); | ||
</script> | ||
|
||
<a data-pocket-label="pocket" data-pocket-count="horizontal" data-pocket-align="left" class="pocket-btn" data-lang="en"></a> | ||
<script type="text/javascript">!function(d,i){if(!d.getElementById(i)){var j=d.createElement("script");j.id=i;j.src="https://widgets.getpocket.com/v1/j/btn.js?v=1";var w=d.getElementById(i);d.body.appendChild(j);}}(document,"pocket-btn-js");</script> | ||
|
||
<a href="//www.pinterest.com/pin/create/button/?url={{url absolute="true"}}&description={{title}}" data-pin-do="buttonPin" data-pin-config="beside"><img src="//assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_20.png" /></a> | ||
<script type="text/javascript"> | ||
(function(d){ | ||
var f = d.getElementsByTagName('SCRIPT')[0], p = d.createElement('SCRIPT'); | ||
p.type = 'text/javascript'; | ||
p.async = true; | ||
p.src = '//assets.pinterest.com/js/pinit.js'; | ||
p.setAttribute('data-pin-hover', true); | ||
f.parentNode.insertBefore(p, f); | ||
}(document)); | ||
</script> | ||
<div class="wrap {{post_class}}"> | ||
<section class="blog-content"> | ||
|
||
<article> | ||
{{#post}} | ||
|
||
{{! If post is featured and has an image, make a big hero banner }} | ||
{{#if image}} | ||
{{#if featured}} | ||
<div class="hero"> | ||
<div class="hero-image" style="background-image: url({{image}});"></div> | ||
</div> | ||
{{/if}} | ||
{{/if}} | ||
|
||
<a class="post-meta" href="{{@blog.url}}">← Volver a la Portada</a> | ||
|
||
<h1 class="post-title">{{{title}}}</h1> | ||
<section class="post-meta"> | ||
<img class="author-img" src="{{author.image}}" alt="Author image" nopin="nopin" /> | ||
<span class="author-name">{{author}}</span> | ||
on the | ||
<time datetime="{{date format='YYYY-MM-DD'}}">{{date format="Do el MMMM YYYY"}}</time> | ||
<span class="tags">{{tags prefix="• " separator=" "}}</span> | ||
</section> | ||
|
||
<section class="post-content"> | ||
{{#if image}}{{#unless featured}}<img src="{{image}}" alt="Post image" />{{/unless}}{{/if}} | ||
{{content}} | ||
</section> | ||
|
||
<footer class="post-footer"> | ||
|
||
<section class="share"> | ||
<div class="fb-like" data-href="{{url absolute="true"}}" data-layout="button_count" data-action="like" data-show-faces="false" data-share="false"></div> | ||
|
||
<a href="https://twitter.com/share" class="twitter-share-button" data-url="{{url absolute="true"}}" data-text="{{title}}" data-via="TryGhost" data-related="TryGhost">Tweet</a> | ||
|
||
<div class="g-plusone" data-size="medium" data-href="{{url absolute="true"}}"></div> | ||
<script type="text/javascript"> | ||
(function() { | ||
var po = document.createElement('script'); | ||
po.type = 'text/javascript'; | ||
po.async = true; | ||
po.src = 'https://apis.google.com/js/platform.js'; | ||
var s = document.getElementsByTagName('script')[0]; | ||
s.parentNode.insertBefore(po, s); | ||
})(); | ||
</script> | ||
|
||
<a data-pocket-label="pocket" data-pocket-count="horizontal" data-pocket-align="left" class="pocket-btn" data-lang="en"></a> | ||
<script type="text/javascript"> | ||
! function(d, i) { | ||
if (!d.getElementById(i)) { | ||
var j = d.createElement("script"); | ||
j.id = i; | ||
j.src = "https://widgets.getpocket.com/v1/j/btn.js?v=1"; | ||
var w = d.getElementById(i); | ||
d.body.appendChild(j); | ||
} | ||
}(document, "pocket-btn-js"); | ||
</script> | ||
|
||
<a href="//www.pinterest.com/pin/create/button/?url={{url absolute="true"}}&description={{title}}" data-pin-do="buttonPin" data-pin-config="beside"> | ||
<img src="//assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_20.png" /> | ||
</a> | ||
<script type="text/javascript"> | ||
(function(d) { | ||
var f = d.getElementsByTagName('SCRIPT')[0], | ||
p = d.createElement('SCRIPT'); | ||
p.type = 'text/javascript'; | ||
p.async = true; | ||
p.src = '//assets.pinterest.com/js/pinit.js'; | ||
p.setAttribute('data-pin-hover', true); | ||
f.parentNode.insertBefore(p, f); | ||
}(document)); | ||
</script> | ||
</section> | ||
|
||
<section class="author"> | ||
<img class="author-img" src="{{author.image}}" alt="Author image" nopin="nopin" /> | ||
<div class="author-meta"> | ||
<h4>{{author.name}}</h4> | ||
<p>{{author.bio}} <a href="{{author.website}}">{{author.website}}</a></p> | ||
</div> | ||
</section> | ||
|
||
<section class="read-next"> | ||
{{#next_post}} | ||
<a class="read-next-story {{#if image}}" style="background-image: url({{image}}){{else}}no-cover{{/if}}" href="{{url}}"> | ||
<section class="post"> | ||
<h2>{{title}}</h2> | ||
<p>{{excerpt words="19"}}…</p> | ||
</section> | ||
</a> | ||
{{/next_post}} | ||
</section> | ||
|
||
<section class="author"> | ||
<img class="author-img" src="{{author.image}}" alt="Author image" nopin="nopin" /> | ||
<div class="author-meta"> | ||
<h4>{{author.name}}</h4> | ||
<p>{{author.bio}} <a href="{{author.website}}">{{author.website}}</a></p> | ||
</div> | ||
</section> | ||
|
||
<section class="read-next"> | ||
{{#next_post}} | ||
<a class="read-next-story {{#if image}}" style="background-image: url({{image}}){{else}}no-cover{{/if}}" href="{{url}}"> | ||
<section class="post"> | ||
<h2>{{title}}</h2> | ||
<p>{{excerpt words="19"}}…</p> | ||
</section> | ||
</a> | ||
{{/next_post}} | ||
</section> | ||
|
||
<a class="button-add large wide" data-toggle="modal" data-target="#blogsubscribe">Subscríbete y recíbelo en tu correo</a> | ||
<a class="button-add large wide" data-toggle="modal" data-target="#blogsubscribe">Subscríbete y recíbelo en tu correo</a> | ||
|
||
</footer> | ||
</footer> | ||
|
||
<section class="comments"> | ||
{{> comments}} | ||
</section> | ||
<section class="comments"> | ||
{{> comments}} | ||
</section> | ||
|
||
{{/post}} | ||
</article> | ||
{{/post}} | ||
</article> | ||
|
||
</section> | ||
</section> | ||
|
||
{{> sidebar}} | ||
{{> sidebar}} | ||
|
||
</div> |