File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 22layout: default
33---
44
5+ {% assign class-pages = site.pages | where:"class_index",true %}
6+
57{{ content }}
68
79< h2 > XenAPI Fields and Messages</ h2 >
@@ -12,12 +14,13 @@ <h3>Fields</h3>
1214 < tr > < th > Field name</ th > < th > Type</ th > < th > Description</ th > </ tr >
1315 {% for c in site.data.xenapi %}
1416 {% assign class = c.name %}
17+ {% assign url = class-pages | where:"class",class | first | map: "url" %}
1518 {% assign fields = c.fields | where:"tag",page.xenapi_tag | sort: "name" %}
1619 {% for f in fields %}
1720 < tr >
18- < td > < a href ="{{site.baseurl}}/xen-api/index.html?c={{class }} "> {{class}}.{{f.name}}</ a > </ td >
21+ < td > < a href ="{{site.baseurl}}{{url }} "> {{class}}.{{f.name}}</ a > </ td >
1922 < td > {{f.type}}</ td >
20- < td > {{f.description}}</ td >
23+ < td > {{f.description | escape }}</ td >
2124 </ tr >
2225 {% endfor %}
2326 {% endfor %}
@@ -29,9 +32,10 @@ <h3>Messages</h3>
2932 < tr > < th > Message name</ th > < th > Description</ th > </ tr >
3033 {% for c in site.data.xenapi %}
3134 {% assign class = c.name %}
35+ {% assign url = class-pages | where:"class",class | first | map: "url" %}
3236 {% assign messages = c.messages | where:"tag",page.xenapi_tag | sort: "name" %}
3337 {% for m in messages %}
34- < tr > < td > < a href ="{{site.baseurl}}/xen-api/index.html?c={{class }} "> {{class}}.{{m.name}}</ a > </ td > < td > {{m.description}}</ td > </ tr >
38+ < tr > < td > < a href ="{{site.baseurl}}{{url }} "> {{class}}.{{m.name}}</ a > </ td > < td > {{m.description | escape }}</ td > </ tr >
3539 {% endfor %}
3640 {% endfor %}
3741</ table >
You can’t perform that action at this time.
0 commit comments