A modern, fully-featured tech blogging website with advanced functionality, animations, and professional design focused on DevOps, Cloud Computing, AI, and Software Development.
- β Modern Design: Dark theme with purple/indigo gradients and smooth animations
- β Fully Responsive: Perfect on desktop, tablet, and mobile devices
- β SEO Optimized: Meta tags, Open Graph, Twitter Cards, Schema.org markup
- β PWA Ready: Installable as a Progressive Web App with manifest.json
- β RSS Feed: Subscribe via RSS (feed.xml)
- β Fast Loading: Optimized assets and minimal dependencies
- β Live Search: Real-time blog post filtering with debounce
- β Table of Contents: Auto-generated for blog posts
- β Social Sharing: Twitter, LinkedIn, Facebook, HN, Reddit
- β Comments System: GitHub Discussions integration (utterances)
- β Dark/Light Mode: Theme toggle with localStorage
- β Reading Progress: Visual scroll indicator for blog posts
- β Keyboard Shortcuts: Ctrl+K (search), ESC (clear), Ctrl+/ (scroll top)
- β Related Posts: Intelligent post recommendations
- β Reading Time: Estimated time to read
- β Code Highlighting: Syntax highlighting with copy buttons
- β Print Support: Print-friendly blog posts
- β Smooth Animations: Intersection Observer for fade-ins
- β Homepage with featured posts
- β About page with animations (stats, timeline, tech orbit)
- β Privacy Policy
- β Terms of Service
- β 7 Comprehensive blog posts
- β 404 & 502 error pages
optimuswrites.work.gd/
βββ index.html # Homepage with blog listing
βββ about.html # About page with animations
βββ privacy.html # Privacy policy
βββ terms.html # Terms of service
βββ 404.html # Error page
βββ 502.html # Server error page
βββ manifest.json # PWA manifest
βββ feed.xml # RSS feed
βββ sitemap.xml # SEO sitemap
βββ robots.txt # Search engine instructions
βββ favicon.svg # Site icon
βββ deploy.sh # Deployment script
βββ css/
β βββ style.css # Main stylesheet (1,894 lines)
βββ js/
β βββ main.js # Core functionality
β βββ about.js # About page animations
β βββ enhancements.js # Advanced features
β βββ blog-enhancements.js # Blog-specific features
βββ blog/
βββ kubernetes-deployment-guide.html
βββ ai-llm-applications.html
βββ aws-cost-optimization.html
βββ microservices-architecture.html
βββ docker-optimization.html
βββ zero-trust-security.html
βββ real-time-data-pipelines.html
# Clone the repository
git clone https://github.com/dil-mezzy/optimuswrites.work.gd.git
cd optimuswrites.work.gd
# Start local server (choose one)
python -m http.server 8000
# or
npx http-server
# or
php -S localhost:8000
# Visit http://localhost:8000# Make deploy script executable
chmod +x deploy.sh
# Deploy (auto-syncs with Git)
./deploy.shEdit the CSS variables in css/style.css:
:root {
--primary-color: #6366f1; /* Indigo */
--secondary-color: #8b5cf6; /* Purple */
--accent-color: #ec4899; /* Pink */
--dark-bg: #0f172a; /* Dark Navy */
--dark-card: #1e293b; /* Slate */
--text-primary: #f8fafc; /* Light */
--text-secondary: #cbd5e1; /* Gray */
}- Update social links in all HTML files
- Change email to your email address
- Modify About page content in
about.html - Update hero section with your tagline
- Customize GitHub repo in
js/blog-enhancements.jsfor comments
- Copy an existing blog post as a template
- Update metadata (title, description, date, keywords)
- Add Open Graph and Twitter Card tags
- Include the blog-enhancements.js script
- Add post to homepage and update feed.xml
- Update sitemap.xml with new URL
Example blog post structure:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Your Post Title - OptimusWrites</title>
<meta name="description" content="Your post description">
<!-- Open Graph -->
<meta property="og:title" content="Your Post Title">
<meta property="og:description" content="Your post description">
<meta property="og:type" content="article">
<meta property="og:url" content="https://www.optimuswrites.work.gd/blog/your-post.html">
<!-- Twitter Card -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:title" content="Your Post Title">
<!-- Include all CSS and fonts -->
</head>
<body>
<!-- Navigation -->
<nav class="navbar">...</nav>
<!-- Article -->
<article class="blog-post-content">
<h1>Your Post Title</h1>
<div class="post-meta">
<span><i class="fas fa-calendar"></i> April 15, 2026</span>
<span><i class="fas fa-tag"></i> Category</span>
</div>
<!-- Content with H2 and H3 headings -->
<h2>Section 1</h2>
<p>Content...</p>
<h2>Section 2</h2>
<p>Content...</p>
</article>
<!-- Footer -->
<footer class="footer">...</footer>
<!-- Scripts -->
<script src="/js/main.js"></script>
<script src="/js/blog-enhancements.js"></script>
</body>
</html>Ctrl/Cmd + K: Focus search boxESC: Clear searchCtrl/Cmd + /: Scroll to topββββββββBA: Easter egg (Konami code)
The blog-enhancements.js automatically adds to blog posts:
- Table of Contents: Auto-generated from H2/H3 headings
- Social Share Buttons: Twitter, LinkedIn, Facebook, HN, Reddit
- Related Posts: Customizable recommendations
- Comments: GitHub Discussions integration
- Reading Time: Auto-calculated
- Print Button: Print-friendly version
The website can be installed as an app:
- Visit the website on mobile
- Look for "Add to Home Screen" prompt
- Install and use like a native app
Features:
- Offline-capable (service worker ready)
- App icon and splash screen
- Standalone window
- Theme color customization
Users can toggle between dark and light themes:
- Button appears in bottom-right corner
- Preference saved to localStorage
- Smooth transition animations
To customize light theme, edit in js/blog-enhancements.js:
[data-theme="light"] {
--dark-bg: #ffffff;
--dark-card: #f8fafc;
--text-primary: #1e293b;
// ... more variables
}Add Google Analytics by inserting before </head>:
<!-- Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-XXXXXXXXXX');
</script>- HTTPS: Always use SSL certificate
- CSP Headers: Configure Content Security Policy
- Regular Updates: Keep dependencies current
- Input Validation: Sanitize any user inputs
- Backup: Regular automated backups
Before publishing a new post:
- SEO meta description added
- Open Graph tags configured
- Twitter Card tags added
- Proper heading hierarchy (H1, H2, H3)
- Code blocks have syntax highlighting
- Images optimized and have alt text
- Reading time is auto-calculated
- Social share buttons appear
- Comments section loads
- Related posts configured
- Added to homepage
- Updated feed.xml
- Updated sitemap.xml
- Tested on mobile
- β Unique title tags for each page
- β Meta descriptions (150-160 characters)
- β Meta descriptions
- β Semantic HTML structure
- β Alt text for images
- β Sitemap (add sitemap.xml)
- β Robots.txt (add robots.txt)
- β Schema markup (consider adding)
The newsletter form is currently set to show an alert. To integrate with a service:
- Choose a provider (Mailchimp, ConvertKit, Buttondown, etc.)
- Update the form action in
js/main.js - Add proper form handling
Example for Mailchimp:
<form action="https://your-mailchimp-url" method="POST">
<input type="email" name="EMAIL" placeholder="Enter your email" required>
<button type="submit" class="btn btn-primary">Subscribe</button>
</form>- Keep dependencies updated
- Use HTTPS (SSL certificate)
- Implement CSP headers
- Regular backups
- Validate user inputs if adding forms
- Check image paths are correct
- Ensure images are uploaded to server
- Verify file permissions
- Ensure
js/main.jsis loaded - Check browser console for errors
- Verify Font Awesome is loaded
- Clear browser cache
- Check CSS file paths
- Verify CSS files are uploaded
This template is free to use and modify for your personal or commercial projects.
Feel free to customize and improve this blog template. Share your improvements with the community!
Happy Blogging! π
For questions or support, visit optimuswrites.work.gd