Skip to content

Commit 1ad705d

Browse files
committed
edited proof layout
The proof layout was changed, including direct links to ToC, PbN, PbT and "cite this proof" link.
1 parent 8c7968e commit 1ad705d

1 file changed

Lines changed: 11 additions & 8 deletions

File tree

_layouts/proof.html

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ <h1 class="post-title">Proof: {{ page.title }}</h1>
1313

1414
<!-- Index -->
1515
<b>Index:</b>
16-
<a href="https://StatProofBook.github.io">The Book of Statistical Proofs</a> &#x25B7;
17-
<a href="https://statproofbook.github.io/I/ToC#{{ page.chapter }}">{{ page.chapter }}</a> &#x25B7;
18-
<a href="https://statproofbook.github.io/I/ToC#{{ page.section }}">{{ page.section }}</a> &#x25B7;
19-
<a href="https://statproofbook.github.io/I/ToC#{{ page.topic }}">{{ page.topic }}</a> &#x25B7;
16+
<a href="/I/ToC">The Book of Statistical Proofs</a> &#x25B7;
17+
<a href="/I/ToC#{{ page.chapter }}">{{ page.chapter }}</a> &#x25B7;
18+
<a href="/I/ToC#{{ page.section }}">{{ page.section }}</a> &#x25B7;
19+
<a href="/I/ToC#{{ page.topic }}">{{ page.topic }}</a> &#x25B7;
2020
{{ page.theorem }} <br><br>
2121

2222
<!-- Theorem & Proof -->
@@ -40,19 +40,22 @@ <h1 class="post-title">Proof: {{ page.title }}</h1>
4040
{% endif %}
4141

4242
<!-- Metadata -->
43+
<b>Metadata:</b> ID: <a href="/I/PbN">{{ page.proof_id }}</a> | shortcut: <a href="/I/PbT">{{ page.shortcut }}</a> |
4344
{% if page.username %}
44-
<b>Metadata:</b> ID: {{ page.proof_id }} | shortcut: {{ page.shortcut }} | author: <a href="https://github.com/{{ page.username }}">{{ page.username }}</a> | date: {{ page.date | date: "%Y-%m-%d, %H:%M" }}.
45+
author: <a href="https://github.com/{{ page.username }}">{{ page.username }}</a> |
4546
{% elsif page.author %}
46-
<b>Metadata:</b> ID: {{ page.proof_id }} | shortcut: {{ page.shortcut }} | author: {{ page.author }} | date: {{ page.date | date: "%Y-%m-%d, %H:%M" }}.
47+
author: {{ page.author }} |
4748
{% else %}
48-
<b>Metadata:</b> ID: {{ page.proof_id }} | shortcut: {{ page.shortcut }} | author: unknown | date: {{ page.date | date: "%Y-%m-%d, %H:%M" }}.
49+
author: unknown |
4950
{% endif %}
51+
date: {{ page.date | date: "%Y-%m-%d, %H:%M" }}.
5052

5153
</div>
5254

5355
<!-- "edit this proof" -->
5456
<div style="text-align:right">
55-
<small><a href="https://github.com/StatProofBook/StatProofBook.github.io/blob/master/P/{{ page.shortcut }}.md">view/edit this proof</a></small>
57+
<small><a href="https://github.com/StatProofBook/StatProofBook.github.io/blob/master/P/{{ page.shortcut }}.md">view/edit this proof</a></small><br>
58+
<small><a href="/citations/">cite this proof</a></small>
5659
</div>
5760

5861
</article>

0 commit comments

Comments
 (0)