summaryrefslogtreecommitdiff
path: root/new/splash/pages/index.rb
blob: b9772d8f2592ce022e01c6963e4c7d265b2d02f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
require_relative "../lib/theme.rb"

module Crys
  module Splash
    class IndexPage < Theme
      BODY = ERB.new <<-EOF
      <h1><%= title %></h1>
       <%= name %>
         EOF

      DATA =  {
        title: "A page",
        name: "A name"
      } 

      PAGE = "index.erb"

      # filename
      # other embbeds
      # from .erb file
      # from .org file
      


    end
  end
end

p Crys::Splash::IndexPage.new.render