Sha256: e35e5544c9cdee3b5121469af41269248c1846737ecf7a6dd2561f9b2888284e
Contents?: true
Size: 405 Bytes
Versions: 5
Compression:
Stored size: 405 Bytes
Contents
# frozen_string_literal: true register_data_dirs(['data']) register_helper_dir('helpers') register_layout 'sitemap.xml', nil register_layout '*', 'main.erb' # Or use 'main.haml' if you prefer using HAML: # register_layout '*', 'main.haml' Frontman::Config.set(:domain, 'https://example.com') Frontman::Bootstrapper.resources_from_dir( 'source/' ).each do |resource| sitemap_tree.add(resource) end
Version data entries
5 entries across 5 versions & 1 rubygems