Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
474 B
HTML
Raw Permalink Normal View History

{{ if .context.Params.meta_video }}
<div class="my-8">
{{ with .context.Params.meta_video }}
<video class="rounded shadow-lg" src="{{ .url }}" alt="{{ .Title }}" poster="{{ .poster }}" controls></video>
{{ end }}
</div>
{{ else if .context.Params.meta_image }}
<div class="my-8">
<img class="rounded" src="{{ (.context.Resources.GetMatch .context.Params.meta_image).RelPermalink }}" alt="{{ .Title }}" />
</div>
{{ end }}