Skip to content

Release notes should display release dateΒ #1159

@ajtowns

Description

@ajtowns

The release notes pages are great (eg 28.2 except that they don't include the release date. Some older pages on bitcoin.org do, eg 0.21.0, for comparison, though not recent ones. The markdown files do include a date, so I guess this just isn't being exposed via the layout logic that marks up releases as pages:

- scope:
path: ""
type: releases
values:
type: releases
layout: page
lang: en

The post.html layout exposes date information I think:

<footer role="contentinfo">
<p class="byline">
<strong>{{ page.title }}</strong>
was published on
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}">
{{ page.date | date: "%B %d, %Y" }}
</time>
{% if page.modified %} and last modified on
<time datetime="{{ page.modified | date: "%Y-%m-%d" }}">
{{ page.modified | date: "%B %d, %Y" }}
</time>{% endif %}.
</p>
</footer>

Perhaps something similar could just be added to page.html? Or, maybe a custom layout for releases would make sense?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions