new_site/assets
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
..
audio Audio and Video support (#1367) 2023-05-15 12:31:27 -03:00
bibliography Issue 183 (#192) 2021-03-29 11:49:42 -04:00
css Added "follow system" option to theme toggle (#2261) 2024-03-13 22:42:46 -03:00
fonts Added "follow system" option to theme toggle (#2261) 2024-03-13 22:42:46 -03:00
html Add option for local HTML files (#2245) 2024-03-04 14:04:52 -03:00
img Delete assets/img/pagespeed.svg 2024-03-07 13:06:03 -03:00
js Feature: added "award" for publications (#2324) 2024-04-07 17:37:02 -03:00
json format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
jupyter Added support for jupyter notebooks #417 (#1511) 2023-07-05 12:43:59 -03:00
pdf Include link and pdf in bib 2019-08-06 14:02:16 -04:00
plotly Add interactive plotly example to distill post (#1027) 2022-12-20 18:09:32 -05:00
video Audio and Video support (#1367) 2023-05-15 12:31:27 -03:00
webfonts Added Bluesky social (#2314) 2024-04-02 17:28:27 -03:00