From 9a0f99f7059b1b4bf7b82965bfdc4e3ed770fa3d Mon Sep 17 00:00:00 2001 From: Sascha Bannier Date: Thu, 13 Jan 2022 12:02:28 +0100 Subject: [PATCH 1/2] Fix stylesheet HTML snippet for external renderers The documentation is missing the rel attribute. Neither Firefox nor Chrome did use the linked file as CSS if rel="stylesheet" is not set. --- docs/content/doc/advanced/external-renderers.en-us.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/doc/advanced/external-renderers.en-us.md b/docs/content/doc/advanced/external-renderers.en-us.md index f40c23dd842a9..4f980d3afd591 100644 --- a/docs/content/doc/advanced/external-renderers.en-us.md +++ b/docs/content/doc/advanced/external-renderers.en-us.md @@ -192,5 +192,5 @@ And so you could write some CSS: Add your stylesheet to your custom directory e.g `custom/public/css/my-style-XXXXX.css` and import it using a custom header file `custom/templates/custom/header.tmpl`: ```html - + ``` From 9540465da6ce1ec4d5b525c522184af12e3d5ffc Mon Sep 17 00:00:00 2001 From: Sascha Bannier Date: Fri, 13 Jan 2023 14:56:26 +0100 Subject: [PATCH 2/2] Remove 'text/css' type from CSS link tag text/css seems to be the default type, so this information is redundant. Co-authored-by: silverwind --- docs/content/doc/advanced/external-renderers.en-us.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/doc/advanced/external-renderers.en-us.md b/docs/content/doc/advanced/external-renderers.en-us.md index 4f980d3afd591..244fcd7c83983 100644 --- a/docs/content/doc/advanced/external-renderers.en-us.md +++ b/docs/content/doc/advanced/external-renderers.en-us.md @@ -192,5 +192,5 @@ And so you could write some CSS: Add your stylesheet to your custom directory e.g `custom/public/css/my-style-XXXXX.css` and import it using a custom header file `custom/templates/custom/header.tmpl`: ```html - + ```