Replies: 2 comments
-
Thanks for creating this discussion @wolfspyre - as discussed over email - for me this would be overkill and I think it will add maintenance complexity going forward. Let's hear what others have to say. |
Beta Was this translation helpful? Give feedback.
-
I agree that it introduces additional complexity. The desired goal is to have more granular control over when and where to display the constructs… distinct naming of them is a happy side bonus. I believe the usability upside outweighs the complexity downside… I would also love to hear others’ opinions…. Maybe someone else has a better idea :) |
Beta Was this translation helpful? Give feedback.
-
I struggled harder than I care to admit to make sense of the 'author' / 'authors' constructs in blowfish... and I think part of the reason is they're different, but treated similarly in enough contexts that it's confusing...
I started teasing apart the pieces and came up with a frame for them that makes WAY MORE intuitive sense to me....
I am happy to submit this in a PR, but wanted to post it here to start a discussion on it first...
A) it's a breaking change, and so would require iterating to 3.x ...
B) I'm not set on the names of things, or the specific ways I implemented it... it's closer to a proof of concept to allow for discussion than a polished implementation.
the concept as I have it is:
rather than 'author' and 'authors' as constructs; I retooled things to replace
authors
withcontributors
...I then added a couple more config knobs for the presentation of ( construct, badge, picture )
I adjusted the evaluation of the (show/showbadge/showpicture) params to be settable in frontmatter of a specific page.
furthermore, I extended both constructs to contain i18n-scoped byline_titles, as opposed to just
author
so all that being said...
This is how that (currently) looks in my config and on the site:
Configs:
config/_default/params.yaml
:config/_default/author.yaml
:data/contributors/atticus-skwirrelbane.json:
data/contributors/evey-noblewise.json:
a page showing atticus
a page showing evey + siteauthor
thots?
❤️🐺W
Beta Was this translation helpful? Give feedback.
All reactions