Skip to content

Commit 141ea03

Browse files
committed
Merge pull request coffeescript-cookbook#92 from SonicHedgehog/last-updated
Automatically update “last updated” date
2 parents bef9139 + 5f35db8 commit 141ea03

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

_layouts/chapter.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ <h2>{{ page.title }}</h2>
5555
<section class="sidebar-block block-short">
5656
<nav class="navigation pages-nav home-nav">
5757
<h6><a class="nav-link" href="/"><span class="entypo">&oacute;</span>CoffeeScript Cookbook</a></h6>
58-
<small class="thin dimmed">(last updated 28 August, 2012)</small>
58+
<small class="thin dimmed">(last updated {{ site.time | date: "%d %B, %Y" }})</small>
5959
</nav>
6060
</section>
6161

_layouts/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ <h1><a class="" href="/"><span class="entypo">&oacute;</span><span class="title
5252
<section class="sidebar-block block-short">
5353
<nav class="navigation pages-nav home-nav">
5454
<h6><a class="nav-link" href="/"><span class="entypo">&oacute;</span>CoffeeScript Cookbook</a></h6>
55-
<small class="thin dimmed">(last updated 28 August, 2012)</small>
55+
<small class="thin dimmed">(last updated {{ site.time | date: "%d %B, %Y" }})</small>
5656
</nav>
5757
</section>
5858

_layouts/recipe.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ <h1>{{ page.title }}</h1>
5454
<section class="sidebar-block block-short">
5555
<nav class="navigation pages-nav home-nav">
5656
<h6><a class="nav-link" href="/"><span class="entypo">&oacute;</span>CoffeeScript Cookbook</a></h6>
57-
<small class="thin dimmed">(last updated 28 August, 2012)</small>
57+
<small class="thin dimmed">(last updated {{ site.time | date: "%d %B, %Y" }})</small>
5858
</nav>
5959
</section>
6060

0 commit comments

Comments
 (0)