Преглед изворни кода

added custom css link

tags/v1.0.0
somrat пре 6 година
родитељ
комит
d49ef48fe8
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4
    0
      layouts/partials/head.html

+ 4
- 0
layouts/partials/head.html Прегледај датотеку

@@ -28,5 +28,9 @@
{{"<!-- Main Stylesheet -->"|safeHTML}}
{{ $styles := resources.Get "css/style.css" | minify}}
<link rel="stylesheet" href="{{ $styles.Permalink }}" integrity="{{ $styles.Data.Integrity }}" media="screen">
{{ "<!-- Custom CSS -->" | safeHTML }}
{{ range .Site.Params.custom_css }}
<link rel="stylesheet" href="{{ . | absURL }}">
{{ end }}

</head>

Loading…
Откажи
Сачувај