-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from PerlDancer/bigpresh/twelvedays_support
Twelve Days support
- Loading branch information
Showing
2 changed files
with
62 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
|
||
<h1>Perl Dancer Advent Calendar [% year %]</h1> | ||
|
||
<h2>The Twelve Days of Dancer</h2> | ||
|
||
<p> | ||
Happy Christmas, and welcome to the Dancer team's advent calendar for | ||
[% year %]! We've gone for a cut-down "twelve days of Dancer" approach due to | ||
a shortage of quality posts and time - we'd rather put out fewer, better | ||
articles than just a load of filler. | ||
</p> | ||
|
||
[% IF other_years.size %] | ||
<p>Other years: | ||
[% FOR otheryear IN other_years %] | ||
<a href="/[% otheryear %]">[% otheryear %]</a> | ||
[% END %] | ||
</p> | ||
[% END %] | ||
|
||
|
||
<div class="advent-calendar"> | ||
[% FOR a IN articles %] | ||
[% IF a.viewable -%] | ||
<a class="advent-day" href="/[% year %]/[% a.day %]">[% a.day %]</a> | ||
[%- ELSE -%] | ||
<span class="advent-day"> </span> | ||
[%- END %] | ||
[% END %] | ||
</div> | ||
|
||
|
||
[% IF all_entries.size %] | ||
<h2>Full article list</h2> | ||
<p> | ||
Here's a full list of the previous posts with their titles: | ||
</p> | ||
<ol> | ||
[% FOR a IN all_entries %] | ||
<li><a href="[% year %]/[% a.issued.day %]">[% a.title %]</a></li> | ||
[% END %] | ||
</ol> | ||
[% END %] | ||
|
||
|