├── .markdownlint.json
├── public
├── robots.txt
├── images
│ ├── logo.png
│ ├── logo1.png
│ ├── Keeper.png
│ ├── avatar.png
│ ├── banner1.png
│ ├── favicon.png
│ ├── imagenew.jpg
│ ├── og-image.png
│ ├── umesh123.png
│ ├── algorithms.png
│ ├── avatar-sm.png
│ ├── download.jpeg
│ ├── javascript.png
│ ├── service-0.png
│ ├── service-1.png
│ ├── service-10.png
│ ├── service-2.png
│ ├── service-3.png
│ ├── Network IPs.png
│ ├── aboutprfile.png
│ ├── aboutprofile.jpg
│ ├── ai_engineer.jpeg
│ ├── contribution.png
│ ├── logo-darkmode.png
│ ├── call-to-action.png
│ ├── contribution-2.png
│ ├── contribution-3.png
│ ├── image-placeholder.png
│ ├── quantum_computing.jpg
│ ├── snakes-ransomware.png
│ └── metaverse blog image.png
└── .htaccess
├── .vscode
├── settings.json
└── extensions.json
├── src
├── env.d.ts
├── content
│ ├── authors
│ │ ├── english
│ │ │ ├── -index.md
│ │ │ ├── ManiAuthor.md
│ │ │ ├── EkSandy.md
│ │ │ ├── lok.md
│ │ │ ├── Admin.md
│ │ │ └── JohnDoe.md
│ │ └── french
│ │ │ └── -index.md
│ ├── blog
│ │ ├── english
│ │ │ ├── -index.md
│ │ │ ├── post-4.md
│ │ │ ├── siddharth.md
│ │ │ ├── post-5.md
│ │ │ ├── teja.md
│ │ │ ├── Time-Complexity.md
│ │ │ ├── Chitesh.md
│ │ │ ├── Metaverse.md
│ │ │ ├── post-3.md
│ │ │ ├── quantam-computing.md
│ │ │ ├── deepak.md
│ │ │ └── khc.md
│ │ └── french
│ │ │ └── -index.md
│ ├── contact
│ │ ├── french
│ │ │ └── -index.md
│ │ └── english
│ │ │ └── -index.md
│ ├── sections
│ │ └── english
│ │ │ ├── call-to-action.md
│ │ │ └── testimonial.md
│ ├── about
│ │ ├── english
│ │ │ └── -index.md
│ │ └── french
│ │ │ └── -index.md
│ ├── pages
│ │ └── english
│ │ │ └── privacy-policy.md
│ ├── homepage
│ │ ├── french
│ │ │ └── -index.md
│ │ └── english
│ │ │ └── -index.md
│ └── config.ts
├── layouts
│ ├── shortcodes
│ │ ├── Tab.tsx
│ │ ├── Youtube.tsx
│ │ ├── Video.tsx
│ │ ├── Button.tsx
│ │ ├── Accordion.tsx
│ │ ├── Tabs.tsx
│ │ └── Notice.tsx
│ ├── helpers
│ │ ├── Disqus.tsx
│ │ ├── DynamicIcon.tsx
│ │ └── LanguageSwitcher.tsx
│ ├── partials
│ │ ├── PageHeader.astro
│ │ ├── CallToAction.astro
│ │ ├── Footer.astro
│ │ └── PostSidebar.astro
│ ├── components
│ │ ├── TwSizeIndicator.astro
│ │ ├── Social.astro
│ │ ├── AuthorCard.astro
│ │ ├── Breadcrumbs.astro
│ │ ├── Share.astro
│ │ ├── Logo.astro
│ │ ├── ImageMod.astro
│ │ ├── BlogCard.astro
│ │ ├── ThemeSwitcher.astro
│ │ └── Pagination.astro
│ └── PostSingle.astro
├── config
│ ├── language.json
│ ├── menu.en.json
│ ├── social.json
│ ├── menu.fr.json
│ ├── theme.json
│ └── config.json
├── lib
│ ├── utils
│ │ ├── taxonomyFilter.ts
│ │ ├── dateFormat.ts
│ │ ├── sortFunctions.ts
│ │ ├── readingTime.ts
│ │ ├── similarItems.ts
│ │ ├── bgImageMod.ts
│ │ ├── textConverter.ts
│ │ └── languageParser.ts
│ ├── taxonomyParser.astro
│ └── contentParser.astro
├── types
│ └── index.d.ts
├── styles
│ ├── main.scss
│ ├── utilities.scss
│ ├── buttons.scss
│ ├── base.scss
│ ├── navigation.scss
│ └── search.scss
├── hooks
│ └── useTheme.ts
├── i18n
│ ├── en.json
│ └── fr.json
└── pages
│ ├── [...lang]
│ ├── blog
│ │ ├── [single].astro
│ │ ├── index.astro
│ │ └── page
│ │ │ └── [slug].astro
│ ├── authors
│ │ ├── index.astro
│ │ └── [single].astro
│ ├── [regular].astro
│ ├── about.astro
│ ├── tags
│ │ ├── index.astro
│ │ └── [tag].astro
│ ├── categories
│ │ ├── index.astro
│ │ └── [category].astro
│ ├── contact.astro
│ └── index.astro
│ └── 404.astro
├── .dockerignore
├── netlify.toml
├── postcss.config.js
├── harsh.txt
├── .prettierrc
├── .editorconfig
├── .gitignore
├── .github
├── ISSUE_TEMPLATE
│ └── feature_request.md
├── FUNDING.yml
└── workflows
│ └── greetings.yml
├── tsconfig.json
├── config
└── nginx
│ └── nginx.conf
├── LICENSE
├── SECURITY.md
├── Dockerfile
├── astro.config.mjs
├── package.json
├── scripts
├── removeMultilang.js
├── jsonGenerator.js
└── removeDarkmode.js
├── tailwind.config.js
└── CONTRIBUTING.md
/.markdownlint.json:
--------------------------------------------------------------------------------
1 | {
2 | "MD033": false,
3 | "MD013": false
4 | }
5 |
--------------------------------------------------------------------------------
/public/robots.txt:
--------------------------------------------------------------------------------
1 | User-agent: *
2 | Allow: /
3 |
4 | Disallow: /api/*
--------------------------------------------------------------------------------
/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "files.associations": {
3 | "*.mdx": "markdown"
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/public/images/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Developer-Blogs/Dev-blogs/HEAD/public/images/logo.png
--------------------------------------------------------------------------------
/public/images/logo1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Developer-Blogs/Dev-blogs/HEAD/public/images/logo1.png
--------------------------------------------------------------------------------
/src/env.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
--------------------------------------------------------------------------------
/.dockerignore:
--------------------------------------------------------------------------------
1 | Dockerfile
2 | .dockerignore
3 | node_modules
4 | npm-debug.log
5 | README.md
6 | .next
7 | .git
--------------------------------------------------------------------------------
/public/images/Keeper.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Developer-Blogs/Dev-blogs/HEAD/public/images/Keeper.png
--------------------------------------------------------------------------------
/public/images/avatar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Developer-Blogs/Dev-blogs/HEAD/public/images/avatar.png
--------------------------------------------------------------------------------
/public/images/banner1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Developer-Blogs/Dev-blogs/HEAD/public/images/banner1.png
--------------------------------------------------------------------------------
/public/images/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Developer-Blogs/Dev-blogs/HEAD/public/images/favicon.png
--------------------------------------------------------------------------------
/public/images/imagenew.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Developer-Blogs/Dev-blogs/HEAD/public/images/imagenew.jpg
--------------------------------------------------------------------------------
/public/images/og-image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Developer-Blogs/Dev-blogs/HEAD/public/images/og-image.png
--------------------------------------------------------------------------------
/public/images/umesh123.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Developer-Blogs/Dev-blogs/HEAD/public/images/umesh123.png
--------------------------------------------------------------------------------
/.vscode/extensions.json:
--------------------------------------------------------------------------------
1 | {
2 | "recommendations": ["astro-build.astro-vscode","bradlc.vscode-tailwindcss"]
3 | }
4 |
--------------------------------------------------------------------------------
/public/images/algorithms.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Developer-Blogs/Dev-blogs/HEAD/public/images/algorithms.png
--------------------------------------------------------------------------------
/public/images/avatar-sm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Developer-Blogs/Dev-blogs/HEAD/public/images/avatar-sm.png
--------------------------------------------------------------------------------
/public/images/download.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Developer-Blogs/Dev-blogs/HEAD/public/images/download.jpeg
--------------------------------------------------------------------------------
/public/images/javascript.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Developer-Blogs/Dev-blogs/HEAD/public/images/javascript.png
--------------------------------------------------------------------------------
/public/images/service-0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Developer-Blogs/Dev-blogs/HEAD/public/images/service-0.png
--------------------------------------------------------------------------------
/public/images/service-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Developer-Blogs/Dev-blogs/HEAD/public/images/service-1.png
--------------------------------------------------------------------------------
/public/images/service-10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Developer-Blogs/Dev-blogs/HEAD/public/images/service-10.png
--------------------------------------------------------------------------------
/public/images/service-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Developer-Blogs/Dev-blogs/HEAD/public/images/service-2.png
--------------------------------------------------------------------------------
/public/images/service-3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Developer-Blogs/Dev-blogs/HEAD/public/images/service-3.png
--------------------------------------------------------------------------------
/public/images/Network IPs.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Developer-Blogs/Dev-blogs/HEAD/public/images/Network IPs.png
--------------------------------------------------------------------------------
/public/images/aboutprfile.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Developer-Blogs/Dev-blogs/HEAD/public/images/aboutprfile.png
--------------------------------------------------------------------------------
/public/images/aboutprofile.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Developer-Blogs/Dev-blogs/HEAD/public/images/aboutprofile.jpg
--------------------------------------------------------------------------------
/public/images/ai_engineer.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Developer-Blogs/Dev-blogs/HEAD/public/images/ai_engineer.jpeg
--------------------------------------------------------------------------------
/public/images/contribution.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Developer-Blogs/Dev-blogs/HEAD/public/images/contribution.png
--------------------------------------------------------------------------------
/public/images/logo-darkmode.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Developer-Blogs/Dev-blogs/HEAD/public/images/logo-darkmode.png
--------------------------------------------------------------------------------
/netlify.toml:
--------------------------------------------------------------------------------
1 | [build]
2 | publish = "dist"
3 | command = "yarn build"
4 |
5 | [build.environment]
6 | NODE_VERSION = "20"
7 |
--------------------------------------------------------------------------------
/postcss.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | plugins: {
3 | tailwindcss: {},
4 | autoprefixer: {},
5 | },
6 | };
7 |
--------------------------------------------------------------------------------
/public/images/call-to-action.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Developer-Blogs/Dev-blogs/HEAD/public/images/call-to-action.png
--------------------------------------------------------------------------------
/public/images/contribution-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Developer-Blogs/Dev-blogs/HEAD/public/images/contribution-2.png
--------------------------------------------------------------------------------
/public/images/contribution-3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Developer-Blogs/Dev-blogs/HEAD/public/images/contribution-3.png
--------------------------------------------------------------------------------
/public/images/image-placeholder.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Developer-Blogs/Dev-blogs/HEAD/public/images/image-placeholder.png
--------------------------------------------------------------------------------
/public/images/quantum_computing.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Developer-Blogs/Dev-blogs/HEAD/public/images/quantum_computing.jpg
--------------------------------------------------------------------------------
/public/images/snakes-ransomware.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Developer-Blogs/Dev-blogs/HEAD/public/images/snakes-ransomware.png
--------------------------------------------------------------------------------
/public/images/metaverse blog image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Developer-Blogs/Dev-blogs/HEAD/public/images/metaverse blog image.png
--------------------------------------------------------------------------------
/src/content/authors/english/-index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Authors"
3 | meta_title: ""
4 | description: "this is meta description"
5 | ---
6 |
--------------------------------------------------------------------------------
/src/content/authors/french/-index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Auteurs"
3 | meta_title: ""
4 | description: "this is meta description"
5 | ---
6 |
--------------------------------------------------------------------------------
/src/content/blog/english/-index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Blog Posts"
3 | meta_title: ""
4 | description: "this is meta description"
5 | ---
6 |
--------------------------------------------------------------------------------
/src/content/blog/french/-index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Articles de blog"
3 | meta_title: ""
4 | description: "Ceci est une méta-description"
5 | ---
6 |
--------------------------------------------------------------------------------
/src/content/contact/french/-index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Contact"
3 | meta_title: ""
4 | description: "this is meta description"
5 | draft: false
6 | ---
7 |
--------------------------------------------------------------------------------
/src/content/contact/english/-index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Contact"
3 | meta_title: ""
4 | description: "this is meta description"
5 | draft: false
6 | ---
7 |
--------------------------------------------------------------------------------
/harsh.txt:
--------------------------------------------------------------------------------
1 | this is my first contribution i really don't know what to contribute just trying to get process how to pull a request on github so sorry if it is wrong my intensions are not wrong
--------------------------------------------------------------------------------
/.prettierrc:
--------------------------------------------------------------------------------
1 | {
2 | "plugins": ["prettier-plugin-astro"],
3 | "overrides": [
4 | {
5 | "files": ["*.astro"],
6 | "options": {
7 | "parser": "astro"
8 | }
9 | }
10 | ]
11 | }
12 |
--------------------------------------------------------------------------------
/src/layouts/shortcodes/Tab.tsx:
--------------------------------------------------------------------------------
1 | import React from "react";
2 |
3 | function Tab({ name, children }: { name: string; children: React.ReactNode }) {
4 | return
15 | {
16 | image && (
17 |
25 | )
26 | }
27 |
30 |
31 | {plainify(data.body?.slice(0, 100))}
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/src/content/authors/english/JohnDoe.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: John Doe
3 | email: john@email.com
4 | image: "/images/authors/john-doe.jpg"
5 | description: A technology enthusiast and software architect with years of experience in modern application development.
6 | social:
7 | - name: facebook
8 | icon: FaFacebook
9 | link: https://www.facebook.com
10 |
11 | - name: twitter
12 | icon: FaTwitter
13 | link: https://www.twitter.com
14 |
15 | - name: instagram
16 | icon: FaInstagram
17 | link: https://www.instagram.com
18 |
19 | ---
20 |
21 | John Doe is a seasoned software architect and technology enthusiast with a passion for building modern, scalable applications. With extensive experience in various technology stacks and architectural patterns, John helps organizations leverage cutting-edge technologies to create robust and efficient solutions.
22 |
23 | His expertise spans across cloud computing, microservices architecture, and modern development practices. Through his writing, John aims to share practical insights and best practices in software development and system design.
--------------------------------------------------------------------------------
/src/config/theme.json:
--------------------------------------------------------------------------------
1 | {
2 | "colors": {
3 | "default": {
4 | "theme_color": {
5 | "primary": "#121212",
6 | "body": "#fff",
7 | "border": "#eaeaea",
8 | "theme_light": "#f6f6f6",
9 | "theme_dark": ""
10 | },
11 | "text_color": {
12 | "default": "#444444",
13 | "dark": "#040404",
14 | "light": "#717171"
15 | }
16 | },
17 | "darkmode": {
18 | "theme_color": {
19 | "primary": "#fff",
20 | "body": "#1c1c1c",
21 | "border": "#3E3E3E",
22 | "theme_light": "#222222",
23 | "theme_dark": ""
24 | },
25 | "text_color": {
26 | "default": "#B4AFB6",
27 | "dark": "#fff",
28 | "light": "#B4AFB6"
29 | }
30 | }
31 | },
32 | "fonts": {
33 | "font_family": {
34 | "primary": "Heebo:wght@400;600",
35 | "primary_type": "sans-serif",
36 | "secondary": "Signika:wght@500;700",
37 | "secondary_type": "sans-serif"
38 | },
39 | "font_size": {
40 | "base": "16",
41 | "scale": "1.2"
42 | }
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/src/lib/utils/similarItems.ts:
--------------------------------------------------------------------------------
1 | // similar products
2 | const similarItems = (currentItem: any, allItems: any[]) => {
3 | let categories: string[] = [];
4 | let tags: string[] = [];
5 |
6 | // set categories
7 | if (currentItem.data.categories.length > 0) {
8 | categories = currentItem.data.categories;
9 | }
10 |
11 | // set tags
12 | if (currentItem.data.tags.length > 0) {
13 | tags = currentItem.data.tags;
14 | }
15 |
16 | // filter by categories
17 | const filterByCategories = allItems.filter((item: any) =>
18 | categories.find((category) => item.data.categories.includes(category)),
19 | );
20 |
21 | // filter by tags
22 | const filterByTags = allItems.filter((item: any) =>
23 | tags.find((tag) => item.data.tags.includes(tag)),
24 | );
25 |
26 | // merged after filter
27 | const mergedItems = [...new Set([...filterByCategories, ...filterByTags])];
28 |
29 | // filter by slug
30 | const filterBySlug = mergedItems.filter(
31 | (product) => product.slug !== currentItem.slug,
32 | );
33 |
34 | return filterBySlug;
35 | };
36 |
37 | export default similarItems;
38 |
--------------------------------------------------------------------------------
/src/content/about/english/-index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Hey, I am Krishna!"
3 | meta_title: "About"
4 | description: "developer "
5 | image: "https://avatars.githubusercontent.com/u/90260004?v=4"
6 | draft: false
7 | ---
8 |
9 | ### About the Creator
10 |
11 | Hi, I'm Krishna Chaitanya, the creator of this open-source blog platform and an enthusiastic developer passionate about building and sharing knowledge within the tech community. I believe in the power of open source, where collaboration fuels innovation and learning. My GitHub journey has been centered around contributing to projects that make a difference, whether it's through coding, developing tools, or mentoring others.
12 |
13 | Through this platform, I aim to create a space where developers from around the world can share their insights, ideas, and projects. I actively maintain my GitHub repository, welcoming contributors to fork, add their unique perspectives, and submit pull requests. Together, we're building something bigger than ourselves—a community of learners and creators dedicated to improving the open-source ecosystem.
14 |
15 | Feel free to explore, contribute, and connect!
16 |
17 | ---
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2023 - Present, Zeon Studio
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/.github/workflows/greetings.yml:
--------------------------------------------------------------------------------
1 | name: Greetings
2 |
3 | on: [pull_request_target, issues]
4 |
5 | jobs:
6 | greeting:
7 | runs-on: ubuntu-latest
8 | permissions:
9 | issues: write
10 | pull-requests: write
11 | steps:
12 | - uses: actions/first-interaction@v1
13 | with:
14 | repo-token: ${{ secrets.GITHUB_TOKEN }}
15 | issue-message: >
16 | Hello @${{ github.actor }}! 👋
17 |
18 | Thank you for opening your first issue in the **DevBlogs** repository.
19 | We're excited to have you join us on this journey of creating a vibrant community for sharing developer insights, tutorials, and projects.
20 | If you have any questions or need assistance, feel free to ask. Happy coding! 💻🚀
21 |
22 | pr-message: >
23 | Hello @${{ github.actor }}! 👋
24 |
25 | Thank you for submitting your first pull request to **DevBlogs**!
26 | Your contributions are incredibly valuable in building this platform for developers worldwide.
27 | We'll review your changes shortly. If you need help or have any suggestions, don't hesitate to let us know. Keep contributing and inspiring! 🌟💻
28 |
--------------------------------------------------------------------------------
/src/pages/[...lang]/blog/[single].astro:
--------------------------------------------------------------------------------
1 | ---
2 | import Base from "@/layouts/Base.astro";
3 | import PostSingle from "@/layouts/PostSingle.astro";
4 | import { getSinglePage } from "@/lib/contentParser.astro";
5 | import { supportedLang } from "@/lib/utils/languageParser";
6 | import type { ContentEntryMap } from "astro:content";
7 |
8 | export async function getStaticPaths() {
9 | const BLOG_FOLDER = "blog";
10 |
11 | const paths = await Promise.all(
12 | supportedLang.map(async (lang) => {
13 | const posts = await getSinglePage(
14 | BLOG_FOLDER,
15 | lang as keyof ContentEntryMap
16 | );
17 |
18 | return posts.map((post) => ({
19 | params: {
20 | lang: lang || undefined,
21 | single: post.slug.split("/").pop(),
22 | },
23 | props: {
24 | post,
25 | },
26 | }));
27 | })
28 | );
29 | return paths.flat();
30 | }
31 |
32 | const { post } = Astro.props;
33 | const { title, meta_title, description, image } = post.data;
34 | ---
35 |
36 |