This is an automated email from the ASF dual-hosted git repository.
lukaszlenart pushed a commit to branch announce-2529
in repository https://gitbox.apache.org/repos/asf/struts-site.git
The following commit(s) were added to refs/heads/announce-2529 by this push:
new e00d5c1 Adds Github's Stars button
e00d5c1 is described below
commit e00d5c1aa6823606dcebc320a7334e752d6866cc
Author: Lukasz Lenart <[email protected]>
AuthorDate: Sat Jan 22 12:15:38 2022 +0100
Adds Github's Stars button
---
source/_layouts/main-page.html | 2 ++
source/index.html | 6 +++---
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/source/_layouts/main-page.html b/source/_layouts/main-page.html
index 190ef1e..a129664 100644
--- a/source/_layouts/main-page.html
+++ b/source/_layouts/main-page.html
@@ -16,6 +16,8 @@
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="/bootstrap/js/bootstrap.js"></script>
<script type="text/javascript" src="/js/community.js"></script>
+
+ <script async defer src="https://buttons.github.io/buttons.js"></script>
</head>
<body>
diff --git a/source/index.html b/source/index.html
index cdb9e45..0d29dd8 100644
--- a/source/index.html
+++ b/source/index.html
@@ -89,9 +89,9 @@ title: Welcome to the Apache Struts project
<div data-href="https://www.facebook.com/apachestruts"
data-width="250" data-layout="button_count"
data-action="like" data-show-faces="false" data-share="true"
class="fb-like"></div>
</div>
- <div class="gplus-btn">
- <div data-annotation="inline" data-size="medium" data-width="225"
data-href="http://struts.apache.org/"
- class="g-plusone"></div>
+ <div class="github-btn">
+ <!-- Place this tag where you want the button to render. -->
+ <a class="github-button" href="https://github.com/apache/struts"
data-color-scheme="no-preference: light; light: light; dark: light;"
data-show-count="true" aria-label="Star apache/struts on GitHub">Star</a>
</div>
<div class="twitter-btn"><a href="https://twitter.com/TheApacheStruts"
data-show-count="false" data-lang="en"
data-width="240px" data-align="left"
class="twitter-follow-button">Follow