Add missing shortcodes for G-machine display
This commit is contained in:
parent
216e9e89b4
commit
c0b5d67c3d
8
layouts/shortcodes/gmachine
Normal file
8
layouts/shortcodes/gmachine
Normal file
|
@ -0,0 +1,8 @@
|
|||
<div class="gmachine-instruction">
|
||||
<div class="gmachine-instruction-name">
|
||||
{{ .Get 0 }}
|
||||
</div>
|
||||
<div class="gmachine-instruction-sem">
|
||||
{{ .Inner }}
|
||||
</div>
|
||||
</div>
|
2
layouts/shortcodes/gmachine_css
Normal file
2
layouts/shortcodes/gmachine_css
Normal file
|
@ -0,0 +1,2 @@
|
|||
{{ $style := resources.Get "scss/gmachine.scss" | resources.ToCSS | resources.Minify }}
|
||||
<link rel="stylesheet" href="{{ $style.Permalink }}">
|
8
layouts/shortcodes/gmachine_inner
Normal file
8
layouts/shortcodes/gmachine_inner
Normal file
|
@ -0,0 +1,8 @@
|
|||
<div class="gmachine-inner">
|
||||
<div class="gmachine-inner-label">
|
||||
{{ .Get 0 }}
|
||||
</div>
|
||||
<div class="gmachine-inner-text">
|
||||
{{ .Inner }}
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user