re-encode and filter
This commit is contained in:
parent
16823e27a9
commit
f4a8c002cc
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
<center>
|
<center>
|
||||||
{{ $original := .Page.Resources.GetMatch (.Get "src") }}
|
{{ $original := .Page.Resources.GetMatch (.Get "src") }}
|
||||||
{{ $preview := $original.Resize "660x" }}
|
{{ $preview := $original.Resize "700x Lanczos webp" }}
|
||||||
<a href="{{ $original.RelPermalink }}" target="_new" style="border-bottom: 0px; background-color: inherit;">
|
<a href="{{ $original.RelPermalink }}" target="_new" style="border-bottom: 0px; background-color: inherit;">
|
||||||
<img src="{{ $preview.RelPermalink }}" alt="{{ .Get "alt" }}" style="border: 0px;" />
|
<img src="{{ $preview.RelPermalink }}" alt="{{ .Get "alt" }}" style="border: 0px;" />
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<center>
|
<center>
|
||||||
<video width="660" preload="auto" controls style="border: 0px;">
|
<video width="700" preload="auto" controls style="border: 0px;">
|
||||||
<source src="{{ .Get "src" }}" />
|
<source src="{{ .Get "src" }}" />
|
||||||
Your browser does not seem to support the video {{ .Get "src" }}.
|
Your browser does not seem to support the video {{ .Get "src" }}.
|
||||||
</video>
|
</video>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue