Commit fae9cfef authored by Caner Candan's avatar Caner Candan

* added gravator to index and posts layouts

parent b4d132fa
......@@ -14,7 +14,16 @@ layout: default
{% if page.subtitle %}
<h2 class="subheading">{{ page.subtitle }}</h2>
{% endif %}
<span class="meta">Posted by {% if page.author %}{{ author.name }}{% else %}{{ site.title }}{% endif %} on {{ page.date | date: "%B %-d, %Y" }}</span>
<span class="meta">
<img style="display: inline; vertical-align: initial; border-radius: 10px" src="https://secure.gravatar.com/avatar/{{author.gravatar}}?s=17"/>
Posted by
{% if page.author %}
{{ author.name }}
{% else %}
{{ site.title }}
{% endif %}
on {{ page.date | date: "%B %-d, %Y" }}
</span>
</div>
</div>
</div>
......
This diff is collapsed.
......@@ -16,7 +16,18 @@ description: <b>Forge'it</b> thoughts, stories and ideas.
</h3>
{% endif %}
</a>
<p class="post-meta">Posted by {% if post.author %}{{ author.name }}{% else %}{{ site.title }}{% endif %} on {{ post.date | date: "%B %-d, %Y" }}</p>
<p class="post-meta">
<span>
<img style="display: inline; vertical-align: initial; border-radius: 10px" src="https://secure.gravatar.com/avatar/{{author.gravatar}}?s=17"/>
</span>
Posted by
{% if post.author %}
{{ author.name }}
{% else %}
{{ site.title }}
{% endif %}
on {{ post.date | date: "%B %-d, %Y" }}
</p>
</div>
<hr>
{% endfor %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment