Loading
please wait ...
Blogs from Coding Club GCT
Ideas Unleashed
Chapters
How to blogBlogging is a fantastic way to share your thoughts, expertise, and experiences with the world. Whether you’re writing about technology, travel, or personal development, having a structured approach can make your blogging journey smoother and more enjoyable. Here’s a step-by-step guide to get started:
GitHub provides an excellent platform not only for code but also for hosting markdown files, making it perfect for blogging. Follow these steps to set up your blogging repository:
my-blog
..md
file.Organize your repository to keep it clean and easy to navigate:
tech
, travel
, 2024
, etc.README.md
file. Include a brief description of your blog’s theme or your writing style.To manage your blogging profile and posts effectively, create a JSON configuration file named <yourusername>.json
with the following structure. Optionally, include a basePath
in each blogs
entry to specify where markdown files are located:
{
"profile": {
"github": "yourgithubusername",
"name": "Your Name",
"nameSlug": "your-name"
},
"blogs": [
{
"folderName": "Tech",
"folderSlug": "tech",
"basePath": "blogs/tech", // Optional basePath example
"remoteSource": "https://github.com/yourgithubusername/my-blog/tech/",
"issuesUrl": "https://github.com/yourgithubusername/my-blog/issues/1",
"hidden": false
},
{
"folderName": "Travel",
"folderSlug": "travel",
"basePath": "blogs/travel", // Optional basePath example
"remoteSource": "https://github.com/yourgithubusername/my-blog/travel/",
"issuesUrl": "https://github.com/yourgithubusername/my-blog/issues/2",
"hidden": false
}
// Add more blog entries as needed
]
}
lookup.json
To make your blog posts searchable and categorized, add each blog post entry to the lookup.json
file within your repository. Here’s how an example lookup.json
might look:
[
"useEffects.json",
"pavithra.json",
"_.json", // club's blog posts
"<yourusername>.json"
]
You can leverage your setup to display a list of your blogs and related information on your portfolio. We store lookup.json
and the entry files in the public
directory hence available @ https😕/blogs.codingclubgct.in/lookup.json and https😕/blogs.codingclubgct.in/[yourusename].json. This way, you can dynamically list your blogs, showcase your writing skills, and provide links for readers to explore your content further.
With your GitHub repository set up and configured, start writing! Markdown is simple yet powerful for formatting text, adding links, images, and more. Once you’re done writing a post:
Blogging on GitHub gives you control over your content, versioning through commits, and the ability to collaborate if desired. Follow these steps to get started, and enjoy your blogging journey!
Happy blogging!
Comment Section
https://github.com/useEffects/a2apoint/issues/1Login to post a comment