feat: Allow for links to external sites for `featured-image`

parent 5381f23b
Pipeline #5133 failed with stage
in 4 minutes and 4 seconds
......@@ -15,5 +15,6 @@
(defn fully-qualifying-url
"Given a `resource-path`, it appends the canonical URL for the domain"
[resource-path]
(str "https://200ok.ch" resource-path))
(if (re-find #"^http" resource-path)
resource-path
(str "https://200ok.ch" resource-path)))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment