mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-04-10 14:01:22 -06:00
docs: fix two bugs in "Customization" (custom favicon, new annotation) (#1090)
Fix two bugs in customization docs - custom favicon docs were not wrapped in `{% raw %}` tags - the "new" annotation for color schemes had an extra whitespace, and so the CSS class was not applied
This commit is contained in:
parent
0b44f5ba7f
commit
91449f1aee
@ -16,7 +16,6 @@ nav_order: 6
|
||||
---
|
||||
|
||||
## Color schemes
|
||||
|
||||
{: .d-inline-block }
|
||||
|
||||
New
|
||||
@ -176,17 +175,24 @@ Any HTML added to this file will be inserted before the closing `<head>` tag. Th
|
||||
|
||||
Note that by default, this file has the following contents:
|
||||
|
||||
{% raw %}
|
||||
|
||||
```html
|
||||
<link rel="shortcut icon" href="{{ 'favicon.ico' | relative_url }}" type="image/x-icon">
|
||||
```
|
||||
{% endraw %}
|
||||
|
||||
#### Example: Custom Favicon
|
||||
{: .no_toc }
|
||||
|
||||
To add a custom favicon, create `_includes/head_custom.html` and add:
|
||||
|
||||
{% raw %}
|
||||
|
||||
```html
|
||||
<link rel="shortcut icon" href="{{ 'favicon.ico' | relative_url }}" type="image/x-icon">
|
||||
```
|
||||
{% endraw %}
|
||||
|
||||
If *no favicon* is desired, one needs to have a *blank* `_includes/head_custom.html`.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user