Remove customCssFileName as any css file in /static/css gets appended to end of main.css

This commit is contained in:
Eric Nakagawa 2017-09-25 11:34:57 -07:00
parent e71b4d902e
commit a86af92e7c
3 changed files with 0 additions and 8 deletions

View file

@ -34,8 +34,6 @@ const siteConfig = {
headerIcon: "img/docusaurus.svg",
footerIcon: "img/docusaurus.svg",
favicon: "img/favicon.png",
/* the name of your custom css file that resides in static/css/ */
// customCssFileName: "custom.css",
/* colors for website */
colors: {
primaryColor: "#2E8555",

View file

@ -43,11 +43,6 @@ class Head extends React.Component {
rel="stylesheet"
href={this.props.config.baseUrl + "css/main.css"}
/>
{this.props.config.customCssFileName &&
<link
rel="stylesheet"
href={this.props.config.baseUrl + "css/" + this.props.config.customCssFileName}
/>}
<script async defer src="https://buttons.github.io/buttons.js" />
</head>
);

View file

@ -58,7 +58,6 @@ const siteConfig = {
apiKey: "3eb9507824b8be89e7a199ecaa1a9d2c",
indexName: "docusaurus"
},
customCssFileName: "custom.css", //the name of your custom css file
colors: {
primaryColor: "#2E8555",
secondaryColor: "#205C3B",