serum v1.4.0 Release Notes

Release Date: 2020-01-11 // over 4 years ago
  • โž• Added

    • โž• Added open command to the Serum development server CLI. This command opens your website in the default web browser of your desktop environment. Special thanks to @nallwhy!
    • ๐Ÿ”ง Users can now configure the Serum.Plugins.SitemapGenerator plugin so that it generates entries for pages, posts, or both.
      %{
        plugins: [
          # Generate sitemap entries for pages only.
          {Serum.Plugins.SitemapGenerator, args: [for: :pages]},
          # Generate sitemap entries for posts only.
          {Serum.Plugins.SitemapGenerator, args: [for: :posts]},
          # Generate sitemap entries for both pages and posts.
          {Serum.Plugins.SitemapGenerator, args: [for: [:pages, :posts]]},
          # Generate sitemap entries for posts only. (Backward comptatibility)
          Serum.Plugins.SitemapGenerator
        ]
      }
    

    ๐Ÿ”„ Changed

    • ๐Ÿ”Œ The Serum.Plugins.SitemapGenerator plugin no longer generates robots.txt file. Create and put your own robots.txt to your files/ directory.