Upper-case pids everywhere

This commit is contained in:
Nick Johnson committed 2015-04-05 17:48:01 +01:00
1 parent 6f2d2c6c1a
commit a456ede836
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@
{% capture orgpath %}/org/{{pid.owner}}/{% endcapture %}
{% assign org = orgs|where:"url",orgpath|first %}
<tr>
<th><a href="{{pid.url}}">{{urlparts[2]}}</a></th>
<th><a href="{{pid.url}}">{{urlparts[2]|upcase}}</a></th>
<td>{{org.title}} {{pid.title}}</td>
</tr>
{% endif %}
+3 -3
View File
@@ -6,7 +6,7 @@
{% assign pid = urlparts[2] %}
<!DOCTYPE html>
<html>
{% capture title %}{{page.vid}}/{{page.pid}} {{page.title}}{% endcapture %}
{% capture title %}{{page.vid}}/{{page.pid|upcase}} {{page.title}}{% endcapture %}
{% include head.html title=title %}
<body class="{% if site.animated %}animated fade-in-down{% endif %}">
<div class="site-wrap">
@@ -18,14 +18,14 @@
<header class="post-header">
<h1 class="h2">
<a href="/{{vid}}/">{{vid}}</a> /
{{pid}} -
{{pid|upcase}} -
{{page.title}}
</h1>
</header>
<article class="post-content">
<table>
<tr><th>VID</th><td>0x{{vid}}</td></tr>
<tr><th>PID</th><td>0x{{pid}}</td></tr>
<tr><th>PID</th><td>0x{{pid|upcase}}</td></tr>
<tr><th>Owner</th><td><a href="{{org.url}}">{{org.title}}</a></td></tr>
<tr><th>License</th><td>{{page.license}}</td></tr>
{% if page.site %}