Browse Source

create support for custom css

tags/v1.0.0
Jonas Weismueller 4 years ago
parent
commit
2c99a3322b
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      layouts/partials/head.html

+ 3
- 0
layouts/partials/head.html View File

{{ $styles := resources.Get "css/style.css" | minify}} {{ $styles := resources.Get "css/style.css" | minify}}
<link rel="stylesheet" href="{{ $styles.Permalink }}" media="screen"> <link rel="stylesheet" href="{{ $styles.Permalink }}" media="screen">


{{"<!-- Custom stylesheet - for your changes -->" |safeHTML}}
<link rel="stylesheet" href="{{ "css/custom.css" | relURL}} " media="screen">

{{ "<!--Favicon-->" | safeHTML }} {{ "<!--Favicon-->" | safeHTML }}
<link rel="shortcut icon" href="{{ `images/favicon.png` | absURL }} " type="image/x-icon"> <link rel="shortcut icon" href="{{ `images/favicon.png` | absURL }} " type="image/x-icon">
<link rel="icon" href="{{ `images/favicon.png` | absURL }} " type="image/x-icon"> <link rel="icon" href="{{ `images/favicon.png` | absURL }} " type="image/x-icon">

Loading…
Cancel
Save