Skip to content

Commit 3d3818b

Browse files
committed
added special template
A layout template for special pages (see sub-folder and name space "S") was added and applied to the existing special pages (Chapters I, II, III, IV).
1 parent cce8fde commit 3d3818b

5 files changed

Lines changed: 35 additions & 4 deletions

File tree

S/ChI.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
layout: page
3-
title: "Special: General Theorems"
3+
title: "General Theorems"
4+
shortcut: "ChI"
45
---
56

67

S/ChII.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
layout: page
3-
title: "Special: Probability Distributions"
3+
title: "Probability Distributions"
4+
shortcut: "ChII"
45
---
56

67

S/ChIII.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
layout: page
3-
title: "Special: Statistical Models"
3+
title: "Statistical Models"
4+
shortcut: "ChIII"
45
---
56

67

S/ChIV.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
layout: page
3-
title: "Special: Model Selection Criteria"
3+
title: "Model Selection"
4+
shortcut: "ChIV"
45
---
56

67

_layouts/special.html

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
layout: default
3+
---
4+
<article class="post">
5+
6+
<!-- Title -->
7+
<header class="post-header">
8+
<h1 class="post-title">Special: {{ page.title }}</h1>
9+
</header>
10+
11+
<!-- Contents -->
12+
<div class="post-content">
13+
14+
<!-- Index -->
15+
<b>Index:</b> <a href="https://StatProofBook.github.io">The Book of Statistical Proofs</a> &#x25B7; {{ page.title }} <br><br>
16+
17+
<!-- Contents -->
18+
{{ content }}
19+
20+
</div>
21+
22+
<!-- "edit this page" -->
23+
<div style="text-align:right">
24+
<small><a href="https://github.com/StatProofBook/StatProofBook.github.io/blob/master/S/{{ page.shortcut }}.md">view/edit this page</a></small>
25+
</div>
26+
27+
</article>

0 commit comments

Comments
 (0)