Skip to content

Commit 20e3ffd

Browse files
sbanniersilverwind
andauthored
Fix stylesheet HTML snippet for external renderers documentation (go-gitea#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 go-gitea#22434. Co-authored-by: silverwind <[email protected]>
1 parent 02ae632 commit 20e3ffd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/doc/advanced/external-renderers.en-us.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -192,5 +192,5 @@ And so you could write some CSS:
192192
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`:
193193

194194
```html
195-
<link type="text/css" href="{{AppSubUrl}}/assets/css/my-style-XXXXX.css" />
195+
<link rel="stylesheet" href="{{AppSubUrl}}/assets/css/my-style-XXXXX.css" />
196196
```

0 commit comments

Comments
 (0)