Initial site working
This commit is contained in:
19
themes/ananke/layouts/partials/func/style/GetResource.html
Normal file
19
themes/ananke/layouts/partials/func/style/GetResource.html
Normal file
@ -0,0 +1,19 @@
|
||||
{{/*
|
||||
style/GetResource
|
||||
Get a style asset stored at `/assets/ananke/css`
|
||||
|
||||
@author @regisphilibert
|
||||
|
||||
@context String (.)
|
||||
|
||||
@access private
|
||||
|
||||
@returns Resource
|
||||
|
||||
*/}}
|
||||
{{ $resource := dict }}
|
||||
{{ with resources.Get (print "/ananke/css/" .) }}
|
||||
{{ $resource = . }}
|
||||
{{ end }}
|
||||
|
||||
{{ return $resource }}
|
Reference in New Issue
Block a user