Pelican Page Hierarchy

screenshot of Pelican Page Hierarchy

A Pelican plugin that creates a URL hierarchy for pages that matches the filesystem hierarchy of their sources.

Overview

The Pelican plugin by Ahmad Khayyat is a powerful tool designed to streamline URL management by creating a hierarchical structure that mirrors the filesystem hierarchy of your page sources. This plugin is especially beneficial for those who want a well-organized URL structure that enhances navigation and SEO. By utilizing this plugin, users can effortlessly manage their pages, making the process of generating clean URLs simple and efficient.

This plugin not only simplifies the URL generation process but also enhances the way you structure pages. By reflecting the relationship between parent and child pages, it allows for intuitive navigation through your content, ensuring a better experience for your visitors.

Features

  • URL Hierarchy: Automatically creates URLs that reflect the filesystem hierarchy, improving organization and SEO.
  • Custom Slug Generation: Allows you to generate slugs based on either the page title or the source file basename for added flexibility.
  • Parent and Child Attributes: Adds attributes to page objects to easily identify immediate parent, ancestor pages, and child pages.
  • Breadcrumb Generation: Facilitates the creation of breadcrumb navigation for improved user experience.
  • Translation Compatibility: Works seamlessly with Pelican translations, ensuring your content is accessible in multiple languages.
  • Flexible Configuration: The plugin offers configuration settings, such as SLUGIFY_SOURCE and PATH_METADATA, to tailor slug generation to your needs.
  • Open Source License: Released under BSD license, encouraging community contributions and usage.