Sha256: 12df436c0fbc945f067ae22e9b1f0924f5466202211135c610f72121ce6fc57a
Contents?: true
Size: 764 Bytes
Versions: 4
Compression:
Stored size: 764 Bytes
Contents
::Spina::Theme.register do |theme| theme.name = 'default' theme.title = 'Default Theme' theme.parts = [{ name: 'text', title: "Text", part_type: "Spina::Parts::Text" }] theme.view_templates = [{ name: 'homepage', title: 'Homepage', parts: ['text'] }, { name: 'show', title: 'Default', description: 'A simple page', usage: 'Use for your content', parts: ['text'] }] theme.custom_pages = [{ name: 'homepage', title: 'Homepage', deletable: false, view_template: 'homepage' }] theme.navigations = [{ name: 'mobile', label: 'Mobile' }, { name: 'main', label: 'Main navigation', auto_add_pages: true }] end
Version data entries
4 entries across 4 versions & 1 rubygems