A Jekyll-based blog exploring quantum computing, from Boolean logic to quantum gates, with philosophical reflections on Vedanta and consciousness. Designed for GitHub Pages deployment with LinkedIn sharing capabilities.
Issue: Blog posts weren't displaying - pages were empty except the homepage.
Root Cause: Missing default.html layout and improper configuration.
Fixes Applied:
- Created
_layouts/default.html- The base template that all pages inherit from - Created
_layouts/home.html- Homepage template with post listing - Added
assets/css/style.css- Custom styling for the blog - Fixed
_config.yml- Removed conflicting collections configuration - Updated
index.mdandabout.md- Proper layout references
- ✍️ Write blog posts in Markdown
- 🚀 Automatic deployment to GitHub Pages
- 🔗 LinkedIn and social media sharing buttons
- 📱 Responsive design with Minima theme
- 🔍 SEO optimized with meta tags
- 📊 Sitemap and RSS feed generation
- Ruby 3.0 or higher
- Bundler gem
- Git
-
Clone this repository or push it to your GitHub account
-
Install dependencies:
bundle install-
Update the configuration in
_config.yml:- Change
title,email,description - Update
urlto your GitHub Pages URL (e.g.,https://yourusername.github.io) - Set your social media usernames
- Change
-
Run the site locally:
bundle exec jekyll serve- Visit
http://localhost:4000in your browser
-
Create a new file in the
_postsdirectory with the naming format:YYYY-MM-DD-title-of-your-post.md -
Add front matter at the top of the file:
--- layout: post title: "Your Post Title" date: YYYY-MM-DD HH:MM:SS +0000 categories: category-name tags: [tag1, tag2, tag3] author: Your Name description: "Brief description for SEO" --- Your content goes here...
-
Write your content in Markdown below the front matter
- Headers: Use
#for H1,##for H2, etc. - Bold:
**text** - Italic:
*text* - Links:
[link text](url) - Images:
 - Code blocks: Use triple backticks with language identifier
Example:
```python
def hello():
print("Hello, World!")
```-
Push your repository to GitHub
-
Go to your repository Settings → Pages
-
Under "Source", select "GitHub Actions"
-
The included
.github/workflows/jekyll.ymlworkflow will automatically build and deploy your site
Every time you push to the main branch:
- GitHub Actions will build your Jekyll site
- Deploy it to GitHub Pages
- Your site will be available at
https://yourusername.github.io/repository-name
While LinkedIn doesn't support direct API posting, you can easily share your articles:
-
After publishing to GitHub Pages, visit your article URL
-
Click the "Share on LinkedIn" button on the post page
-
LinkedIn will open with a pre-filled post containing your article link
-
Add your own commentary and publish to LinkedIn
- Write a compelling introduction (2-3 sentences) when sharing
- Use relevant hashtags to increase visibility
- Tag relevant people or companies
- Share at optimal times (Tuesday-Thursday, 9am-12pm)
.
├── _config.yml # Site configuration
├── _posts/ # Blog posts (Markdown files)
├── _layouts/ # HTML templates
├── _includes/ # Reusable HTML components
├── assets/
│ ├── css/ # Custom stylesheets
│ └── images/ # Image files
├── about.md # About page
├── index.md # Homepage
├── Gemfile # Ruby dependencies
└── .github/
└── workflows/ # GitHub Actions workflows
The default theme is Minima. To use a different theme:
- Browse Jekyll themes
- Update
themein_config.yml - Add the theme gem to
Gemfile - Run
bundle install
Add custom CSS in assets/css/custom.css and include it in your layouts.
Create a new .md file in the root directory with front matter:
---
layout: page
title: Page Title
permalink: /page-url/
---
Page content here...bundle update
bundle exec jekyll serve- Check the Actions tab in your GitHub repository
- Verify
_config.ymlsyntax - Ensure all front matter is valid YAML
- Verify filename format:
YYYY-MM-DD-title.md - Check that the date in front matter isn't in the future
- Ensure the file is in the
_postsdirectory
This project structure is available for personal and commercial use.
Feel free to fork this repository and customize it for your needs!
Happy blogging! 🎉