Sha256: 849c732ad54ba3bd5d10c41573fdaf50e84847d721063ee8db9c7e13f9df336b
Contents?: true
Size: 1.05 KB
Versions: 2
Compression:
Stored size: 1.05 KB
Contents
--- title: Style Example --- ## General Information This sample website showcases the website style *<%= context.content_node.parent.cn %>*. Most website styles include dynamic parts by default, for example, automatically generated menus and breadcrumb trails. All such dynamic parts are active in this showcase like they would be on a normal website. ## How to use this style This website style can be used when creating a new website by using the following command: webgen create -b default -b <%= context.content_node.parent.cn %> SITE_DIR Or it can be applied later on to an already existing website by using the following command: webgen apply <%= context.content_node.parent.cn %> ## Style Information <dl> <% require 'webgen/websitemanager' infos = Webgen::WebsiteManager.new(context.website).bundles[context.content_node.parent.cn] infos.instance_eval {@table}.sort {|(ak,av), (bk,bv)| ak.to_s <=> bk.to_s}.each do |name, value| next if name.to_s == 'paths' %> <dt><%= name.to_s.capitalize %></dt> <dd><%= ::ERB::Util::h(value) %></dd> <% end %> </dl>
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
gettalong-webgen-0.5.8.20090507 | misc/style.page |
webgen-0.5.8 | misc/style.page |