You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by yi...@apache.org on 2023/11/08 22:23:15 UTC
(hudi) branch asf-site updated: [DOCS] Minor Bug fix for blogs page (#10021)
This is an automated email from the ASF dual-hosted git repository.
yihua pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 5591ec393db [DOCS] Minor Bug fix for blogs page (#10021)
5591ec393db is described below
commit 5591ec393db3793be1b79b640fb030b12a66690c
Author: Bhavani Sudha Saktheeswaran <21...@users.noreply.github.com>
AuthorDate: Wed Nov 8 14:23:07 2023 -0800
[DOCS] Minor Bug fix for blogs page (#10021)
---
website/src/theme/BlogPostItem/index.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/website/src/theme/BlogPostItem/index.js b/website/src/theme/BlogPostItem/index.js
index a7e7d586f77..5415f03737d 100644
--- a/website/src/theme/BlogPostItem/index.js
+++ b/website/src/theme/BlogPostItem/index.js
@@ -129,7 +129,7 @@ function BlogPostItem(props) {
{!isBlogPostPage && image && (
<div className="col blogThumbnail" itemProp="blogThumbnail">
{
- location.pathname === '/blog' ? <Link itemProp="url" to={permalink}>
+ location.pathname.startsWith('/blog') ? <Link itemProp="url" to={permalink}>
<img
src={withBaseUrl(image, {
absolute: true,
@@ -153,7 +153,7 @@ function BlogPostItem(props) {
{title}
</TitleHeading>
) : (
- location.pathname === '/blog' ?
+ location.pathname.startsWith('/blog') ?
<Link itemProp="url" to={permalink}>
<TitleHeading className={styles.blogPostTitle} itemProp="headline">
{title}