Add missing shortcodes for G-machine display

This commit is contained in:
Danila Fedorin 2019-09-03 21:23:45 -07:00
parent 216e9e89b4
commit c0b5d67c3d
3 changed files with 18 additions and 0 deletions

View 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>

View File

@ -0,0 +1,2 @@
{{ $style := resources.Get "scss/gmachine.scss" | resources.ToCSS | resources.Minify }}
<link rel="stylesheet" href="{{ $style.Permalink }}">

View 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>