Sha256: cc98c89736662a9c1615385be8ee66669715a2fa55c6d5f69e9d2e0fd80190f9

Contents?: true

Size: 383 Bytes

Versions: 4

Compression:

Stored size: 383 Bytes

Contents

# Custom code for 'pages' widget

# How to update repl code?

class ::RuneBlog::Widget
  class Pages
    def self.build
      children = Dir["*.lt3"] - ["pages.lt3"]
      children.each do |child|
        dest = child.sub(/.lt3$/, ".html")
        xlate src: child, dst: dest  # , debug: true
      end
    end

    def self.edit_menu
    end

    def self.refresh
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
runeblog-0.2.43 empty_view/themes/standard/widgets/pages/pages.rb
runeblog-0.2.42 empty_view/themes/standard/widgets/pages/pages.rb
runeblog-0.2.41 empty_view/themes/standard/widgets/pages/pages.rb
runeblog-0.2.40 empty_view/themes/standard/widgets/pages/pages.rb