Initial Commit
This commit is contained in:
parent
bdbb15e52e
commit
c20d262f7c
26 changed files with 1006 additions and 0 deletions
20
layouts/partials/head.html
Normal file
20
layouts/partials/head.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
<head>
|
||||
<meta name="description" content="{{ if .Params.summary }}{{ .Params.summary }}{{ else if .Site.Params.Description }}{{ .Site.Params.Description }}{{ else }}Hardcoded description; the author should update :){{ end }}" />
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
<title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title>
|
||||
{{ $template := resources.Get "scss/index.scss" }}
|
||||
{{ if $template }}
|
||||
{{ $index := $template | resources.ExecuteAsTemplate "css/index.scss" . | resources.ToCSS (dict "outputStyle" "compressed") | fingerprint }}
|
||||
<link rel="stylesheet" type="text/css" href="{{ $index.Permalink }}">
|
||||
{{ end }}
|
||||
<!-- <link rel="stylesheet" type="text/css" href="/css/index.css"> -->
|
||||
{{ $template := resources.Get "scss/totop.scss" }}
|
||||
{{ if $template }}
|
||||
{{ $totop := $template | resources.ExecuteAsTemplate "css/totop.scss" . | resources.ToCSS (dict "outputStyle" "compressed") | fingerprint }}
|
||||
<link rel="stylesheet" type="text/css" href="{{ $totop.Permalink }}">
|
||||
{{ end }}
|
||||
<!-- <link rel="stylesheet" type="text/css" href="/css/totop.css"> -->
|
||||
<link rel="stylesheet" type="text/css" href="/Font-Awesome/css/all.min.css">
|
||||
</head>
|
Loading…
Add table
Add a link
Reference in a new issue