Skip to content

[news] page design updates #138

Closed
Closed

Description

@DrDrij
  • dates down the LHS column
  • three types of "posts" including news, article, workshop

Activity

  1. DrDrij commented on Dec 5, 2024

    @DrDrij
    MemberAuthor

    I have added example labels on news items, see below. I will comment them out though in the Markdown so that we can push updates to live and get to labelling in the next round.

    image

  2. DrDrij commented on Dec 5, 2024

    @DrDrij
    MemberAuthor

    Note: the labels are auto generated from "type" in the front-matter:

    ---
    layout: post
    title: "Africa summer course 2024"
    author: Matt McKay
    excerpt: QuantEcon has just delivered our Africa summer course
    #type: news
    ---
    
  3. mmcky commented on Dec 5, 2024

    @mmcky
    Collaborator

    thanks @DrDrij. Is there a reason for the # in type? Just learning the syntax.

    also I think it might be nice to do different colours for each type? What do you think?

  4. DrDrij commented on Dec 5, 2024

    @DrDrij
    MemberAuthor
  5. mmcky commented on Dec 5, 2024

    @mmcky
    Collaborator

    Let's leave them black for now and I will make a list of colours.

    Can we change Workshops to workshops for all lower case?

  6. DrDrij commented on Dec 5, 2024

    @DrDrij
    MemberAuthor

    Yep you can put anything after type, and '' if it has a space.

    Gee I should have named that key label or badge rather than type so it's clear. I might do that.

  7. mmcky commented on Dec 6, 2024

    @mmcky
    Collaborator
    • update news page for tags workshop, news, and article
  8. changed the title [-]Rework news page[/-] [+][news] page design updates[/+] on Dec 6, 2024
  9. added this to the Updates Round #2 milestone on Dec 6, 2024
  10. DrDrij commented on May 26, 2025

    @DrDrij
    MemberAuthor

    Thanks for your patience here! It was nearly there. This time it allows for multiple tags per post. How's this @mmcky?

    An example of frontmatter (specifically, YAML frontmatter) at the top of HTML or more commonly md file.

    Image

    The output would look like:

    Image

    And just out of interest the liquid that generates it:

    Image

  11. DrDrij commented on May 26, 2025

    @DrDrij
    MemberAuthor

    I have added a hash to comment out the tag for the latest news item so that no tags will show.

    Image

    @mmcky You've listed 3 types of tags. Would you like me to go through and see if I can apply them to some of the recent posts?

  12. DrDrij commented on May 26, 2025

    @DrDrij
    MemberAuthor

    PR set to go.

  13. mmcky commented on Sep 28, 2026

    @mmcky
    Collaborator

    Closing this one. Its checklist was completed in the 2024 tagging work (tag pills set from front matter, with multiple tags per post), and the #194 redesign has since replaced that News layout. The open design questions for the News page, including tag colours that fail WCAG AA contrast, now live in #266 alongside the new Activity page from #265.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions