diff options
-rw-r--r-- | _includes/common/footer.html | 2 | ||||
-rw-r--r-- | _includes/common/sidebar.html | 2 | ||||
-rw-r--r-- | _layouts/post.html | 2 | ||||
-rw-r--r-- | posts/index.html | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/_includes/common/footer.html b/_includes/common/footer.html index c5c99f4..c1d80e2 100644 --- a/_includes/common/footer.html +++ b/_includes/common/footer.html @@ -11,7 +11,7 @@ </div> <div style="display: table-row;"> <div style="display: table-cell;"> - <div class="text-center text-muted"><small>This version of the page was generated on {{ site.time | date_to_long_string }}.</small></div> + <div class="text-center text-muted"><small>This version of the page was generated on {{ site.time | date: '%-d %B %Y' }}.</small></div> </div> </div> </div> diff --git a/_includes/common/sidebar.html b/_includes/common/sidebar.html index 39ec314..991beee 100644 --- a/_includes/common/sidebar.html +++ b/_includes/common/sidebar.html @@ -17,7 +17,7 @@ You can examine the plots <a href="{{ site.baseurl }}/">here</a>.</p> <div class="list-group wide-enough"> {% for post in site.posts limit: 5 %} <a class="list-group-item" href="{{ site.baseurl }}{{ post.url }}"> - <span class="badge"><span class="glyphicon glyphicon-time"></span> {{ post.date | date_to_string }}</span> + <span class="badge"><span class="glyphicon glyphicon-time"></span> {{ post.date | date: '%-d %b %Y' }}</span> <span class="glyphicon glyphicon-file"></span> {{ post.title }} </a> {% endfor %} diff --git a/_layouts/post.html b/_layouts/post.html index 187b951..b10a923 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -2,7 +2,7 @@ <div class="row"> <div class="col-md-8"> <h1>{{ page.title }}</h1> - <p class="text-muted"><span class="glyphicon glyphicon-time"></span> Posted on {{ page.date | date_to_long_string }}</p> + <p class="text-muted"><span class="glyphicon glyphicon-time"></span> Posted on {{ page.date | date: '%-d %B %Y' }}</p> {{ content }} <hr/> </div> diff --git a/posts/index.html b/posts/index.html index fb91205..a18beb6 100644 --- a/posts/index.html +++ b/posts/index.html @@ -13,7 +13,7 @@ root_page: true {% else %} {% for post in paginator.posts %} <h2><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h2> - <p class="text-muted"><span class="glyphicon glyphicon-time"></span> Posted on {{ post.date | date_to_long_string }}</p> + <p class="text-muted"><span class="glyphicon glyphicon-time"></span> Posted on {{ post.date | date: '%-d %B %Y' }}</p> <p>{{ post.excerpt }}</p> <hr/> {% endfor %} |