Skip to content

Commit b590da8

Browse files
committed
propertyu
1 parent 6d94f83 commit b590da8

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

intent-core-concepts/index.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,12 @@ if c.link
185185
{%- for c in section.intents -%}
186186
{%- assign clss = forloop.index| modulo:2 -%}
187187
{%- assign arityr = c.arity | replace: ">=", "⩾" -%}
188+
{%- assign arityu = c.arity | replace: ">=", "geq" | replace: "?", "Q" -%}
189+
{%- assign propertyu = c.property | replace: "*", "S" | replace: "?", "Q" -%}
188190
{%- if c.conditions %}
189191
{%- for cond in c.conditions -%}
190-
<tr {% if forloop.first %}id="{{c.concept}}{{arityr}}{{c.property}}"{% endif %} class="row{{ clss }}">
191-
{%- if forloop.first -%}<td rowspan="{{c.conditions.size}}"><a class="self" href="#{{c.concept}}{{arityr}}{{c.property}}">{{c.concept}}</a></td>{%- endif -%}
192+
<tr {% if forloop.first %}id="{{c.concept}}{{arityu}}{{propertyu}}"{% endif %} class="row{{ clss }}">
193+
{%- if forloop.first -%}<td rowspan="{{c.conditions.size}}"><a class="self" href="#{{c.concept}}{{arityu}}{{propertyu}}">{{c.concept}}</a></td>{%- endif -%}
192194
{%- if forloop.first -%}<td rowspan="{{c.conditions.size}}">{{arityr}}</td>{%- endif -%}
193195
{%- if forloop.first -%}<td rowspan="{{c.conditions.size}}">{{c.property}}{%- unless c.default == false or c.arity == 0 -%}*{%- endunless -%}</td>{%- endif -%}
194196
{%- for language in site.data.languages -%}
@@ -220,8 +222,8 @@ if c.link
220222
</tr>
221223
{%- endfor -%}
222224
{%- else -%}
223-
<tr id="{{c.concept}}{{arityr}}{{c.property}}" class="row{{ clss }}">
224-
<td><a class="self" href="#{{c.concept}}{{arityr}}{{c.property}}">{{c.concept}}</a></td>
225+
<tr id="{{c.concept}}{{arityu}}{{propertyu}}" class="row{{ clss }}">
226+
<td><a class="self" href="#{{c.concept}}{{arityu}}{{propertyu}}">{{c.concept}}</a></td>
225227
<td>{{arityr}}</td>
226228
<td>{{c.property}}{%- unless c.default == false or c.arity == 0-%}*{%- endunless -%}</td>
227229
{%- for language in site.data.languages -%}

0 commit comments

Comments
 (0)