Skip to content

Commit

Permalink
Merge pull request #58 from Scot3004/twitter_handle
Browse files Browse the repository at this point in the history
Arreglado twitter_handle
  • Loading branch information
Scot3004 authored Jul 19, 2017
2 parents c441768 + 1faed97 commit f39390b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion content/blog/first-post/contents.lr
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@ pub_date: 2017-05-05
---
author: Sergio C. Orozco Torres
---
body: La comunidad se place en anunciar que el nuevo sitio web se encuentra en desarrollo activo para lo cual se está usando lektor como gestor de contenidos
body:

La comunidad se place en anunciar que el nuevo sitio web se encuentra en desarrollo activo para lo cual se está usando lektor como gestor de contenidos
---
twitter_handle: scot3004
2 changes: 1 addition & 1 deletion templates/blog-post.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ <h3>{{ this.title }}</h3>
<div class="row">
<div class="post-meta"><csmall>Escrito: {{ this.pub_date }}.</csmall> | <csmall2>
por: {% if this.twitter_handle %}
<a href="https://twitter.com/{{ post.twitter_handle}}">
<a href="https://twitter.com/{{ this.twitter_handle}}" target="_blank">
{{ this.author or this.twitter_handle }}
</a>
{% else %}
Expand Down

0 comments on commit f39390b

Please sign in to comment.