Add image variant
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
10
default.hbs
10
default.hbs
@@ -7,7 +7,11 @@
|
||||
<title>{{meta_title}}</title>
|
||||
|
||||
{{> common/lib/header/fonts}}
|
||||
{{#match @custom.mode "Text-based"}}
|
||||
<link rel="stylesheet" href="{{asset "dist/text/main.css"}}">
|
||||
{{else}}
|
||||
<link rel="stylesheet" href="{{asset "dist/image/main.css"}}">
|
||||
{{/match}}
|
||||
{{> common/lib/header/prism}}
|
||||
|
||||
{{ghost_head}}
|
||||
@@ -31,7 +35,13 @@
|
||||
{{> common/pswp}}
|
||||
|
||||
{{> common/lib/footer/tocbot}}
|
||||
{{#match @custom.mode "Text-based"}}
|
||||
<script src="{{asset "dist/text/main.min.js"}}"></script>
|
||||
{{else}}
|
||||
{{> image/lib/footer/jquery}}
|
||||
{{> image/lib/footer/masonry}}
|
||||
<script src="{{asset "dist/image/main.min.js"}}"></script>
|
||||
{{/match}}
|
||||
{{> common/lib/footer/prism}}
|
||||
|
||||
{{ghost_foot}}
|
||||
|
Reference in New Issue
Block a user