Skip to content

Commit

Permalink
* Change url
Browse files Browse the repository at this point in the history
  • Loading branch information
tenkeyless committed Nov 26, 2024
1 parent 4b22918 commit abb8ba0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions layouts/shortcodes/audio.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<div class="container">
<audio controls style="width: 100%; margin-bottom: 20px">
{{ with .Get "wav" }}<source type="audio/wav" src="{{ . }}">{{ end }}
{{ with .Get "ogg" }}<source type="audio/ogg" src="{{ . }}">{{ end }}
{{ with .Get "mp3" }}<source type="audio/mpeg" src="{{ . }}">{{ end }}
{{ with .Get "wav" }}<source type="audio/wav" src="{{ . | relURL }}">{{ end }}
{{ with .Get "ogg" }}<source type="audio/ogg" src="{{ . | relURL }}">{{ end }}
{{ with .Get "mp3" }}<source type="audio/mpeg" src="{{ . | relURL }}">{{ end }}
Your browser does not support the audio element.
</audio>
</div>
2 changes: 1 addition & 1 deletion layouts/shortcodes/main_large_card.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<a
class="hextra-card hx-group hx-flex hx-flex-col hx-justify-start hx-overflow-hidden hx-rounded-3xl hx-border hx-border-gray-200 hx-text-current hx-no-underline dark:hx-shadow-none hover:hx-shadow-gray-100 dark:hover:hx-shadow-none hx-shadow-gray-100 active:hx-shadow-sm active:hx-shadow-gray-200 hx-transition-all hx-duration-200 hover:hx-border-gray-300 hx-bg-gray-100 hx-shadow dark:hx-border-neutral-700 dark:hx-bg-neutral-800 dark:hx-text-gray-50 hover:hx-shadow-lg dark:hover:hx-border-neutral-500 dark:hover:hx-bg-neutral-700"><img
alt='{{ .Get "title" }}' class="hextra-card-image" loading="lazy" decoding="async" src='{{ .Get "image" }}' />
alt='{{ .Get "title" }}' class="hextra-card-image" loading="lazy" decoding="async" src='{{ .Get "image" | relURL }}' />
<span
class="hextra-card-icon hx-flex hx-text-2xl hx-font-semibold hx-items-start hx-gap-2 hx-pt-6 hx-px-6 hx-text-gray-700 hover:hx-text-gray-900 dark:hx-text-neutral-200 dark:hover:hx-text-neutral-50">{{ .Get "title" }}</span>
<div
Expand Down

0 comments on commit abb8ba0

Please sign in to comment.