Skip to content

Commit

Permalink
Enable reactions and comments on the blog posts
Browse files Browse the repository at this point in the history
Signed-off-by: Shivank Anchal <anchalshivank99@gmail.com>
  • Loading branch information
anchalshivank committed Sep 13, 2024
1 parent ef42e3b commit 58927fa
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 2 deletions.
1 change: 1 addition & 0 deletions blog/2023-09-04-the-story-behind-replica_io.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: The Story Behind Replica_IO
description: The Story Behind Replica_IO - an open-source framework for building practical distributed replication mechanisms.
authors: sergefdrv
tags: ["introduction", "announcement", "story"]
draft: true
---

This post tells how the Replica_IO project originated and explains the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ authors: sergefdrv
tags: ["technical", "overview", "long"]
toc_max_heading_level: 4
image: "./image.png"
draft: false
---

This post concludes the first phase of the [state-of-the-art exploration](https://github.com/replica-io/replica-io/issues/7) in the scope of milestone [M0.1](https://github.com/replica-io/replica-io/milestone/1) of the Replica_IO project, namely exploration of selected notable distributed protocol implementations. It shares the main conclusions drawn from exploring 14 different code bases and outlines the key areas of focus for the next steps developing the Replica_IO framework.
Expand Down
10 changes: 10 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"@mdx-js/react": "^3.0.1",
"botex": "^1.0.0",
"clsx": "^2.1.1",
"disqus-react": "^1.1.5",
"prism-react-renderer": "^2.3.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
Expand All @@ -44,4 +45,4 @@
"engines": {
"node": ">=18.0"
}
}
}
26 changes: 26 additions & 0 deletions src/theme/BlogPostItem/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import React from 'react';
import { DiscussionEmbed } from 'disqus-react'
import BlogPostItem from '@theme-original/BlogPostItem';
import {useBlogPost} from '@docusaurus/plugin-content-blog/client'

export default function BlogPostItemWrapper(props) {
const { metadata } = useBlogPost()
const { frontMatter, slug, title } = metadata
const { comments = true } = frontMatter
return (
<>
<BlogPostItem {...props} />
{comments && (
<DiscussionEmbed
shortname='https-replica-io-dev'
config={{
url: slug,
identifier: slug,
title,
language: 'en_US',
}}
/>
)}
</>
);
}
1 change: 0 additions & 1 deletion src/theme/Footer/Copyright/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ export default function CopyrightWrapper(props) {
const { siteConfig: { customFields: {
siteLicense,
} } } = useDocusaurusContext();

return (
<>
<div>Made with ❤️ on Earth.</div>
Expand Down

0 comments on commit 58927fa

Please sign in to comment.