Sha256: a79a64ebe488170ccc099bf679a0597f27103539b5649bbe9df5f6d1ecd73980

Contents?: true

Size: 237 Bytes

Versions: 5

Compression:

Stored size: 237 Bytes

Contents

# frozen_string_literal: true

module Site
  module_function

  def title = "<%= title %>"
  def description = "<%= description %>"
  def twitter = "<%= twitter %>"
  def url = "<%= url %>"

  def url_for(path) = URI.join(url, path)
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
staticky-0.3.1 site_template/config/site.erb
staticky-0.3.0 site_template/config/site.erb
staticky-0.2.0 site_template/config/site.erb
staticky-0.1.1 site_template/config/site.erb
staticky-0.1.0 site_template/config/site.erb