Merge pull request #2090 from ZhenShuo2021/fix/github-card

🐛 fix: hugo minify breaks github card (#1434)
This commit is contained in:
Nuno Coração
2025-05-02 11:34:37 +01:00
committed by GitHub
6 changed files with 6 additions and 16 deletions

View File

@@ -26,3 +26,7 @@ jobs:
stale-pr-message: 'This pull request will be closed since it has been stale for 60 days.'
stale-issue-label: 'no-issue-activity'
stale-pr-label: 'no-pr-activity'
days-before-stale: 60
days-before-close: 0
remove-stale-when-updated: true
operations-per-run: 100

View File

@@ -1,10 +1,6 @@
---
title: "Showcase"
description: "See what's possible with Blowfish."
showLikes: true
showViews: true
cascade:
showEdit: false
showReadingTime: false

View File

@@ -1,10 +1,6 @@
---
title: "ショーケース"
description: "Blowfish で何が出来るか見てみる。"
showLikes: true
showViews: true
cascade:
showEdit: false
showReadingTime: false

View File

@@ -1,10 +1,6 @@
---
title: "Showcase"
description: "See what's possible with Blowfish."
showLikes: true
showViews: true
cascade:
showEdit: false
showReadingTime: false

View File

@@ -1,10 +1,6 @@
---
title: "Showcase"
description: "See what's possible with Blowfish."
showLikes: true
showViews: true
cascade:
showEdit: false
showReadingTime: false

View File

@@ -4,6 +4,7 @@
{{- $githubColors := .Site.Data.githubColors -}}
{{- with $githubData -}}
<div class="github-card-wrapper">
<a id="{{ $id }}" target="_blank" href="{{ .html_url }}" class="cursor-pointer">
<div
class="w-full md:w-auto pt-3 p-5 border border-neutral-200 dark:border-neutral-700 border rounded-md shadow-2xl">
@@ -64,4 +65,5 @@
.catch(error => console.error(error))
</script>
</a>
</div>
{{- end -}}