Complete guide to creating and managing content in the Hugo Saasify Theme. Learn how to create different types of pages, blog posts, documentation, and optimize for SEO.
- Content Structure
- Front Matter Reference
- Page Types
- Blog Posts
- Documentation Pages
- Creating Pages
- Taxonomies
- Media Management
- SEO Optimization
Hugo content is organized in the content/ directory with a hierarchical structure.
content/
├── _index.md # Homepage
├── blog/
│ ├── _index.md # Blog listing page
│ ├── my-first-post.md # Blog post
│ └── another-post.md # Blog post
├── docs/
│ ├── _index.md # Docs home
│ ├── getting-started/
│ │ ├── _index.md
│ │ └── installation.md
│ └── guides/
│ ├── _index.md
│ └── advanced.md
├── features/
│ ├── _index.md
│ ├── performance.md
│ └── security.md
├── pricing.md
├── about.md
└── contact.md
- Single Pages: Individual pages (About, Contact, Pricing)
- List Pages: Section indexes (
_index.md) - Blog Posts: Content in
blog/directory - Documentation: Content in
docs/directory - Custom Types: Any custom content sections
Front matter is metadata at the top of your markdown files.
---
title: "Page Title"
date: 2025-10-06
lastmod: 2025-10-06
draft: false
description: "Page description for SEO and social sharing"
slug: "custom-url-slug"
aliases:
- /old-url/
- /another-old-url/
------
# Basic Info
title: "Complete Page Title"
date: 2025-10-06T10:00:00-07:00
lastmod: 2025-10-06T15:30:00-07:00
draft: false
publishDate: 2025-10-06T10:00:00-07:00
expiryDate: 2026-10-06T10:00:00-07:00
# Content
description: "Detailed description for meta tags and previews"
summary: "Short summary for listing pages"
keywords: ["keyword1", "keyword2", "keyword3"]
# Layout
layout: "single" # or: simple, pricing, company, career, feature
type: "blog" # Content type
# URL
slug: "custom-url-slug"
url: "/custom/path/"
aliases:
- /old-path/
- /another-old-path/
# Taxonomies
categories: ["Technology", "Web Development"]
tags: ["Hugo", "SaaS", "Tutorial"]
series: ["Getting Started"]
# Author
author: "John Doe"
authors: ["John Doe", "Jane Smith"]
# Media
images:
- /images/featured-image.jpg
- /images/social-share.jpg
# SEO
robots: "index, follow"
canonical: "https://example.com/canonical-url/"
# Features
toc: true # Show table of contents
comments: true # Enable comments
share: true # Show share buttons
featured: true # Mark as featured
weight: 10 # Sort order (lower = earlier)
# Custom Parameters
custom_field: "value"
---Basic Info:
title: Page title (required)date: Publication datedraft: If true, page won't be publishedpublishDate: Schedule future publicationexpiryDate: Auto-expire content
Content:
description: Meta description (150-160 chars recommended)summary: Short summary for cards/listingskeywords: SEO keywords (optional, less important today)
Layout:
layout: Template to usetype: Content type for organization
URL:
slug: Custom URL slug (defaults to filename)url: Full custom URL pathaliases: Redirects from old URLs
Taxonomies:
categories: Broad categoriestags: Specific tagsseries: Part of a series
File: content/_index.md
---
title: "Home"
description: "Build your SaaS faster with our modern Hugo theme"
---
{{< hero
headline="Build Your SaaS <span class='text-primary-600'>Faster</span>"
sub_headline="A modern, responsive Hugo theme for SaaS companies"
primary_button_text="Get Started"
primary_button_url="/signup"
hero_image="/images/hero.png"
>}}
{{< features-section title="Why Choose Us" >}}
{{< feature icon="zap" title="Fast" description="Lightning fast performance" >}}
{{< feature icon="lock" title="Secure" description="Enterprise security" >}}
{{< /features-section >}}For clean, focused content pages.
---
title: "Privacy Policy"
layout: simple
description: "Our privacy policy and data handling practices"
---
# Privacy Policy
Last updated: October 6, 2025
## Introduction
Your privacy is important to us...
## Data Collection
We collect the following information...Use Cases:
- Privacy Policy
- Terms of Service
- Legal pages
- Documentation
Showcase a specific feature or product.
---
title: "Performance Features"
layout: feature
description: "Lightning-fast performance for your SaaS application"
featured_image: "/images/feature-performance.jpg"
---
{{< hero
headline="Unmatched Performance"
sub_headline="Built for speed from the ground up"
hero_image="/images/performance.png"
>}}
## Lightning Fast
Our platform is optimized for speed...
{{< stat value="<50ms" label="Response Time" >}}
{{< stat value="99.9%" label="Uptime" >}}Display your pricing plans.
---
title: "Pricing"
layout: pricing
description: "Choose the perfect plan for your needs"
---
{{< pricing-table-1 >}}
{
"title": "Simple, Transparent Pricing",
"plans": [...]
}
{{< /pricing-table-1 >}}
{{< faq >}}
{
"title": "Pricing FAQ",
"questions": [...]
}
{{< /faq >}}For company information and team pages.
---
title: "About Us"
layout: company
description: "Learn about our mission, vision, and team"
---
{{< hero headline="Our Story" sub_headline="Building the future of SaaS" >}}
## Our Mission
We're on a mission to...
{{< stat value="100+" label="Customers" >}}
{{< stat value="50+" label="Team Members" >}}
{{< stat value="10+" label="Countries" >}}
## Our Team
{{< team-member
name="Jane Doe"
title="CEO & Founder"
image="/images/team/jane.jpg"
bio="Jane has 15 years of experience..."
linkedin="https://linkedin.com/in/janedoe"
>}}Job listings and career information.
---
title: "Careers"
layout: career
description: "Join our team and build the future"
---
## Why Work With Us
Great benefits, amazing culture...
## Open Positions
Our job listings are below...Individual job postings.
---
title: "Senior Software Engineer"
layout: job-single
date: 2025-10-06
department: "Engineering"
location: "Remote"
type: "Full-time"
salary_range: "$120k - $180k"
---
## About the Role
We're looking for a senior software engineer...
## Requirements
- 5+ years of experience
- Strong knowledge of Go/Python
- Experience with distributed systems
## Benefits
- Competitive salary
- Health insurance
- Remote work
- Unlimited PTOCreating and managing blog content.
# Create new post
hugo new blog/my-awesome-post.md---
title: "How to Build a SaaS Application"
date: 2025-10-06
lastmod: 2025-10-06
author: "John Doe"
description: "Complete guide to building your first SaaS application"
categories: ["Tutorials"]
tags: ["SaaS", "Web Development", "Tutorial"]
featured_image: "/images/blog/saas-guide.jpg"
draft: false
toc: true
---
Your blog post content here...---
title: "Complete Blog Post Example"
date: 2025-10-06
author: "John Doe"
categories: ["Technology"]
tags: ["Hugo", "Web Development"]
featured_image: "/images/blog/featured.jpg"
description: "Learn how to write great blog posts"
---
## Introduction
Start with a hook that grabs attention...
## Main Content
### Subsection 1
Detailed content with examples...
```javascript
// Code example
function example() {
return "Hello, World!";
}More content...
Wrap up with key takeaways...
### Blog Features
**Table of Contents**:
```yaml
---
toc: true
---
Featured Image:
---
featured_image: "/images/blog/my-post.jpg"
---Author Info:
---
author: "John Doe"
# or multiple authors
authors: ["John Doe", "Jane Smith"]
---Categories & Tags:
---
categories: ["Technology", "Business"]
tags: ["Hugo", "SaaS", "Web", "Tutorial"]
---Create structured documentation with sidebar navigation.
content/docs/
├── _index.md # Docs home
├── getting-started/
│ ├── _index.md # Section index
│ ├── installation.md # weight: 1
│ ├── configuration.md # weight: 2
│ └── first-steps.md # weight: 3
├── guides/
│ ├── _index.md
│ ├── customization.md
│ └── deployment.md
└── reference/
├── _index.md
├── api.md
└── configuration.md
---
title: "Installation Guide"
description: "How to install the theme"
weight: 1 # Sort order in sidebar
draft: false
toc: true # Show table of contents
---
# Installation Guide
Complete installation instructions...Section Index (_index.md):
---
title: "Getting Started"
description: "Start here to learn the basics"
weight: 1
---
# Getting Started
Welcome to our documentation!
## In This Section
- [Installation](installation/)
- [Configuration](configuration/)
- [First Steps](first-steps/)The sidebar automatically generates from:
- Directory structure
weightparameter (lower = earlier)- Front matter titles
Example Sidebar Order:
# content/docs/getting-started/_index.md
---
title: "Getting Started"
weight: 1
---
# content/docs/getting-started/installation.md
---
title: "Installation"
weight: 1
---
# content/docs/getting-started/configuration.md
---
title: "Configuration"
weight: 2
---
# content/docs/guides/_index.md
---
title: "Guides"
weight: 2
---- Hierarchical Structure: Organize content logically
- Clear Titles: Use descriptive, searchable titles
- Weight Ordering: Use weights for custom ordering
- Cross-Linking: Link related documentation
- Examples: Include code examples and screenshots
- Table of Contents: Enable TOC for long pages
- Keep Updated: Review and update regularly
Table of Contents:
---
toc: true
---
{{< toc >}}
# Your ContentCode Examples:
{{< code lang="bash" title="Installation" >}}
hugo new site mysite
{{< /code >}}Callouts/Alerts:
> **Note**: Important information here
> **Warning**: Caution about this actionCross-References:
See [Installation Guide](../getting-started/installation/) for details.# Create a blog post
hugo new blog/my-post.md
# Create a documentation page
hugo new docs/guides/my-guide.md
# Create a custom page
hugo new features/new-feature.mdCreate file directly in content/ directory:
touch content/about.mdAdd front matter and content:
---
title: "About Us"
description: "Learn about our company"
layout: simple
---
# About Us
Our story begins...Flat Structure (simple sites):
content/
├── _index.md
├── about.md
├── pricing.md
└── contact.md
Hierarchical Structure (complex sites):
content/
├── _index.md
├── blog/
│ └── posts...
├── docs/
│ └── documentation...
├── features/
│ └── feature pages...
└── company/
├── about.md
├── team.md
└── careers/
└── jobs...
Organize content with categories, tags, and custom taxonomies.
---
title: "My Post"
categories: ["Technology", "Web Development"]
---Category Page: Automatically created at /categories/technology/
---
title: "My Post"
tags: ["Hugo", "SaaS", "Tutorial", "Beginner"]
---Tag Page: Automatically created at /tags/hugo/
- Define in
hugo.toml:
[taxonomies]
category = 'categories'
tag = 'tags'
series = 'series'
author = 'authors'- Use in Content:
---
title: "My Post"
series: ["Getting Started Guide"]
authors: ["John Doe"]
---- Access:
/series/getting-started-guide/,/authors/john-doe/
- Categories: Broad topics (5-10 total)
- Tags: Specific keywords (unlimited)
- Consistent Naming: Use consistent case and format
- Don't Over-Tag: 3-7 tags per post is ideal
Storage Location: static/images/
static/
└── images/
├── logo.svg
├── hero.png
├── blog/
│ ├── post-1.jpg
│ └── post-2.jpg
└── team/
├── john.jpg
└── jane.jpg
Using in Content:
Using with Shortcode:
{{< figure
src="/images/diagram.png"
alt="System Architecture"
caption="Our microservices architecture"
>}}Best Practices:
- Compress images before uploading
- Use appropriate formats (WebP, JPEG, PNG)
- Use responsive images
- Include alt text for accessibility
Tools:
Blog Posts:
---
featured_image: "/images/blog/post-featured.jpg"
---Social Sharing:
---
images:
- /images/social-share.jpg
---YouTube Embed:
{{< youtube VIDEO_ID >}}Vimeo Embed:
{{< vimeo VIDEO_ID >}}Self-Hosted:
<video controls>
<source src="/videos/demo.mp4" type="video/mp4">
Your browser doesn't support video.
</video>PDFs and Documents:
Store in static/files/:
[Download PDF](/files/whitepaper.pdf)Title & Description:
---
title: "How to Build a SaaS Application in 2025"
description: "Complete guide to building, launching, and scaling your SaaS application with modern tools and best practices."
---URL Structure:
---
slug: "build-saas-application-2025"
---Canonical URL:
---
canonical: "https://example.com/blog/original-post/"
---Automatically generated from:
---
title: "Page Title"
description: "Page description"
images:
- /images/social-share.jpg
---Same as Open Graph:
---
title: "Twitter-friendly Title"
description: "Compelling description under 200 characters"
images:
- /images/twitter-card.jpg
---Add JSON-LD structured data for rich results:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BlogPosting",
"headline": "{{ .Title }}",
"description": "{{ .Description }}",
"datePublished": "{{ .Date.Format "2006-01-02" }}"
}
</script>- Descriptive Titles: 50-60 characters
- Meta Descriptions: 150-160 characters
- Headings Hierarchy: Use h1, h2, h3 properly
- Image Alt Text: Describe images accurately
- Internal Linking: Link related content
- Fast Loading: Optimize performance
- Mobile Friendly: Ensure responsive design
- HTTPS: Use secure connections
- Sitemap: Auto-generated by Hugo
- robots.txt: Control crawler access
---
keywords: ["SaaS", "web development", "Hugo", "tutorial"]
---Note: Less important for SEO today, but can help with organization.
- Clear Headlines: Descriptive, engaging titles
- Short Paragraphs: 2-3 sentences max
- Bullet Points: Break up long lists
- Visual Elements: Images, diagrams, videos
- Code Examples: Syntax highlighted, tested
- Internal Links: Guide readers to related content
- CTAs: Clear next steps
- Proofreading: Check spelling and grammar
- Plan: Outline structure and key points
- Draft: Write content in markdown
- Review: Check for accuracy and clarity
- Optimize: Add SEO elements, images
- Preview: Test with
hugo server -D - Publish: Remove
draft: true - Promote: Share on social media
- Update: Review and refresh periodically
Bold & Italic:
**bold text**
*italic text*
***bold and italic***Lists:
- Unordered item
- Another item
1. Ordered item
2. Another ordered itemLinks:
[Link text](https://example.com)
[Internal link](/about/)Code:
Inline `code` with backticks
```language
code block
**Blockquotes**:
```markdown
> This is a quote
> Second line
Tables:
| Column 1 | Column 2 |
|----------|----------|
| Data 1 | Data 2 |- SHORTCODES.md - Available shortcodes
- LAYOUTS.md - Layout templates
- CONFIGURATION.md - Site configuration
- STYLING.md - Styling customization