File tree 2 files changed +12
-2
lines changed
2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change
1
+ " AJP " :
2
+ url : https://aapt.scitation.org/journal/ajp
3
+ color : " #00369f"
4
+
5
+ " PhysRev " :
6
+ url : https://journals.aps.org/
Original file line number Diff line number Diff line change 11
11
{%- endif -%}
12
12
{%- elsif entry.abbr -%}
13
13
{%- if site.data.venues[entry.abbr] -%}
14
- < abbr class ="badge "> < a href ="{{site.data.venues[entry.abbr].url}} "> {{entry.abbr}}</ a > </ abbr >
14
+ {%- assign venue_style = nil -%}
15
+ {%- if site.data.venues[entry.abbr].color != blank -%}
16
+ {%- assign venue_style = site.data.venues[entry.abbr].color | prepend: 'style="background-color:' | append: '"' -%}
17
+ {%- endif -%}
18
+ < abbr class ="badge " {% if venue_style %}{{venue_style}}{% endif %} > < a href ="{{site.data.venues[entry.abbr].url}} "> {{entry.abbr}}</ a > </ abbr >
15
19
{%- else -%}
16
- < abbr class ="badge "> {{entry.abbr}}</ abbr >
20
+ < abbr class ="badge "> {{entry.abbr}}</ abbr >
17
21
{%- endif -%}
18
22
{%- endif -%}
19
23
</ div >
You can’t perform that action at this time.
0 commit comments