Make the publisher URL configurable, with no default
This commit is contained in:
parent
bf8959cdc2
commit
1b9ea430d1
2 changed files with 5 additions and 1 deletions
|
@ -25,7 +25,9 @@
|
|||
<%= tag("meta", { :name => "msapplication-TileImage", :content => image_path("mstile-144x144.png") }) %>
|
||||
<%= tag("meta", { :name => "theme-color", :content => "#ffffff" }) %>
|
||||
<%= canonical_tag %>
|
||||
<%= tag("link", { :rel => "publisher", :href => "https://plus.google.com/111953119785824514010" }) %>
|
||||
<% if defined?(PUBLISHER_URL) -%>
|
||||
<%= tag("link", { :rel => "publisher", :href => PUBLISHER_URL }) %>
|
||||
<% end -%>
|
||||
<%= tag("link", { :rel => "search", :type => "application/opensearchdescription+xml", :title => "OpenStreetMap Search", :href => asset_path("osm.xml") }) %>
|
||||
<%= tag("meta", { :name => "description", :content => "OpenStreetMap is the free wiki world map." }) %>
|
||||
<%= opengraph_tags(@title) %>
|
||||
|
|
|
@ -2,6 +2,8 @@ defaults: &defaults
|
|||
# The server protocol and host
|
||||
server_protocol: "http"
|
||||
server_url: "openstreetmap.example.com"
|
||||
# Publisher
|
||||
#publisher_url: ""
|
||||
# The generator
|
||||
generator: "OpenStreetMap server"
|
||||
copyright_owner: "OpenStreetMap and contributors"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue