From bfc0a1c3e6651ef085af5f38cfb742371a3fdfe2 Mon Sep 17 00:00:00 2001 From: Alex 'AdUser' Z Date: Tue, 26 Sep 2017 17:02:18 +1000 Subject: [PATCH] * upgrade to statocles 0.086 --- theme/blog/index.atom.ep | 2 +- theme/blog/index.rss.ep | 2 +- theme/{site/layout.html.ep => layout/default.html.ep} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename theme/{site/layout.html.ep => layout/default.html.ep} (100%) diff --git a/theme/blog/index.atom.ep b/theme/blog/index.atom.ep index 9420e82..88acc72 100644 --- a/theme/blog/index.atom.ep +++ b/theme/blog/index.atom.ep @@ -2,7 +2,7 @@ <%= $site->url($self->links('alternate')->href) %> <%= $site->title %> - <%= Time::Piece->new->strftime('%Y-%m-%dT%H:%M:%SZ') %> + <%= $self->date->new->strftime('%Y-%m-%dT%H:%M:%SZ') %> Statocles diff --git a/theme/blog/index.rss.ep b/theme/blog/index.rss.ep index e02928b..5a8578b 100644 --- a/theme/blog/index.rss.ep +++ b/theme/blog/index.rss.ep @@ -26,7 +26,7 @@ % }

]]> - <%= $p->date->strftime('%a, %d %b %Y %H:%M:%S ') . sprintf q{%+05d}, $p->date->tzoffset / 36 %> + <%= $p->date->strftime('%a, %d %b %Y %H:%M:%S ') . sprintf q{%+05d}, $p->date->offset / 36 %> % } diff --git a/theme/site/layout.html.ep b/theme/layout/default.html.ep similarity index 100% rename from theme/site/layout.html.ep rename to theme/layout/default.html.ep