diff options
author | Arvind <arvind@zonic.io> | 2018-08-30 19:11:51 +0300 |
---|---|---|
committer | Arvind <arvind@zonic.io> | 2018-08-30 19:11:51 +0300 |
commit | c213ec09168580b85591de98dfb2051cebea7722 (patch) | |
tree | 114a45b1247aa72bc7e788d1a641f488d288023e /layouts | |
parent | 6c8dc4bb61fb2529653c574dae42c0f9895e4713 (diff) |
add compiled css instead of scss files
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/header.html | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index e2238e5..c3f1bb5 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -25,10 +25,16 @@ <!-- including bootstrap --> <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"> - <!-- <link rel="stylesheet" type="text/css" href="{{.Site.BaseURL}}css/style.css"> --> + <link rel="stylesheet" type="text/css" href="{{.Site.BaseURL}}css/compiled.css"> +<!-- + + Made the below line commented because hugo can't compile and generate SCSS files + on thier server, You can uncomment these linkes and use it on your local server + with latest hugo. + {{ $sass := resources.Get "/scss/bootstrap.scss" }} - {{ $style := $sass | resources.ToCSS | resources.Minify}} - <link rel="stylesheet" href="{{ $style.Permalink }}"> + {{ $style := $sass | resources.ToCSS | resources.Minify}} + <link rel="stylesheet" href="{{ $style.Permalink }}"> --> </head> <body> |