Skip to content

Commit 0a4cfd4

Browse files
author
sangam14
committed
update-github-button
1 parent dc2d3cc commit 0a4cfd4

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

layouts/partials/landing/hero.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
{{ with (index .Site.Data.landing $sectionTitle) }}
33
{{ if eq .enable true }}
44
<!-- Hero Start -->
5+
<!-- Place this tag in your head or just before your close body tag. -->
6+
<script async defer src="https://buttons.github.io/buttons.js"></script>
57
{{ with .backgroundImage }}
68
{{ $path := .path | default "images" }}
79
{{ $filename := .filename }}
@@ -58,6 +60,11 @@ <h4 class="heading mt-0 mb-3">
5860
</h4>
5961
{{ with .subtitle }}
6062
<p class="para-desc text-muted mb-0">{{ . | markdownify }}</p>
63+
<a class="github-button" href="https://github.com/kubernetesdaily/kubernetesdaily.github.io" data-color-scheme="no-preference: light; light: light; dark: dark;" data-size="large" data-show-count="true" aria-label="Star kubernetesdaily/kubernetesdaily.github.io on GitHub">Star</a>
64+
<!-- Place this tag where you want the button to render. -->
65+
<a class="github-button" href="https://github.com/kubernetesdaily" data-color-scheme="no-preference: light; light: light; dark: dark;" data-size="large" data-show-count="true" aria-label="Follow @kubernetesdaily on GitHub">Follow @kubernetesdaily</a>
66+
<!-- Place this tag where you want the button to render. -->
67+
<a class="github-button" href="https://github.com/kubernetesdaily/kubernetesdaily.github.io/fork" data-color-scheme="no-preference: light; light: light; dark: dark;" data-size="large" data-show-count="true" aria-label="Fork kubernetesdaily/kubernetesdaily.github.io on GitHub">Fork</a>
6168
{{ end }}
6269

6370
<div class="mt-3">
@@ -88,7 +95,7 @@ <h4 class="heading mt-0 mb-3">
8895
{{ end }}
8996
</div>
9097
</div>
91-
98+
<!-- Place this tag where you want the button to render. -->
9299
<div class="col-lg-6 col-md-6 mt-4 pt-4 mt-sm-0 pt-sm-0">
93100
{{ with .image }}
94101
{{ $path := .path | default "images" }}

0 commit comments

Comments
 (0)