mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-30 05:03:09 +00:00
Fix stylesheet HTML snippet for external renderers documentation (#22435)
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>
This commit is contained in:
parent
02ae63297b
commit
20e3ffd208
1 changed files with 1 additions and 1 deletions
|
@ -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" />
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue