カスタマイズ用覚書
<% if:have_content_left -%>左サイドの有無
<% content_left %>左サイドコンテンツ
<% if:have_content_right -%>右サイドの有無
<% content_right %>右サイドコンテンツ
--------------------------------------------------------------------------
<% content.title %>サイドバータイトル
--------------------------------------------------------------------------
<% loop:list_category -%>カテゴリー
<% category.page_url %>
<% category.name | tag_break %>
(<% category.article_count | __or__ | echo("0") %>)
<% /loop -%>
--------------------------------------------------------------------------
<% loop:list_article -%>最近の記事
<% article.page_url %>
<% article.subject | tag_break %>
(<% article.createstamp | date_format("%m/%d") %>)
<% /loop -%>
--------------------------------------------------------------------------
<% if:content_recent_comment.type == 0 -%>コメント通常
<% loop:list_article_child -%>
<% article_child.article.page_url %>
<% article_child.article.subject | tag_strip %>
<% article_child.writer | tag_strip %>
(<% article_child.createstamp | date_format('%m/%d') %>)
<% /loop -%>
<% /if -%>
<% if:content_recent_comment.type == 1 -%>コメントツリー
<% loop:list_article -%>
<% article.page_url %>
<% article.subject | tag_strip %>
<% loop:list_article_child -%>
<% article_child.writer %>
(<% article_child.createstamp | date_format('%m/%d') %>)
<% /loop -%>
<% /loop -%>
<% /if -%>
--------------------------------------------------------------------------
<% if:content_recent_trackback.type == 0 -%>TR通常
<% loop:list_tb -%>
<% tb.article.page_url %>
<% tb.article.subject | tag_strip %>
<% tb.url %>
<% tb.blog_name | tag_strip %>
(<% tb.createstamp | date_format('%m/%d') %>)
<% /loop -%>
<% /if -%>
<% if:content_recent_trackback.type == 1 -%>TRツリー
<% loop:list_article -%>
<% article.page_url %>
<% article.subject | tag_strip %>
<% loop:list_tb -%>
<% tb.url %>
<% tb.blog_name | tag_strip %>
(<% tb.createstamp | date_format('%m/%d') %>)
<% /loop -%>
<% /loop -%>
<% /if -%>
--------------------------------------------------------------------------
<% loop:list_archives -%>過去ログ
<% if:archives.article_count -%>
<% archives.createstamp | date_format("%Y%m") %>
<% archives.createstamp | date_format("%Y年%m月") %>
(<% archives.count | __or__ | echo('0') %>)
<% /if -%>
<% /loop -%>
--------------------------------------------------------------------------
<% if:content_calendar.type == 1 -%>現状パターンのみ
<% if:previous_archive %>前の月
<% previous_archive.page_url %>前の月URL
<% date_format(now,"%Y年%m月") %>年月日
<% if:next_archive %>次の月
<% next_archive.page_url %>次の月URL
<% content_calendar.sun_text %>
<% content_calendar.mon_text %>
<% content_calendar.tue_text %>
<% content_calendar.wed_text %>
<% content_calendar.thu_text %>
<% content_calendar.fri_text %>
<% content_calendar.sat_text %>
<% loop:list_calendar -%>
<% loop:list_data_month -%>
<% loop:list_data_week -%>
<% if:data.day %>日
<% article.page_url(article.createstamp) %>
<% article.createstamp | date_format("%e") %>
<% data.day %>
<% content_calendar.spc_text %>
<% /loop %>
<% /loop -%>
<% /loop -%>
<% if:content_calendar.type == 2 -%>作りかけ
<span class="calendarhead"><% date_format(now,content_calendar.datetime) %></span>
<span class="calendarday">
<% loop:list_calender -%>
<% loop:list_data -%>
<% if:data.day -%><% if:article -%><a href="<% article.page_url(article.createstamp) %>"><% article.createstamp | date_format("%e") %></a><% /if %><% else -%><% data.day %><% /if -%>
<% /loop -%>
<% /loop -%>
</span>
<% /if -%>
タグ-[ 独自タグ ]
この記事へのコメント
コメント