Simple Template
The Simple template is a clean, minimalist maintenance page that communicates essential information to your visitors. It’s perfect for quick maintenance periods when you don’t need a countdown timer.
Features
Section titled “Features”- Clean, minimal design
- Logo display
- Title and description text
- Optional contact email
- Optional copyright information
Configuration
Section titled “Configuration”To use the Simple template, set the template
property to "simple"
in your configuration:
import { defineConfig } from "astro/config";import maintenance from "astro-maintenance";
export default defineConfig({ integrations: [ maintenance({ enabled: true, template: "simple", title: "We'll be back soon!", description: "Our website is currently undergoing scheduled maintenance.", logo: "/logo.png", // Optional - path to your logo in the public folder emailText: "Need assistance? Contact us at:", // Optional copyright: "© 2025 Your Company", // Optional override: "preview", // Optional - access your site with ?preview in the URL }), ],});
Customization Options
Section titled “Customization Options”The Simple template supports all the standard configuration options:
Option | Description |
---|---|
title | The main heading displayed on the maintenance page |
description | Descriptive text explaining the maintenance |
logo | Path to your logo image (must be in your public folder) |
emailAddress | Contact email address for visitors |
emailText | Text label displayed before the email address |
copyright | Copyright text for the footer |
override | Query parameter to bypass the maintenance page |
When to Use Simple Template
Section titled “When to Use Simple Template”The Simple template is ideal for:
- Short maintenance periods
- When you don’t need a countdown timer
- For a clean, minimalist appearance
- When you want to quickly implement a maintenance page
Example Result
Section titled “Example Result”When configured as shown above, visitors to your site will see a clean maintenance page with your logo, custom title and description, contact information, and copyright notice.
The page is responsive and works well on all device sizes.
Next Steps
Section titled “Next Steps”Explore other templates:
- Countdown Template - Add a countdown timer to your maintenance page
- Construction Template - Show an “under construction” themed page
- Custom Templates - Create your own custom template