Sha256: 9692d96347d9d9c4eaf34da26e8c7e2c1aac6874ab1fd9b0fbdbf9c6b2437a9d
Contents?: true
Size: 493 Bytes
Versions: 13
Compression:
Stored size: 493 Bytes
Contents
# Custom code for 'pages' widget # How to update repl code? class ::RuneBlog::Widget class Pages def initialize(repo) @blog = repo end def build # build child pages children = Dir["*.lt3"] - ["pages.lt3"] children.each do |child| dest = child.sub(/.lt3$/, ".html") xlate src: child, dst: dest # , debug: true end # build mainfile # build cardfile end def edit_menu end def refresh end end end
Version data entries
13 entries across 13 versions & 1 rubygems