new_site/_layouts
CheariX 876d287cc8
Feature: added "award" for publications (#2324)
This PR adds an "award" button to publications.
It takes the `award` value from the bibtex entry and displays(incl.
Markdown rendering) the text in a box similarly to abstract and bibtex.

User can set the entry `award_name` to configure the value. See example
config with `award_name: Nobel Prize`.

The color of the award box can be configured in `_base.scss`.

Note, there is a similar PR #2175, it I saw to issues with:

1. There was no progress
2. The award button just prints the text directly in the button,
similarly to `award_name`. Long award names could clutter the webpage.
3. IMHO, it brokes the current al-folio design, since butons do have a
fixed size/text. However, variable prize names are also possible with
this PR.
***
Pictures:

Default. Text are hidden:

<img width="708" alt="grafik"
src="https://github.com/alshedivat/al-folio/assets/1998723/1221c82c-c384-4297-807e-39385e2ce4fd">

Additional info is shown when the button is clicked. Markdown supported.

<img width="684" alt="grafik"
src="https://github.com/alshedivat/al-folio/assets/1998723/2354aeee-12b0-4d32-b194-5d2ea80d8363">

Only one text box shown at the same time, like it is with "ABS" and
"BIB":
<img width="691" alt="grafik"
src="https://github.com/alshedivat/al-folio/assets/1998723/d3937bb9-d9c2-47ac-b819-b92aec3d916a">

***

Feedback welcome.

You can also check [my
website](https://christianmainka.de/publications/awarded), which was the
base for this PR.
2024-04-07 17:37:02 -03:00
..
about.liquid Correct config variable for enabling latest_posts on about page (#2243) 2024-03-03 13:28:58 -03:00
archive-category.liquid Remove bootstrap-table from archive tables (#2306) 2024-04-03 15:35:18 -03:00
archive-tag.liquid Remove bootstrap-table from archive tables (#2306) 2024-04-03 15:35:18 -03:00
archive-year.liquid Remove bootstrap-table from archive tables (#2306) 2024-04-03 15:35:18 -03:00
bib.liquid Feature: added "award" for publications (#2324) 2024-04-07 17:37:02 -03:00
cv.liquid Fix broken links (#2077) 2024-01-15 11:09:45 -03:00
default.liquid improved redirect mapping (#2157) 2024-02-04 17:27:10 -03:00
distill.liquid Fix broken links (#2077) 2024-01-15 11:09:45 -03:00
none.liquid format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
page.liquid Fix broken links (#2077) 2024-01-15 11:09:45 -03:00
post.liquid Fix broken links (#2077) 2024-01-15 11:09:45 -03:00
profiles.liquid Lighthouse fixes (#2199) 2024-02-14 14:37:32 -03:00