Astro Engineering Blog screenshot

Astro Engineering Blog

Author Avatar Theme by Eddyvinck
Updated: 4 Oct 2024
42 Stars

A template for creating engineering blogs with multiple authors, co-authoring, topics, search, and more

Categories

Overview

The Astro Engineering Blog template is a customizable template designed for creating engineering blogs. It is built using Astro as the framework and offers features such as multiple authors, co-authoring, topics, search functionality, and more. The template is SEO-friendly and provides optimized images using astro:assets. It also includes support for sitemaps and RSS feeds. The template’s project structure includes directories for pages, components, content, and public assets. The template is written in TypeScript and utilizes Solid.js, Tailwind CSS, and Fuse.js.

Features

  • Easy configuration
  • Minimal styling
  • 100/100 Lighthouse performance
  • SEO-friendly with canonical URLs and OpenGraph data
  • Uses astro:assets for optimized images
  • Sitemap support
  • RSS Feed support
  • Markdown & MDX support
  • Search functionality
  • Author system
  • Multiple authors per post (co-authoring)
  • Topics
  • Blog pagination
  • Blog drafts
  • Dark mode (system preference + toggle button)

Installation

To install the Astro Engineering Blog template, follow these steps:

  1. Clone the template repository to your local machine.
  2. Open the terminal and navigate to the root of the project.
  3. Run the command npm install to install the dependencies.
  4. To start the local development server, run npm run dev. The server will start at localhost:3000.
  5. Customize the template by editing the values in src/consts.ts to match your brand or company.
  6. Modify the <head> tags in src/components/BaseHead.astro to add any additional lines or update the favicon.
  7. Build your production site using the command npm run build. The site will be generated in the ./dist/ directory.
  8. Preview your build locally before deploying by running npm run preview.
  9. Additional CLI commands can be run using npm run astro ... or for help using the Astro CLI, use npm run astro --help.

Summary

The Astro Engineering Blog template is a flexible and customizable solution for creating engineering blogs. It offers a wide range of features such as multiple authors, co-authoring, search functionality, and more. The template is easy to configure and provides high performance and SEO-friendly features. With its use of Astro as the framework, along with Solid.js, Tailwind CSS, and Fuse.js, the template offers a powerful and efficient development experience.