Add `canonifyurls` config option.
authorPhil Pennock <pdp@spodhuis.org>
Fri, 3 Jan 2014 23:36:53 +0000 (18:36 -0500)
committerspf13 <steve.francia@gmail.com>
Mon, 13 Jan 2014 15:06:12 +0000 (10:06 -0500)
commit438c2198923022a3e4d299b06a7df18268041dd8
tree2e0a27b4db0a03817921eb7b7e5a90590b7bb01b
parent2ff108fcb7059dd9b73526b1bfce42b43579fc25
Add `canonifyurls` config option.

Be able to inhibit AbsURL canonicalization of content, on a site
configuration basis. Advantages of being able to inhibit this include
making it easier to rendering on other hostnames, and being able to
include resources on http or https depending on how this page was
retrieved, avoiding mixed-mode client complaints without adding latency
for plain http.
docs/content/extras/urls.md [new file with mode: 0644]
docs/content/overview/configuration.md
hugolib/config.go
hugolib/site.go
hugolib/site_test.go
transform/chain.go