Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: starr posts to get readers attention #223

Merged
merged 4 commits into from
Aug 29, 2024

Commits on Aug 27, 2024

  1. feat(starr-posts): add check if post got starred

    If isStarred: true in a posts front matter, the star SVG will be rendered for this post in the list of posts.
    pitscher committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    ff5bc76 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cf94a3b View commit details
    Browse the repository at this point in the history
  3. feat(starr-posts): add optional front matter config isStarred to defa…

    …ult archetypes
    
    If isStarred is not specified or set to false in a posts front matter, no star icon will appear.
    pitscher committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    d2af055 View commit details
    Browse the repository at this point in the history
  4. feat(starr-posts): add new optional isStarred config to en-us Markdow…

    …n Syntax Guide example site
    
    To demo the new optional feature, the config isStarred was added to an example post which will be rendered as soon as someone uses the theme for the first time (because en-us is the default language).
    pitscher committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    266fb95 View commit details
    Browse the repository at this point in the history