mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 15:31:52 +00:00
Merge pull request #2158 from ZhenShuo2021/fix/code-card
🐛 fix: hugo minify breaks repo cards
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
{{- $codebergColors := .Site.Data.codebergColors -}}
|
{{- $codebergColors := .Site.Data.codebergColors -}}
|
||||||
{{- with $codebergData -}}
|
{{- with $codebergData -}}
|
||||||
|
|
||||||
|
<div class="codeberg-card-wrapper">
|
||||||
<a id="{{ $id }}" target="_blank" href="{{ .html_url }}" class="cursor-pointer">
|
<a id="{{ $id }}" target="_blank" href="{{ .html_url }}" class="cursor-pointer">
|
||||||
<div
|
<div
|
||||||
class="w-full md:w-auto pt-3 p-5 border border-neutral-200 dark:border-neutral-700 border rounded-md shadow-2xl">
|
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))
|
.catch(error => console.error(error))
|
||||||
</script>
|
</script>
|
||||||
</a>
|
</a>
|
||||||
|
</div>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
{{- $forgejoColors := .Site.Data.forgejoColors -}}
|
{{- $forgejoColors := .Site.Data.forgejoColors -}}
|
||||||
{{- with $forgejoData -}}
|
{{- with $forgejoData -}}
|
||||||
|
|
||||||
|
<div class="forgejo-card-wrapper">
|
||||||
<a id="{{ $id }}" target="_blank" href="{{ .html_url }}" class="cursor-pointer">
|
<a id="{{ $id }}" target="_blank" href="{{ .html_url }}" class="cursor-pointer">
|
||||||
<div
|
<div
|
||||||
class="w-full md:w-auto pt-3 p-5 border border-neutral-200 dark:border-neutral-700 border rounded-md shadow-2xl">
|
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))
|
.catch(error => console.error(error))
|
||||||
</script>
|
</script>
|
||||||
</a>
|
</a>
|
||||||
|
</div>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
{{- $giteaColors := .Site.Data.giteaColors -}}
|
{{- $giteaColors := .Site.Data.giteaColors -}}
|
||||||
{{- with $giteaData -}}
|
{{- with $giteaData -}}
|
||||||
|
|
||||||
|
<div class="gitea-card-wrapper">
|
||||||
<a id="{{ $id }}" target="_blank" href="{{ .html_url }}" class="cursor-pointer">
|
<a id="{{ $id }}" target="_blank" href="{{ .html_url }}" class="cursor-pointer">
|
||||||
<div
|
<div
|
||||||
class="w-full md:w-auto pt-3 p-5 border border-neutral-200 dark:border-neutral-700 border rounded-md shadow-2xl">
|
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))
|
.catch(error => console.error(error))
|
||||||
</script>
|
</script>
|
||||||
</a>
|
</a>
|
||||||
|
</div>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
{{- $gitLabData := resources.GetRemote $gitlabURL | transform.Unmarshal -}}
|
{{- $gitLabData := resources.GetRemote $gitlabURL | transform.Unmarshal -}}
|
||||||
{{- with $gitLabData -}}
|
{{- with $gitLabData -}}
|
||||||
|
|
||||||
|
<div class="gitlab-card-wrapper">
|
||||||
<a id="{{ $id }}" target="_blank" href="{{ .web_url }}" class="cursor-pointer">
|
<a id="{{ $id }}" target="_blank" href="{{ .web_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">
|
<div class="w-full md:w-auto pt-3 p-5 border border-neutral-200 dark:border-neutral-700 border rounded-md shadow-2xl">
|
||||||
|
|
||||||
@@ -54,4 +55,5 @@
|
|||||||
.catch(error => console.error(error))
|
.catch(error => console.error(error))
|
||||||
</script>
|
</script>
|
||||||
</a>
|
</a>
|
||||||
|
</div>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|||||||
Reference in New Issue
Block a user