This is an automated email from the ASF dual-hosted git repository.
benjobs pushed a commit to branch dev
in repository
https://gitbox.apache.org/repos/asf/incubator-streampark-website.git
The following commit(s) were added to refs/heads/dev by this push:
new 39e82fc5 [Improve] blog sidebarCount improvement
39e82fc5 is described below
commit 39e82fc50d0cc871095cc9b73a8a78e8f722f96e
Author: benjobs <[email protected]>
AuthorDate: Fri Oct 20 00:04:44 2023 +0800
[Improve] blog sidebarCount improvement
---
docusaurus.config.js | 80 +++++++++++++++++++++++++++-------------------------
1 file changed, 41 insertions(+), 39 deletions(-)
diff --git a/docusaurus.config.js b/docusaurus.config.js
index 654f61d3..43f6d3bc 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -75,6 +75,8 @@ const config = {
},
blog: {
+ blogSidebarCount: 15,
+ postsPerPage: 5,
showReadingTime: true,
// Please change this to your repo.
editUrl:
@@ -287,27 +289,27 @@ const config = {
{
html: `
<div class="subscribe-box">
- <div class="d-flex align-items-center"
style="margin-bottom: 30px;padding-top: 11px">
- <div class="subscribe-input flex-fill">
- <input class="form-control" id="email_address"
maxLength="60" type="text" name="email_address" placeholder="Subscribe with us">
- </div>
- <div class="subscribe-submit-inner">
- <a class="btn btn-white m-0" type="submit"
href="mailto:[email protected]">
- <span><i class="fa fa-paper-plane
text-white"></i></span>
- </a>
- </div>
+ <div class="d-flex align-items-center" style="margin-bottom:
30px;padding-top: 11px">
+ <div class="subscribe-input flex-fill">
+ <input class="form-control" id="email_address"
maxLength="60" type="text" name="email_address" placeholder="Subscribe with us">
</div>
- <ul class="icon-bottom">
- <li>
- <a href="javascript:void(0)">
- <i class="fa fa-wechat"></i>
- <div class="wechat-dropdown"><img
src="/image/join_wechat.png" alt="weChat"></div>
- </a>
- </li>
- <li><a href="javascript:void(0)"><i class="fa
fa-twitter"></i></a></li>
- <li><a href="javascript:void(0)"><i class="fa
fa-slack"></i></a></li>
- <li><a href="javascript:void(0)"><i class="fa
fa-facebook"></i></a></li>
- </ul>
+ <div class="subscribe-submit-inner">
+ <a class="btn btn-white m-0" type="submit"
href="mailto:[email protected]">
+ <span><i class="fa fa-paper-plane
text-white"></i></span>
+ </a>
+ </div>
+ </div>
+ <ul class="icon-bottom">
+ <li>
+ <a href="javascript:void(0)">
+ <i class="fa fa-wechat"></i>
+ <div class="wechat-dropdown"><img
src="/image/join_wechat.png" alt="weChat"></div>
+ </a>
+ </li>
+ <li><a href="javascript:void(0)"><i class="fa
fa-twitter"></i></a></li>
+ <li><a href="javascript:void(0)"><i class="fa
fa-slack"></i></a></li>
+ <li><a href="javascript:void(0)"><i class="fa
fa-facebook"></i></a></li>
+ </ul>
</div>
`,
}
@@ -315,26 +317,26 @@ const config = {
}
],
copyright: `
- <div style="text-align: left;margin-top:30px">
- <div class="d-flex align-items-center">
- <div>
- <a href="https://incubator.apache.org/"
class="footerLogoLink" one-link-mark="yes">
- <img src="/image/apache-incubator.svg" alt="Apache
Incubator logo" class="footer__logo">
- </a>
- </div>
- <div>
- <p style="font-family: Avenir-Medium;font-size:
14px;color: #999;line-height: 25px;">
- Apache StreamPark is an effort undergoing incubation at
The Apache Software Foundation (ASF), sponsored by the Apache Incubator.
Incubation is required of all newly accepted projects until a further review
indicates that the infrastructure, communications, and decision making process
have stabilized in a manner consistent with other successful ASF projects.
While incubation status is not necessarily a reflection of the completeness or
stability of the code, it does [...]
- </p>
- </div>
- </div>
+ <div style="text-align: left;margin-top:30px">
+ <div class="d-flex align-items-center">
+ <div>
+ <a href="https://incubator.apache.org/" class="footerLogoLink"
one-link-mark="yes">
+ <img src="/image/apache-incubator.svg" alt="Apache Incubator
logo" class="footer__logo">
+ </a>
+ </div>
+ <div>
+ <p style="font-family: Avenir-Medium;font-size: 14px;color:
#999;line-height: 25px;">
+ Apache StreamPark is an effort undergoing incubation at The
Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation
is required of all newly accepted projects until a further review indicates
that the infrastructure, communications, and decision making process have
stabilized in a manner consistent with other successful ASF projects. While
incubation status is not necessarily a reflection of the completeness or
stability of the code, it does indicate [...]
+ </p>
+ </div>
+ </div>
- <div style="border-top: 1px solid #525252;min-height:
60px;line-height: 25px;text-align: left;font-family: Avenir-Medium;font-size:
14px;color: #999;display: flex;align-items: center;">
- <span>
- Copyright © 2022-${new Date().getFullYear()} The Apache
Software Foundation. Apache StreamPark, StreamPark, and its feather logo are
trademarks of The Apache Software Foundation.
- </span>
- </div>
- </div>`,
+ <div style="border-top: 1px solid #525252;min-height:
60px;line-height: 25px;text-align: left;font-family: Avenir-Medium;font-size:
14px;color: #999;display: flex;align-items: center;">
+ <span>
+ Copyright © 2022-${new Date().getFullYear()} The Apache Software
Foundation. Apache StreamPark, StreamPark, and its feather logo are trademarks
of The Apache Software Foundation.
+ </span>
+ </div>
+ </div>`,
},
prism: {