A Hugo blog optimized for both traditional SEO and Answer Engine Optimization (AEO), built with the PaperMod theme and comprehensive technical optimizations.
- ✅ Fast Loading: Static site generation with <1 second load times
- ✅ Mobile-First: Responsive design optimized for all devices
- ✅ Clean URLs: SEO-friendly permalink structure
- ✅ Meta Tags: Comprehensive Open Graph and Twitter Card support
- ✅ Sitemap: Auto-generated XML sitemap
- ✅ Structured Data: JSON-LD schema markup for rich snippets
- ✅ Performance: Optimized images, minification, and caching
- ✅ FAQ Schema: Structured data for AI-powered search engines
- ✅ Direct Answers: Content formatted for AI citation
- ✅ Clear Structure: Hierarchical headings and content organization
- ✅ Question-Based Content: Templates optimized for answer extraction
- Hugo v0.146.0+ (Extended version)
- Git
-
Clone and setup:
git clone <your-repo-url> cd seo-blog git submodule update --init --recursive
-
Customize configuration: Edit
hugo.toml:baseURL = "https://kaiwenli.github.io/blog/" title = "Your Blog Title" [params] description = "Your blog description" author = "Kaiwen Li"
-
Run locally:
hugo server
Visit http://localhost:1313
-
Create content:
hugo new posts/my-first-post.md hugo new guides/complete-guide.md hugo new glossary/important-term.md
Regular blog articles with SEO optimization.
Create with:
hugo new posts/article-title.mdComprehensive tutorials with HowTo schema markup.
Create with:
hugo new guides/guide-title.mdDefinition-focused content optimized for featured snippets.
Create with:
hugo new glossary/term-name.mdTools, templates, and downloadable resources.
- BlogPosting: For blog posts
- HowTo: For step-by-step guides
- FAQPage: For FAQ content
- WebSite: For homepage
Use the custom image shortcode for optimal performance:
{{< img src="image.jpg" alt="Description" >}}Features:
- WebP conversion
- Responsive sizing (800px, 1200px)
- Lazy loading
- Proper dimensions
- Use descriptive titles (50-60 characters)
- Write compelling descriptions (150-160 characters)
- Structure content with H2/H3 headings
- Include FAQ sections for AEO
- Add relevant tags and categories
- Connect your repository to Netlify
- Build settings are already configured in
netlify.toml - Environment variables (if needed):
HUGO_VERSION: 0.148.2HUGO_ENV: production
hugo --gc --minify --enableGitInfo- Google Search Console: Monitor search performance
- Google Analytics 4: Track user behavior
- PageSpeed Insights: Monitor Core Web Vitals
- Rich Results Test: Validate schema markup
- Lighthouse Score: 90+
- First Contentful Paint: <1.5s
- Largest Contentful Paint: <2.5s
- Cumulative Layout Shift: <0.1
Add to hugo.toml:
[params.analytics.google]
SiteVerificationTag = "your-verification-code"
[params]
googleAnalytics = "G-XXXXXXXX"Add custom styles to assets/css/extended/custom.css
Extend schema markup in layouts/partials/seo/schema.html
- Target specific keywords naturally
- Use internal linking
- Optimize meta descriptions
- Include alt text for images
- Start with direct answers
- Use question-based headings
- Provide 40-60 word summary answers
- Include step-by-step instructions
- Add FAQ sections with schema markup
seo-blog/
├── archetypes/ # Content templates
├── content/ # Site content
│ ├── posts/ # Blog posts
│ ├── guides/ # Tutorial content
│ ├── glossary/ # Definitions
│ └── resources/ # Tools & downloads
├── layouts/ # Custom templates
│ ├── partials/seo/ # SEO partials
│ └── shortcodes/ # Custom shortcodes
├── static/ # Static files
├── hugo.toml # Site configuration
└── netlify.toml # Deployment config
- Ensure Hugo v0.146.0+ Extended
- Check submodule initialization
- Verify syntax in
hugo.toml
- Optimize images before upload
- Check for large CSS/JS files
- Monitor console for errors
- Validate schema markup
- Check meta tag generation
- Test site speed regularly
For issues with:
- Hugo: Check Hugo Documentation
- PaperMod: See PaperMod Wiki
- SEO: Use Google's testing tools
Built with Hugo v0.148.2+ and optimized for 2025 SEO/AEO best practices.# Blog deployment trigger