1
0
mirror of https://github.com/kremalicious/blog.git synced 2025-02-14 21:10:25 +01:00

remove timeago plugin

This commit is contained in:
Matthias Kretschmann 2015-04-17 22:37:35 +02:00
parent b212534703
commit c206f4cc1b
3 changed files with 3 additions and 5 deletions

View File

@ -5,7 +5,6 @@ group :development do
gem 'jekyll'
gem 'jekyll-sitemap'
gem 'jekyll-timeago'
gem 'jekyll-redirect-from'
gem 'jekyll-picture-tag'
gem 'rouge'

View File

@ -52,7 +52,6 @@ keep_files: ['media', 'gen']
gems:
- jekyll-sitemap
- jekyll-timeago
- jekyll-redirect-from
- jekyll-picture-tag

View File

@ -9,10 +9,10 @@
</a>
</p>
<time class="pubdate" datetime="{{ page.date | date_to_xmlschema }}" pubdate{% if page.updated %} data-updated="true"{% endif %}>{{ page.date | timeago }}</time>
<time class="pubdate" datetime="{{ page.date | date_to_xmlschema }}" pubdate{% if page.updated %} data-updated="true"{% endif %}>{{ page.date | date_to_string }}</time>
{% if page.updated %}
<time class="updated" datetime="{{ page.updated | date_to_xmlschema }}">Updated {{ page.updated | timeago }}</time>
<time class="updated" datetime="{{ page.updated | date_to_xmlschema }}">Updated {{ page.updated | date_to_string }}</time>
{% endif %}
</footer>