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

Version Path
runeblog-0.2.57 empty_view/themes/standard/widgets/pages/pages.rb
runeblog-0.2.56 empty_view/themes/standard/widgets/pages/pages.rb
runeblog-0.2.55 empty_view/themes/standard/widgets/pages/pages.rb
runeblog-0.2.54 empty_view/themes/standard/widgets/pages/pages.rb
runeblog-0.2.53 empty_view/themes/standard/widgets/pages/pages.rb
runeblog-0.2.52 empty_view/themes/standard/widgets/pages/pages.rb
runeblog-0.2.51 empty_view/themes/standard/widgets/pages/pages.rb
runeblog-0.2.50 empty_view/themes/standard/widgets/pages/pages.rb
runeblog-0.2.49 empty_view/themes/standard/widgets/pages/pages.rb
runeblog-0.2.48 empty_view/themes/standard/widgets/pages/pages.rb
runeblog-0.2.47 empty_view/themes/standard/widgets/pages/pages.rb
runeblog-0.2.46 empty_view/themes/standard/widgets/pages/pages.rb
runeblog-0.2.45 empty_view/themes/standard/widgets/pages/pages.rb