serum v1.1.0 Release Notes

Release Date: 2019-05-18 // over 2 years ago
  • ๐Ÿ›  Fixed

    • The development server now quits gracefully when the user sends EOF (Ctrl+D) (Issue #45)

    โž• Added

    • ๐Ÿ‘ Serum now supports themes! Please visit the official website to learn more about Serum themes.

    • Installer: Added serum.new.theme Mix task, which helps you create a new Serum theme project.

    • ๐Ÿ”Œ The following optional callbacks were added for plugins.

      • processed_pages/1
      • processed_posts/1
      • rendering_fragment/2
    • โž• Added Serum.HtmlTreeHelper module, which provides traverse/2 and traverse/3 function. You will find this module useful when you need to manipulate HTML trees from your plugins.

    ๐Ÿ”„ Changed

    • ๐Ÿ”Œ The behavior of the Table of Contents plugin has slightly changed.

      • This plugin no longer prepends a <a name="..."> tag to each heading tag. Instead, it will use the id attribute of each one of them. If a tag does not have an id, it will be set appropriately by the plugin.
      • The TOC element (ul.serum-toc) will also be given an ID (#toc), so that you can make hyperlinks back to the list.
    • Serum now automatically generates an id attribute for each HTML heading tag. (by @igalic, Issue #44)

      • If a heading tag already has an ID, it won't be modified.
      • Each ID is generated based on the tag's text content.
      • Generated IDs are always unique. If a duplicate ID is to be generated, a number will be appended.