mirror of
https://github.com/solokeys/pidcodes.github.com.git
synced 2026-06-20 04:16:15 -07:00
Added org name to pid table
This commit is contained in:
1 parent
1e32319dfa
commit
cd8952fea9
1 file changed
+3
-1
@@ -6,9 +6,11 @@
|
||||
{% for pid in pids %}
|
||||
{% assign urlparts = pid.url|split:"/" %}
|
||||
{% if include.vid == urlparts[1] %}
|
||||
{% capture orgpath %}/org/{{pid.owner}}/{% endcapture %}
|
||||
{% assign org = orgs|where:"url",orgpath|first %}
|
||||
<tr>
|
||||
<th><a href="{{pid.url}}">{{urlparts[2]}}</a></th>
|
||||
<td>{{pid.title}}</td>
|
||||
<td>{{org.title}} {{pid.title}}</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
Reference in new issue
Block a user