Eleventy Plugin Reading Time

screenshot of Eleventy Plugin Reading Time
eleventy

A non-dependency reading time plugin for Eleventy static site generator.

Overview

The Reading Time plugin for Eleventy is a straightforward yet powerful tool designed for users of the Eleventy static site generator. This plugin provides a simple way to display the estimated reading time for articles or posts, giving visitors an idea of how long they will be engaged with the content. With its ease of use and integration into existing templates, it enhances user experience without complicating the workflow.

The plugin is non-dependency, which means you won't have to worry about additional libraries or packages slowing down your site. Whether you're crafting a blog or a documentation site, this plugin can easily fit into your Eleventy setup, making it a must-have for any content creator looking to improve user knowledge and engagement.

Features

  • Non-Dependency: Operates without requiring additional libraries, ensuring lightweight integration into your site.
  • Template Tag: Provides a simple template tag to output reading time in either minutes or seconds, enhancing accessibility for readers.
  • Easy Integration: Can be effortlessly added to the Eleventy configuration file, requiring minimal setup for immediate use.
  • Supports Collection Objects: The readingTime filter can accept collection objects, making it versatile for various content structures.
  • Wide Applicability: Suitable for a range of template engines, with plans to support more in the future, broadening its usability.
  • Open Source License: Released under MIT License, promoting a collaborative and open development environment for users.
eleventy
Eleventy

11ty is a static site generator that allows developers to build fast, modern websites using HTML, Markdown, and other templating languages, without the need for a complex build system.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.