Commit ae43b807 authored by Chris Lamb's avatar Chris Lamb 💬

Lint for URIs that are not using {{ "/foo" | prepend: site.baseurl }} relative URIs.

parent 4fa74ee2
Pipeline #52133 passed with stage
in 2 minutes and 33 seconds
......@@ -12,3 +12,6 @@ lint:
echo "W: $$Y is using legacy layout '$$X'"; \
done \
done
@grep -rl "href=[\"']/" . | while read X; do \
echo "W: $$X is using URIs that are not using '{{ \"/foo\" | prepend: site.baseurl }}'"; \
done
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