Merge commit '337d0c5f516ee085205e8abefdb7f87e6d33ca05'

This commit is contained in:
Bjørn Erik Pedersen
2018-01-31 11:08:08 +01:00
58 changed files with 1381 additions and 552 deletions

View File

@@ -1,4 +1,4 @@
{{ $original := .Page.Resources.GetByPrefix (.Get 0) }}
{{ $original := .Page.Resources.GetMatch (printf "%s*" (.Get 0)) }}
{{ $command := .Get 1 }}
{{ $options := .Get 2 }}
{{ if eq $command "Fit"}}
@@ -14,6 +14,12 @@
<figure style="width: {{ add $image.Width 3 }}px; padding: 3px; background-color: #cccc">
<img src="{{ $image.RelPermalink }}" width="{{ $image.Width }}" height="{{ $image.Height }}">
<figcaption>
<small>.{{ $command }} "{{ $options }}"</small>
<small>
{{ with .Inner }}
{{ . }}
{{ else }}
.{{ $command }} "{{ $options }}"
{{ end }}
</small>
</figcaption>
</figure>