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 5
5
< div class ="col-sm-2 abbr ">
6
6
{%- if entry.abbr -%}
7
7
{%- if site.data.venues[entry.abbr] -%}
8
- < abbr class ="badge "> < a href ="{{site.data.venues[entry.abbr].url}} "> {{entry.abbr}}</ a > </ abbr >
8
+ {%- assign venue_style = nil -%}
9
+ {%- if site.data.venues[entry.abbr].color != blank -%}
10
+ {%- assign venue_style = site.data.venues[entry.abbr].color | prepend: 'style="background-color:' | append: '"' -%}
11
+ {%- endif -%}
12
+ < abbr class ="badge " {% if venue_style %}{{venue_style}}{% endif %} > < a href ="{{site.data.venues[entry.abbr].url}} "> {{entry.abbr}}</ a > </ abbr >
9
13
{%- else -%}
10
- < abbr class ="badge "> {{entry.abbr}}</ abbr >
14
+ < abbr class ="badge "> {{entry.abbr}}</ abbr >
11
15
{%- endif -%}
12
16
{%- endif -%}
13
17
</ div >
You can’t perform that action at this time.
0 commit comments