Content dump and hide apprentice docs for now...

This commit is contained in:
2022-07-04 12:15:48 +00:00
parent 9d95802629
commit 193b7324f7
41 changed files with 758 additions and 51 deletions

View File

@@ -5,6 +5,6 @@
{{ $content := .Inner }}
{{ $in := split .Inner "\n" }}
{{ if gt (len $in) 1 }}
{{ $content = (delimit (after 1 $in) "\n") }}
{{ $content = (delimit $in "\n") }}
{{ end }}
{{ transform.Highlight (htmlUnescape $content) (.Get 0) (delimit $opts ",") }}

View File

@@ -0,0 +1,9 @@
<video
width='{{ with.Get 2 }}{{ . }}{{ else }}100%{{ end }}'
height='{{ with .Get 3 }}{{ . }}{{ else }}100%{{ end }}'
{{ with .Get 1 }}{{ . }}{{ else }}controls{{ end }}>
{{ with resources.Get (.Get 0) }}
<source src='{{ .RelPermalink }}' type='{{ .MediaType }}'>
{{ end }}
<b>Your browser does not support the video tag!</b>
</video>