Add basic layout
This commit is contained in:
parent
4a087959fc
commit
110765ecc7
8 changed files with 120 additions and 3 deletions
14
layouts/partials/head/css.html
Normal file
14
layouts/partials/head/css.html
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{{- with resources.Get "css/main.css" }}
|
||||
{{- if eq hugo.Environment "development" }}
|
||||
<link rel="stylesheet" href="{{ .RelPermalink }}" />
|
||||
{{- else }}
|
||||
{{- with . | minify | fingerprint }}
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="{{ .RelPermalink }}"
|
||||
integrity="{{ .Data.Integrity }}"
|
||||
crossorigin="anonymous"
|
||||
/>
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue