-
-
Notifications
You must be signed in to change notification settings - Fork 470
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
6fbe854
commit 2fab070
Showing
39 changed files
with
2,798 additions
and
143 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
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
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+119 KB
...land_hu3d03a01dcc18bc5be0e67db3d8d209a6_5000159_600x600_fill_q75_box_center.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+462 KB
...eatured_hu61945c9a50a7e783444cb54fb71dc68a_650977_600x600_fill_box_center_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,46 @@ | ||
<a href="{{ .Page.RelPermalink }}" class="min-w-full"> | ||
<div | ||
class="border border-neutral-200 dark:border-neutral-700 border-2 rounded overflow-hidden shadow-2xl relative backdrop-blur"> | ||
|
||
{{- with site.Params.images -}} | ||
{{- range first 6 . }} | ||
<meta property="og:image" content="{{ . | absURL }}" />{{ end -}} | ||
{{- else -}} | ||
{{- $images := .Page.Resources.ByType "image" -}} | ||
{{- $featured := $images.GetMatch "*feature*" -}} | ||
{{- if not $featured }}{{ $featured = $images.GetMatch "{*cover*,*thumbnail*}" }}{{ end -}} | ||
{{- with $featured -}} | ||
{{ with .Fill "600x600" }} | ||
<div class="w-full thumbnail_card_term nozoom" style="background-image:url({{ .RelPermalink }});"></div> | ||
{{ end }} | ||
{{- else -}} | ||
{{- with site.Params.images }} | ||
<meta property="og:image" content="{{ index . 0 | absURL }}" />{{ end -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
|
||
{{ if site.Params.taxonomy.showTermCount | default true }} | ||
<span class="absolute bottom-0 right-0 m-2"> | ||
<span class="flex"> | ||
<span | ||
class="rounded-md border backdrop-blur border-primary-400 px-1 py-[1px] text-xl font-normal text-primary-700 dark:border-primary-600 dark:text-primary-400" | ||
> | ||
{{ .Count }} | ||
</span> | ||
</span> | ||
</span> | ||
{{ end }} | ||
|
||
<div class="px-6 py-4"> | ||
|
||
<div | ||
class="font-bold text-xl text-neutral-800 decoration-primary-500 hover:underline hover:underline-offset-2 dark:text-neutral" | ||
>{{ .Page.Title | emojify }}</div> | ||
|
||
</div> | ||
<div class="px-6 pt-4 pb-2"> | ||
|
||
</div> | ||
</div> | ||
</a> |
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,15 @@ | ||
<article class="w-full px-2 my-3 overflow-hidden sm:w-1/2 md:w-1/3 lg:w-1/4 xl:w-1/4"> | ||
<h2 class="flex items-center"> | ||
<a | ||
class="text-xl font-medium decoration-primary-500 hover:underline hover:underline-offset-2" | ||
href="{{ .Page.RelPermalink }}" | ||
>{{ .Page.Title }}</a | ||
> | ||
{{ if site.Params.taxonomy.showTermCount | default true }} | ||
<span class="px-2 text-base text-primary-500">·</span> | ||
<span class="text-base text-neutral-400"> | ||
{{ .Count }} | ||
</span> | ||
{{ end }} | ||
</h2> | ||
</article> |
Oops, something went wrong.