Class: Hobix::Out::QuickArchive

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, #entry_comment_erb, #entry_comment_form_erb, #entry_content_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

#entries_erbObject



296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
# File 'lib/hobix/out/quick.rb', line 296

def entries_erb
 %{ <div id="archives">
    <ul>
    <% entries.each_day do |day, day_entries| %>
        <li><+ day_header +>
        <ul>
        <% day_entries.each do |entry| %>
            <li><+ entry +></li>
        <% end %>
        </ul>
        </li>
    <% end %>
    </ul>
    </div> }
end

#entry_erbObject



293
294
295
# File 'lib/hobix/out/quick.rb', line 293

def entry_erb
 %{ <h3 class="entryTitle"><a href="<%= weblog.expand_path entry.id %>"><%= entry.title %></a></h3> }
end

#extensionObject



290
291
292
# File 'lib/hobix/out/quick.rb', line 290

def extension
    "quick-archive"
end