File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,26 @@ layout: default
6666 {% endfor %}
6767 </p >
6868 {% endif %}
69+ <!-- Info Box regarding approaches. Use page.approaches -->
70+ {% if page .approaches %}
71+ <div class =" alert alert-warning" style =" background : none ;" >
72+ {% if page .approaches .size > 1 %}
73+ <strong >This publication is related to the following approaches:</strong >
74+ <ul style =" margin-bottom : 0 ;" >
75+ {% for approach in page .approaches %}
76+ <li >
77+ <a href =" /approaches/{{ approach | slugify }}" >{{ approach }}</a >
78+ </li >
79+ {% endfor %}
80+ </ul >
81+ {% else %}
82+ <strong >This publication is related to the following approach:</strong >
83+ {% assign approach = page .approaches [0] %}
84+ <a href =" /approaches/{{ approach | slugify }}" >{{ approach }}</a >
85+ {% endif %}
86+ </div >
87+ {% endif %}
88+
6989 {{ content }}
7090
7191 {% if page .links %}
You can’t perform that action at this time.
0 commit comments