Add asset fingerprinting, build/dev scripts
Add fingerprinting for the CSS file, as well as npm scripts for all common build and dev tasks.
This commit is contained in:
@@ -4,7 +4,8 @@
|
||||
{{ partial "meta.html" . }}
|
||||
<title>{{ block "title" . }}{{ .Title }} | {{ .Site.Title }}{{ end }}</title>
|
||||
<link href='https://assets.kosmos.org/fonts/open-sans/open-sans.css' rel='stylesheet'>
|
||||
<link href="/css/main.css" rel="stylesheet" />
|
||||
{{ $css := resources.Get "css/main.css" | resources.Fingerprint }}
|
||||
<link rel="stylesheet" href="{{ $css.Permalink }}" />
|
||||
</head>
|
||||
<body class="text-center">
|
||||
{{ partial "topnav" . }}
|
||||
|
||||
Reference in New Issue
Block a user