Skip to content

Commit

Permalink
Fix potential CSS flicker by ensuring that basic.css loads 1st # doc
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushalmodi committed Jan 29, 2018
1 parent 220f845 commit c1b355c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions doc/themes/hugo-alabaster-theme/layouts/partials/head.html
Expand Up @@ -8,6 +8,7 @@

<title>{{ if not .IsHome }}{{ .Title }} &mdash;{{ end }} {{ .Site.Title }}</title>

<link rel="stylesheet" href="{{ "css/basic.css" | relURL }}" type="text/css" />
<link rel="stylesheet" href="{{ "css/alabaster.css" | relURL }}" type="text/css" />
{{ with .Site.Params.highlightjs -}}
<link rel="stylesheet" href="{{ . | relURL }}" type="text/css" />
Expand Down
2 changes: 0 additions & 2 deletions doc/themes/hugo-alabaster-theme/static/css/alabaster.css
@@ -1,5 +1,3 @@
@import url("basic.css");

/* -- page layout ----------------------------------------------------------- */

body {
Expand Down

0 comments on commit c1b355c

Please sign in to comment.