Class: Hobix::Out::QuickSummary

Inherits:
Quick show all
Defined in:
lib/hobix/out/quick.rb

Constant Summary

Constants inherited from Quick

Hobix::Out::Quick::APPEND_TPL_RE

Instance Method Summary collapse

Methods inherited from Quick

#all_comments, append_def, #banner_erb, #blog_erb, #bloglines_old_sidebar_list_erb, #calendar_old_sidebar_list_erb, #css_erb, #day_header_erb, #doctype_erb, #entries_erb, #entry_comment_erb, #entry_comment_form_erb, #entry_erb, #entry_footer_erb, #entry_title_erb, #entry_trackback_erb, #entry_trackback_rdf_erb, #expand, #flickr_old_sidebar_list_erb, #footer_erb, #head_tags_erb, #initialize, #load, #make, #page_erb, prepend_def, #recent_comments, #recent_comments_old_sidebar_list_erb, #section_list, #sections_old_sidebar_list_erb, #setup, #sidebar_archive_erb, #sidebar_bloglines_erb, #sidebar_calendar_caption_erb, #sidebar_calendar_contents_erb, #sidebar_calendar_erb, #sidebar_calendar_header_erb, #sidebar_calendar_ssi, #sidebar_erb, #sidebar_flickr_erb, #sidebar_hobix_erb, #sidebar_links_erb, #sidebar_list_erb, #sidebar_recent_comments_erb, #sidebar_section_list_erb, #sidebar_syndicate_erb, #sidebar_tag_list_erb, #tags_list, #tags_old_sidebar_list_erb, #title_erb

Methods inherited from BasePlugin

inherited, start

Constructor Details

This class inherits a constructor from Hobix::Out::Quick

Instance Method Details

#entry_content_erbObject



277
278
279
280
281
282
283
284
285
286
# File 'lib/hobix/out/quick.rb', line 277

def entry_content_erb
 %{ <div class="entryContent">
    <% if entry.respond_to? :summary and entry.summary %>
    <%= entry.summary.to_html %>
    <p><a href="<%= weblog.expand_path entry.id %>">Continue to full post.</a></p>
    <% else %>
    <%= entry.content.to_html %>
    <% end %>
    </div> }
end

#extensionObject



274
275
276
# File 'lib/hobix/out/quick.rb', line 274

def extension
    "quick-summary"
end