-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6890b3b
commit ec79bdf
Showing
3 changed files
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{{ $img := print .Permalink "img/featured.webp" }} | ||
|
||
{{ if not (fileExists (print .RelPermalink "img/featured.webp")) }} | ||
{{ $img = "/img/default-cover.webp" }} | ||
{{ end }} | ||
|
||
<div class="mx-auto pb-3"> | ||
<div class="bg-gray-200 overflow-hidden rounded-b-lg shadow-lg"> | ||
<img class="!w-full text-center rounded-t-lg card_load !h-[28rem]" src="{{ $img | absURL }}" alt="Featured Image"> | ||
<figcaption class="bottom-0 left-0 right-0 bg-transparent text-center text-xs text-gray4 py-1"> | ||
<!-- Customizing your shell prompt can enhance your development environment. | ||
<a href="https://github.com/gautamankoji" target="_blank" rel="noopener noreferrer" class=""> | ||
@<span class="font-semibold underline">gautamankoji</span></a> --> | ||
{{ .Params.figcaption | default .Description }} | ||
</figcaption> | ||
</div> | ||
</div> |
Submodule public
updated
from 7bf119 to 523ceb