@@ -70,6 +70,12 @@ disqusShortname = "xxxxxx"
|
|||||||
|
|
||||||
This option enables the KaTeX auto-render extension. To render block math, use `$$ ... $$`. For inline math, use `\\( ... \\)`. For more details, please refer to https://github.com/KaTeX/KaTeX/blob/v0.7.1/contrib/auto-render/auto-render.js#L73 .
|
This option enables the KaTeX auto-render extension. To render block math, use `$$ ... $$`. For inline math, use `\\( ... \\)`. For more details, please refer to https://github.com/KaTeX/KaTeX/blob/v0.7.1/contrib/auto-render/auto-render.js#L73 .
|
||||||
|
|
||||||
|
### Custom CSS
|
||||||
|
```
|
||||||
|
[params]
|
||||||
|
customCss = ["css/foo.css"]
|
||||||
|
```
|
||||||
|
|
||||||
### Others
|
### Others
|
||||||
|
|
||||||
For other configuration variables, visit [Hugo documentation](https://gohugo.io/overview/configuration/#configuration-variables).
|
For other configuration variables, visit [Hugo documentation](https://gohugo.io/overview/configuration/#configuration-variables).
|
||||||
|
|||||||
@@ -15,6 +15,9 @@
|
|||||||
<link href="{{ "webfonts/source-code-pro/main.css" | absURL }}" rel="stylesheet" type="text/css">
|
<link href="{{ "webfonts/source-code-pro/main.css" | absURL }}" rel="stylesheet" type="text/css">
|
||||||
|
|
||||||
<link rel="stylesheet" href="{{ "css/style.css" | absURL }}">
|
<link rel="stylesheet" href="{{ "css/style.css" | absURL }}">
|
||||||
|
{{ range .Site.Params.customCss -}}
|
||||||
|
<link rel="stylesheet" href="{{ . | absURL }}">
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
{{ hugo.Generator }}
|
{{ hugo.Generator }}
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
Reference in New Issue
Block a user