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