Skip to content

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 19 Oct 19:31
· 28 commits to main since this release
56f9e1a

The first public release. Since 0.1.0-rc.1:

Added

  • New checks: canonical.duplicate and og.duplicate (a second canonical link, or a
    second og:url, og:title or og:type, usually a hand-written tag next to
    {{ std_head }}), and og.title_mismatch (og:title and <title> say different
    things; one containing the other passes). A site that passed may now fail: remove the
    extra tag, or make the og:title agree with the title.
  • The head checks read the markup only: a canonical or Open Graph tag inside a comment,
    a script, a style or a <template> is no longer taken for the page's own.
  • New checks on robots.txt, with base_url: robots.sitemap_missing (no Sitemap:
    line naming <base_url>/sitemap.xml) and robots.blocks_all (User-agent: * with
    Disallow: / on a site with pages to index). molde's own robots.txt passes both; a static/robots.txt, which
    replaces it, is now checked the same way.
  • molde guide prints docs/agents.md, a short guide for agents and
    people: the site layout, routes.yaml, templates, what the check covers and the
    commands. molde --help points to it. Nothing to do: it is new.

Changed

  • The head checks (canonical, Open Graph, description) read attribute values in any
    quoting, as browsers do: '…' and unquoted as well as "…", with attribute names in
    any case. A correct head written with single quotes used to fail canonical.missing
    and og.missing; it now passes. A single-quoted tag that contradicts std_head used
    to be invisible; it is now checked.

  • links.internal checks links written absolute to the site's own address. With
    base_url: https://example.com, https://example.com/x/, http://example.com/x/ and
    //example.com/x/ are links into the build, checked like /x/; before, they were
    taken for another site and never checked. A site with such a link to a missing page
    now fails: fix the link the report names. Other hosts are still not fetched.