Blog It-Skin Template-minimous
#multi-entry-view
(:if false:)[[#multi-entry-view]](:if:) (:template each:) (:div9990 class="post blogit-post-summary":) (:div9991 class="date":)(:blogit-skin date fmt="short":){=$:entrydate}(:blogit-skinend:) (:div9991end:) (:div9991 class="post-inner":) !! %block page-head%[[{=$FullName}|{=$Title}]] (:div9992 class="entry":) (:blogit-skin intro page={=$FullName}:) {=$:entrybody}(:blogit-skinend:) (:div9993 class='menu meta':) (:blogit-skin author pre_text='* $[by] ':){=$:entryauthor}(:blogit-skinend:) (:blogit-skin tags pre_text='* ':){=$:entrytags}(:blogit-skinend:) * %apply=item class=blogit-comment-count%(:blogit-skin commentcount status='{=$:entrycomments}' group='{=$Group}' name='{=$Name}':) $[comment(s)](:blogit-skinend:) (:blogit-skin edit pre_text='* %editlink accesskey="$[ak_edit]"%' page='{=$FullName}':)$[edit](:blogit-skinend:) (:div9993end:) (:div9992end:) (:div9991end:) (:div9990end:) (:template last:) (:includesection "#page-navigation itemsonpage={$$PageCount} pagenav={$$pagenav} perpage={$$perpage}":) [[#multi-entry-viewend]]
#single-entry-view
(:if false:)[[#single-entry-view]](:if:) (:div9990 class="post blogit-post":) (:div9991 class="date":)(:blogit-skin date fmt="short":){*$:entrydate}(:blogit-skinend:) (:div9991end:) (:div9991 class="post-inner":) !! %block page-head%[[{*$FullName}|{*$Title}]] (:div9992 class="entry":) {*$:entrybody} (:div9993 class='menu meta':) (:blogit-skin author pre_text='* $[by] ':){*$:entryauthor}(:blogit-skinend:) (:blogit-skin tags pre_text='* ':){*$:entrytags}(:blogit-skinend:) * %apply=item class=blogit-comment-count%(:blogit-skin commentcount status='{*$:entrycomments}' group='{*$Group}' name='{*$Name}':) $[comment(s)](:blogit-skinend:) (:blogit-skin edit pre_text='* %editlink accesskey="$[ak_edit]"%' page='{*$FullName}':)$[edit](:blogit-skinend:) (:div9993end:) (:div9992end:) (:div9991end:) (:div9990end:) (:includesection "#comments-pagelist pagename={*$Name} group={*$Group} entrycomments={*$:entrycomments} divid=commentblock":) [[#single-entry-viewend]]
#comment-view-all
Displays a list of comments as part of the single entry view. Approved comments are visible to all. Unapproved comments are only shown to admins, and include an 'approve' link. {=$FullName} refers to the comment page.
Parameters: commentid
(:if false:)[[#comment-view-all]](:if:) (:template first:) (:div9990 class="blogit-commentblock":) !! (:if [ bi_auth comment-edit,comment-approve && !equal '{$Action}' 'print' ] :)%apply=block class=blogit-admin%(:if:)$[Comments] (:template each:) (:if [ bi_isnull {$$commentid} || [ !bi_isnull {$$commentid} && equal '{=$Name}' '{$$commentid}' ] ] :)\ # %apply=list class="blogit-comment-list"% %apply=item id="(:blogit-skin commentid:){=$FullName}(:blogit-skinend:)" class="comment (:if9991 bi_auth comment-edit,comment-approve:)blogit-admin(:if9991end:)"% %date%(:blogit-skin date fmt='short':){=$:commentdate}(:blogit-skinend:)%%\ %comment-author%(:blogit-skin commentauthor website='{=$:website}' author='{=$:commentauthor}':)(:blogit-skinend:) $[said...]%%\ (:includesection "#admin-links commentstatus='{=$:commentapproved}' commentpage='{=$FullName}' base='{(bi_ifnull "{$$base}" "{*$FullName}")}'":)\ %commenttext%(:blogit-skin commenttext page='{=$FullName}':){=$:commenttext}(:blogit-skinend:)%% (:if:) (:template last:) (:div9990end:) [[#comment-view-allend]]