A clean and minimal Jekyll blog powered by the Reverie theme.
RootCode is a modern, responsive Jekyll blog designed for developers and tech enthusiasts. Built with simplicity and performance in mind, it provides a distraction-free platform for sharing knowledge and ideas.
- ✨ Clean, minimal design
- 📱 Fully responsive layout
- 🎨 Syntax highlighting for code blocks
- 🔍 Built-in search functionality
- 📊 SEO optimized
- 🚀 Fast loading times
- 📝 Markdown support
- 💬 Disqus comments integration
- 📈 Google Analytics support
- 🌐 Social media integration
- Ruby (version 2.5.0 or higher)
- RubyGems
- Git
- Clone the repository:
git clone https://github.com/rajeshbhola/rajeshbhola.github.io.git rootcode
cd rootcode- Install dependencies:
bundle install- Run the blog locally:
bundle exec jekyll serve- Open your browser and visit:
http://localhost:4000/rootcode
Edit _config.yml to customize your blog:
name: RootCode
description: Your blog description
avatar: https://url-to-your-avatar.jpg
# Social links
footer-links:
github: yourusername
twitter: yourusername
linkedin: yourusername
# Optional integrations
google_analytics: UA-XXXXXXXX-X
disqus: your-disqus-shortnameCreate a new file in _posts/ with the format:
YEAR-MONTH-DAY-title.md
Example: 2025-01-17-my-first-post.md
Add front matter to your post:
---
layout: post
title: My First Post
categories: [Tutorial, Jekyll]
---Then write your content using Markdown.
rootcode/
├── _config.yml # Site configuration
├── _includes/ # Reusable components
│ ├── analytics.html
│ ├── disqus.html
│ ├── meta.html
│ └── svg-icons.html
├── _layouts/ # Page templates
│ ├── default.html
│ ├── page.html
│ └── post.html
├── _pages/ # Static pages
│ ├── about.md
│ ├── getting-started.md
│ └── search.md
├── _posts/ # Blog posts
├── _sass/ # Sass partials
│ ├── _highlights.scss
│ ├── _reset.scss
│ ├── _svg-icons.scss
│ └── _variables.scss
├── assets/ # CSS, images, JS
│ └── style.scss
├── index.html # Homepage
├── 404.md # 404 page
├── Gemfile # Ruby dependencies
└── README.md # This file
Edit _sass/_variables.scss:
$blue: #4183C4;
$darkGray: #333;
$helveticaNeue: "Helvetica Neue", Helvetica, Arial, sans-serif;Update navigation links in _layouts/default.html:
<nav>
<a href="{{ site.baseurl }}/">Blog</a>
<a href="{{ site.baseurl }}/about">About</a>
<a href="{{ site.baseurl }}/getting-started">Getting Started</a>
</nav>Add or remove social links in _config.yml:
footer-links:
github: username
twitter: username
linkedin: username
email: your.email@example.com- Push your repository to GitHub
- Go to Settings → Pages
- Select source: main branch
- Your site will be live at:
https://rajeshbhola.github.io/rootcode
Create a CNAME file in the root directory:
yourdomain.com
Then configure your DNS settings with your domain provider.
# Start development server
bundle exec jekyll serve
# Build site
bundle exec jekyll build
# Clean build files
bundle exec jekyll clean
# Serve with drafts
bundle exec jekyll serve --drafts
# Live reload
bundle exec jekyll serve --livereload
# Production build
JEKYLL_ENV=production bundle exec jekyll build- Jekyll - Static site generator
- Markdown - Content writing
- Sass - CSS preprocessing
- Liquid - Template language
- GitHub Pages - Hosting
Contributions are welcome! Feel free to:
- Fork the repository
- Create a new branch (
git checkout -b feature/improvement) - Make your changes
- Commit your changes (
git commit -am 'Add new feature') - Push to the branch (
git push origin feature/improvement) - Create a Pull Request
This project is open source and available under the MIT License.
If you encounter any issues or have questions:
- Check the Getting Started guide
- Read the Jekyll documentation
- Search Stack Overflow
RootCode Blog
- GitHub: @rajeshbhola
Built with ❤️ using Jekyll