SEO and Social Sharing Improvements
This document summarizes the technical improvements made to enhance your blogβs SEO and social media presence.
β
Completed Improvements
- Added comprehensive Open Graph tags for Facebook, LinkedIn, and other social platforms
- Added Twitter Card meta tags for better Twitter sharing
- Automatically generates meta tags from post content, excerpts, or site defaults
- Supports article-specific tags (published date, author, tags, categories)
Location: _layouts/default.html
2. Structured Data (JSON-LD)
- Added JSON-LD structured data for blog posts (BlogPosting schema)
- Added WebSite schema for the homepage
- Improves search engine understanding and enables rich snippets in search results
Location: _layouts/default.html
- Dynamic meta descriptions that prioritize:
- Post-specific
description field
- Post
excerpt (auto-generated)
- Site default description
- Proper truncation to 160 characters for optimal SEO
- Keywords meta tag populated from post tags
Location: _layouts/default.html
- Added share buttons for:
- Twitter
- LinkedIn
- Facebook
- Reddit
- Copy Link (with visual feedback)
- Responsive design that stacks on mobile
- Hover effects with brand colors
- Accessible with proper ARIA labels
Locations:
- Component:
_includes/social_sharing.html
- Styles:
assets/css/main.css
- Integration:
_layouts/post.html
- Configured jekyll-feed plugin settings:
- Full content in feed (not just excerpts)
- Limit of 20 posts
- Proper feed path
- Feed is automatically generated at
/feed.xml
Location: _config.yml
6. Analytics Setup
- Added Google Analytics 4 placeholder
- Ready to uncomment and add your tracking ID
- Alternative Google Tag Manager option included
Location: _config.yml and _layouts/default.html
π Configuration Required
Update Your Site URL
In _config.yml, update the url field with your actual GitHub Pages URL:
url: "https://yourusername.github.io" # Or your custom domain
Add Analytics (Optional)
Uncomment and add your Google Analytics tracking ID in _config.yml:
google_analytics: "G-XXXXXXXXXX"
Add Default Social Image (Optional)
For better social sharing, add a default image in _config.yml:
image: "/assets/images/og-image.png"
You can also add image: "/path/to/image.jpg" to individual post front matter for post-specific images.
π Next Steps for Blog Promotion
- Update the URL in
_config.yml with your actual GitHub Pages URL
- Test social sharing by sharing a post on Twitter/LinkedIn
- Submit sitemap to Google Search Console:
https://yourdomain.com/sitemap.xml
- Verify structured data using Googleβs Rich Results Test
Content Promotion:
- Share each new post on Twitter with relevant hashtags (#Nextflow, #Bioinformatics, #DataScience)
- Post on LinkedIn in relevant groups
- Share on Reddit (r/bioinformatics, r/datascience) - follow subreddit rules
- Submit to newsletters (Data Elixir, Python Weekly, etc.)
- Engage with the Nextflow community on Slack/Discord
SEO Best Practices:
- Add
description field to post front matter for better meta descriptions
- Use relevant tags and categories
- Add
image field to posts for better social sharing
- Internal linking between related posts
- Regular content updates
π Testing Your Improvements
Test Structured Data:
- Visit
https://yourdomain.com/feed.xml
- Subscribe using an RSS reader
- Validate using W3C Feed Validator
π Monitoring
Once you add analytics:
- Track page views and user engagement
- Monitor traffic sources
- Identify popular content
- Track social media referrals
All improvements are now live! Your blog is ready for better SEO and social media sharing. π