From a13751ac53194e5be7c81af8470103a4493db702 Mon Sep 17 00:00:00 2001 From: Alexandros Date: Sat, 22 Dec 2018 09:35:44 +0200 Subject: [PATCH] Theme Warning: Remove note about unquoted URLs See https://github.com/gohugoio/hugo/issues/5488#issuecomment-449552225 --- content/en/themes/creating.md | 1 - 1 file changed, 1 deletion(-) diff --git a/content/en/themes/creating.md b/content/en/themes/creating.md index 7d5540b20..3e8950c6a 100644 --- a/content/en/themes/creating.md +++ b/content/en/themes/creating.md @@ -21,7 +21,6 @@ wip: true {{% warning "Use Absolute Links" %}} If you're creating a theme with plans to share it on the [Hugo Themes website](https://themes.gohugo.io/) please note the following: -- If using relative URLs in links, they must be quoted, e.g `` and `` - If using inline styles you will need to use absolute URLs, for the linked assets to be served properly, e.g. `
` - Make sure not to use a forward slash `/` in the beginning of a `URL`, because it will point to the host root. Your theme's demo will be available in a subdirectory of the Hugo website and in this scenario Hugo will not generate the correct `URL` for theme assets. {{% /warning %}}