Skip to content

Commit

Permalink
Fix stylesheet HTML snippet for external renderers documentation (#22435
Browse files Browse the repository at this point in the history
)

The documentation is missing the rel attribute. Neither Firefox nor
Chrome did use the linked file as CSS if rel="stylesheet" is not set.

The problem is described in issue #22434.

Co-authored-by: silverwind <me@silverwind.io>
  • Loading branch information
sbannier and silverwind committed Jan 13, 2023
1 parent 02ae632 commit 20e3ffd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/doc/advanced/external-renderers.en-us.md
Expand Up @@ -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
<link type="text/css" href="{{AppSubUrl}}/assets/css/my-style-XXXXX.css" />
<link rel="stylesheet" href="{{AppSubUrl}}/assets/css/my-style-XXXXX.css" />
```

0 comments on commit 20e3ffd

Please sign in to comment.