mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-02 02:42:41 +02:00
move main.css below hljs css (#195)
This commit is contained in:
parent
10e8c7cba3
commit
5263976ad3
1 changed files with 6 additions and 4 deletions
|
@ -60,7 +60,7 @@ class Head extends React.Component {
|
||||||
)}
|
)}
|
||||||
<link
|
<link
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
href={this.props.config.baseUrl + "css/main.css"}
|
href={`//cdnjs.cloudflare.com/ajax/libs/highlight.js/${highlightVersion}/styles/${highlightTheme}.min.css`}
|
||||||
/>
|
/>
|
||||||
{hasBlog && (
|
{hasBlog && (
|
||||||
<link
|
<link
|
||||||
|
@ -78,9 +78,11 @@ class Head extends React.Component {
|
||||||
title={this.props.config.title + " Blog RSS Feed"}
|
title={this.props.config.title + " Blog RSS Feed"}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
{/* Site defined code. Keep these at the end to avoid overriding. */}
|
||||||
<link
|
<link
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
href={`//cdnjs.cloudflare.com/ajax/libs/highlight.js/${highlightVersion}/styles/${highlightTheme}.min.css`}
|
href={this.props.config.baseUrl + "css/main.css"}
|
||||||
/>
|
/>
|
||||||
{hasCustomScripts && this.props.config.scripts.map(function(source) {
|
{hasCustomScripts && this.props.config.scripts.map(function(source) {
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue