move main.css below hljs css (#195)

This commit is contained in:
Ricky Vetter 2017-10-30 10:55:39 -07:00 committed by Joel Marcey
parent 10e8c7cba3
commit 5263976ad3

View file

@ -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 (