|
4 | 4 | title: "Lexeme"
|
5 | 5 | ---
|
6 | 6 |
|
7 |
| -{% assign inflections = page.rdf | rdf_property: "mmoon:hasInflectionalCategory", nil, true %} |
8 |
| -{% assign representations = page.rdf | rdf_property: "mmoon:hasRepresentation", nil, true %} |
9 |
| -{% assign senses = page.rdf | rdf_property: "mmoon:hasSense", nil, true %} |
10 | 7 | {% assign wordclasses = page.rdf | rdf_property: "mmoon:hasWordclassAffiliation", nil, true %}
|
| 8 | +{% assign inflections = page.rdf | rdf_property: "mmoon:hasInflectionalCategory", nil, true %} |
11 | 9 | {% assign mmoon_morphs = page.rdf | rdf_property: "mmoon:consistsOfMorph", nil, true %}
|
12 | 10 | {% assign heb_schema_morphs = page.rdf | rdf_property: "heb_schema:consistsOfMorph", nil, true %}
|
| 11 | +{% assign representations = page.rdf | rdf_property: "mmoon:hasRepresentation", nil, true %} |
| 12 | +{% assign senses = page.rdf | rdf_property: "mmoon:hasSense", nil, true %} |
13 | 13 |
|
14 |
| -{% assign lemon_sense = page.rdf | rdf_property: "lemon:sense", nil, true %} |
15 | 14 | {% assign seeAlso = page.rdf | rdf_property: "rdfs:seeAlso", nil, true %}
|
| 15 | +{% assign lemon_sense = page.rdf | rdf_property: "lemon:sense", nil, true %} |
16 | 16 |
|
17 |
| -<div class="post"> |
18 |
| - <header class="post-header"> |
19 |
| - {% if wordclasses.first %} |
20 |
| - <div> |
21 |
| - <em>Wordclass Affiliation: </em> |
| 17 | + |
| 18 | +<div class="segment"> |
| 19 | + <h1 class="he">{{ page.rdf | rdf_property: "rdfs:label" }}</h1> |
| 20 | + <div class="clearfix"></div> |
| 21 | +</div> |
| 22 | + |
| 23 | +{% if wordclasses.first %} |
| 24 | +<div class="segment"> |
| 25 | + <div class="he"> |
| 26 | + <p class="proplabel propheading">חלק דיבר</p> |
| 27 | + {% for class in wordclasses %} |
| 28 | + <p>{{ class | rdf_property: "rdfs:label", "he" }}</p> |
| 29 | + {% endfor %} |
| 30 | + </div> |
| 31 | + <div class="en"> |
| 32 | + <p class="proplabel propheading">Wordclass Affiliation (mmoon:hasWordclassAffiliation)</p> |
| 33 | + <p> |
22 | 34 | {% for class in wordclasses %}
|
23 |
| - <strong>{{ class | rdf_property: "rdfs:label", "en" }}/{{ class | rdf_property: "rdfs:label", "he" }}</strong> |
| 35 | + {{ class | rdf_property: "rdfs:label", "en" }} |
24 | 36 | {% endfor %}
|
25 |
| - </div> |
26 |
| - {% endif %} |
27 |
| - <h1>{{ page.rdf | rdf_property: "rdfs:label" }}</h1> |
28 |
| - </header> |
| 37 | + </p> |
| 38 | + </div> |
| 39 | + <div class="clearfix"></div> |
| 40 | +</div> |
| 41 | +{% endif %} |
29 | 42 |
|
30 | 43 | {% if inflections.first %}
|
31 |
| -<div> |
32 |
| -{% for category in inflections %} |
33 |
| -<strong>{{ category | rdf_property: "rdfs:label", "en" }}/{{ category | rdf_property: "rdfs:label", "he" }}</strong> |
34 |
| -{% endfor %} |
35 |
| -<em>Inflection Category</em> |
| 44 | +<div class="segment"> |
| 45 | + <div class="he"> |
| 46 | + <p class="proplabel propheading"></p> |
| 47 | + </div> |
| 48 | + <div class="en"> |
| 49 | + <p class="proplabel propheading">Inflection Category (mmoon:hasInflectionalCategory)</p> |
| 50 | + </div> |
| 51 | + <div class="clearfix"></div> |
| 52 | + <div class="he"> |
| 53 | + <p> |
| 54 | + {% for category in inflections %} |
| 55 | + {{ category | rdf_property: "rdfs:label", "he" }} |
| 56 | + {% endfor %} |
| 57 | + </p> |
| 58 | + </div> |
| 59 | + <div class="en"> |
| 60 | + <p> |
| 61 | + {% for category in inflections %} |
| 62 | + {{ category | rdf_property: "rdfs:label", "en" }} |
| 63 | + {% endfor %} |
| 64 | + </p> |
| 65 | + </div> |
| 66 | + <div class="clearfix"></div> |
36 | 67 | </div>
|
37 | 68 | {% endif %}
|
38 | 69 |
|
39 | 70 | {% if mmoon_morphs.first or heb_schema_morphs.first %}
|
40 |
| -<div> |
41 |
| - <dt>Morph (heb_schema:consistsOfMorph and mmoon:consistsOfMorph)</dt> |
| 71 | +<div class="segment"> |
| 72 | + <div class="he"> |
| 73 | + <ul> |
42 | 74 | {% for morph in mmoon_morphs %}
|
43 |
| - <dd class="representation"><a href="{{ morph.page_url | prepend: site.baseurl }}">{{ morph | rdf_property: "rdfs:label", "he" }}</a></dd> |
| 75 | + <li class="representation"><a href="{{ morph.page_url | prepend: site.baseurl }}">{{ morph | rdf_property: "rdfs:label", "he" }}</a></li> |
44 | 76 | {% endfor %}
|
45 | 77 | {% for morph in heb_schema_morphs %}
|
46 |
| - <dd class="representation"><a href="{{ morph.page_url | prepend: site.baseurl }}">{{ morph | rdf_property: "rdfs:label" }}</a></dd> |
| 78 | + <li class="representation"><a href="{{ morph.page_url | prepend: site.baseurl }}">{{ morph | rdf_property: "rdfs:label", "he" }}</a></li> |
47 | 79 | {% endfor %}
|
| 80 | + </ul> |
| 81 | + </div> |
| 82 | + <div class="en"> |
| 83 | + <p class="proplabel propheading">Morphs (heb_schema:consistsOfMorph and mmoon:consistsOfMorph)</p> |
| 84 | + </div> |
| 85 | + <div class="clearfix"></div> |
48 | 86 | </div>
|
49 | 87 | {% endif %}
|
50 | 88 |
|
| 89 | +{% if representations.first %} |
| 90 | +<div class="segment"> |
| 91 | + <div class="he"> |
| 92 | + <p class="proplabel propheading"></p> |
| 93 | + </div> |
| 94 | + <div class="en"> |
| 95 | + <p class="proplabel propheading">Representations (mmoon:hasRepresentation)</p> |
| 96 | + </div> |
| 97 | + <div class="clearfix"></div> |
| 98 | + {% for representation in representations %} |
| 99 | + {% include representation.html representation=representation %} |
| 100 | + <div class="clearfix"></div> |
| 101 | + {% endfor %} |
| 102 | +</div> |
| 103 | +{% endif %} |
51 | 104 |
|
| 105 | +{% if senses.first %} |
| 106 | +<div class="segment"> |
| 107 | + <div class="he"> |
| 108 | + <p class="proplabel propheading"></p> |
| 109 | + </div> |
| 110 | + <div class="en"> |
| 111 | + <p class="proplabel propheading">Sense (mmoon:hasSense)</p> |
| 112 | + </div> |
| 113 | + <div class="clearfix"></div> |
| 114 | + <div class="he"> |
| 115 | + </div> |
| 116 | + <div class="en"> |
| 117 | + {% for sense in senses %} |
52 | 118 | <dl>
|
53 |
| - {% if representations.first %} |
54 |
| - <dt>Representation</dt> |
55 |
| - {% for representation in representations %} |
56 |
| - <dd>{% include representation.html representation=representation %}</dd> |
57 |
| - {% endfor %} |
58 |
| - {% endif %} |
59 |
| - |
60 |
| - {% if senses.first %} |
61 |
| - <dt>Sense</dt> |
62 |
| - {% for sense in senses %} |
63 |
| - <dd>{% include sense.html sense=sense %}</dd> |
64 |
| - {% endfor %} |
65 |
| - {% endif %} |
66 |
| - |
67 |
| - {% if seeAlso.first %} |
68 |
| - <dt>See Also</dt> |
69 |
| - {% for link in seeAlso %} |
70 |
| - <a href="{{link}}">{{ link | url_decode }}</a>, |
71 |
| - {% endfor %} |
72 |
| - {% endif %} |
73 |
| - |
74 |
| - {% if lemon_sense.first %} |
75 |
| - <dt>Lemon Links</dt> |
76 |
| - {% for lemon_link in lemon_sense %} |
77 |
| - <a href="{{ lemon_link }}">{{ lemon_link | url_decode }}</a>, |
78 |
| - {% endfor %} |
79 |
| - {% endif %} |
80 |
| - |
| 119 | + {% include sense.html sense=sense %} |
81 | 120 | </dl>
|
| 121 | + {% endfor %} |
| 122 | + </div> |
| 123 | + <div class="clearfix"></div> |
| 124 | +</div> |
| 125 | +{% endif %} |
82 | 126 |
|
| 127 | +{% if seeAlso.first %} |
| 128 | +<div class="segment"> |
| 129 | + <div class="he"> |
| 130 | + <p class="proplabel propheading"></p> |
| 131 | + </div> |
| 132 | + <div class="en"> |
| 133 | + <p class="proplabel propheading">See Also (rdfs:seeAlso)</p> |
| 134 | + </div> |
| 135 | + <div class="clearfix"></div> |
| 136 | + <div class="he"> |
| 137 | + </div> |
| 138 | + <div class="en"> |
| 139 | + {% for link in seeAlso %} |
| 140 | + <a href="{{link}}">{{ link | url_decode }}</a>{% unless forloop.last %}, {% endunless %} |
| 141 | + {% endfor %} |
| 142 | + </div> |
| 143 | + <div class="clearfix"></div> |
| 144 | +</div> |
| 145 | +{% endif %} |
83 | 146 |
|
84 |
| - |
| 147 | +{% if lemon_sense.first %} |
| 148 | +<div class="segment"> |
| 149 | + <div class="he"> |
| 150 | + <p class="proplabel propheading"></p> |
| 151 | + </div> |
| 152 | + <div class="en"> |
| 153 | + <p class="proplabel propheading">Lemon Links (lemon:sense)</p> |
| 154 | + </div> |
| 155 | + <div class="clearfix"></div> |
| 156 | + <div class="he"> |
| 157 | + </div> |
| 158 | + <div class="en"> |
| 159 | + {% for lemon_link in lemon_sense %} |
| 160 | + <a href="{{ lemon_link }}">{{ lemon_link | url_decode }}</a>{% unless forloop.last %}, {% endunless %} |
| 161 | + {% endfor %} |
| 162 | + </div> |
| 163 | + <div class="clearfix"></div> |
85 | 164 | </div>
|
| 165 | +{% endif %} |
0 commit comments