Wowchemy-hugo-modules: About widget: allow for multiple organizations?

Created on 8 Mar 2017  路  5Comments  路  Source: wowchemy/wowchemy-hugo-modules

Please +1/comment if you would like to be able to list multiple roles and/or organizations in the About widget.

Such a modification would be very easy to implement, however, the data structure of the relevant parameters would need to change which would be an extra step for anyone upgrading their site from the current version.

This was originally suggested in #127 .

enhancement help wanted needs investigation

Most helpful comment

What about having the ability to add affiliations instead of multiple organizations? Currently the organization is more about who we work for. It is common to work for one organization and be affiliated to others.

This way it would avoid a breaking change.

What about something like this?

organization = "My company/university"
affiliations = ["Another university", "Institute A", "Institute B"]

All 5 comments

+500

What about having the ability to add affiliations instead of multiple organizations? Currently the organization is more about who we work for. It is common to work for one organization and be affiliated to others.

This way it would avoid a breaking change.

What about something like this?

organization = "My company/university"
affiliations = ["Another university", "Institute A", "Institute B"]

Note: @rjtg did something like this here: https://github.com/rjtg/hugo-academic/commit/598165cce1f7b81ab14138086a2b910a4312c296 Not that it is "best practice" or "widest use case", but it is another idea in the wild.

Well i did not put a lot of thought into my change. It is obviously not backwards compatible and will break existing pages. The direction with the affilations seems to be something more appropriate. I guess it could be checked whether organization is a single item or a list of dicts and thus achieve backwards compatibility. I guess it would make code a little too complex for too little gain. Creatig another variable holding the new Multi-Organization and rendering both seems to be better. People can then gradually move/add new orgs/affilations.

So all in all I like @ronnychevalier suggestion better then my hacky solution

I agree with @ronnychevalier's solution. I am currently trying to adjust "Interests" to be more like the "Education" column. Something like Large Organization Affiliation Name and below it the ability to add positions/titles/awards and years.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

saadjavaid picture saadjavaid  路  3Comments

gcushen picture gcushen  路  3Comments

halfrost picture halfrost  路  3Comments

melvidoni picture melvidoni  路  3Comments

jacebenson picture jacebenson  路  3Comments