Sha256: d3770e676e3c4d3d569d97a71a42ec4b16ee35694402b2d118957d116bb64719
Contents?: true
Size: 682 Bytes
Versions: 2
Compression:
Stored size: 682 Bytes
Contents
--- <%- unless @title.empty? -%> title: > <%= @title %> <%- end -%> <%- unless @description.empty? -%> description: > <%= @description %> <%- end -%> <%- unless @stylesheet.empty? -%> stylesheet: <%= @stylesheet %> <%- end -%> --- - title ||= current_page.data.title - description ||= current_page.data.description <%- if @has_data -%> - data = load_data('<%= @model_name %>.yaml') <%- end -%> = model title: title, description: description, standalone: locals[:standalone], url: locals[:url] do <%- if @has_data %> table - data.keys.each do |k| tr th = k td = data[k] <%- else -%> p Component HTML code here <%- end -%>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sculptor-0.0.3 | lib/sculptor/templates/model/template.tt |
sculptor-0.0.2 | lib/sculptor/templates/model/template.tt |