tumblrのテーマにmicroformatsの力を授けよー
hfeed追加
<body> - <div id="content"> + <div id="content" class="hfeed"> <h1><a href="/">{Title}</a></h1>
hentry追加
{block:Posts} - <div class="post"> + <div class="post hentry"> <div class="labels">
rel="bookmark"追加とclass="published"追加
{block:NewDayDate} - <div class="date"> -<a href="{Permalink}">{Year}-{MonthNumberWithZero}-{DayOfMonthWithZero}T{24HourWithZero}:{Minutes}:{Seconds}Z</a> -</div> + <div class="date newdaydate"> + <a class="permalink" rel="bookmark" href="{Permalink}"> + <abbr class="published" title="{Year}-{MonthNumberWithZero}-{DayOfMonthWithZero}T{24HourWithZero}:{Minutes}:{Seconds}Z">{Year}-{MonthNumberWithZero}-{DayOfMonthWithZero}T{24Hour}:{Minutes}:{Seconds}Z</abbr> + </a> + </div> {/block:NewDayDate}
同上
{block:SameDayDate} - <div class="date"> -<a href="{Permalink}">{Year}-{MonthNumberWithZero}-{DayOfMonthWithZero}T{24HourWithZero}:{Minutes}:{Seconds}Z</a> -</div> + <div class="date somedaydate"> + <a class="permalink" rel="bookmark" href="{Permalink}"> + <abbr class="published" title="{Year}-{MonthNumberWithZero}-{DayOfMonthWithZero}T{24HourWithZero}:{Minutes}:{Seconds}Z">{Year}-{MonthNumberWithZero}-{DayOfMonthWithZero}T{24Hour}:{Minutes}:{Seconds}Z</abbr> + </a> + </div> {/block:SameDayDate}
textはコレ。class="entry-title"とrel="bookmark"とspan class="entry-content"追加
{block:Regular} - <div class="regular {TagsAsClasses}"> - {block:Title}<h2><a href="{Permalink}">{Title}</a></h2>{/block:Title} - {Body} - </div> + <div class="regular {TagsAsClasses}"> + {block:Title}<h2 class="entry-title"><a rel="bookmark" href="{Permalink}">{Title}</a></h2>{/block:Title} + <span class="entry-content">{Body}</span> + </div> {/block:Regular}
quoteとかfotoとかlinkとかモロモロは省略(後でちゃんと見る)。
意味は今から理解する!!!(いいんだ、まずは型から入るんだあ)