|
5 | 5 |
|
6 | 6 | <div class="page" id="page">
|
7 | 7 | {% include components/tutorial/promotion-header.html %}
|
8 |
| - |
9 |
| - <header class="page-header"> |
10 |
| - <nav> |
11 |
| - <!-- menu --> |
12 |
| - <section class"page-back"> |
13 |
| - <a href="/">◇ Back to Pixelnest</a> |
14 |
| - </section> |
15 |
| - |
16 |
| - <section class="page-ref"> |
17 |
| - {% if page.tutorial.link and page.tutorial.name %} |
18 |
| - {% if page.tutorial.show_label == nil or page.tutorial.show_label == true %} |
19 |
| - Tutorial: <a href="{{ page.tutorial.link }}">{{ page.tutorial.name }}</a> |
20 |
| - {% else %} |
21 |
| - <a href="{{ page.tutorial.link }}">{{ page.tutorial.name }}</a> |
22 |
| - {% endif %} |
23 |
| - {% endif %} |
24 |
| - </section> |
25 |
| - |
26 |
| - <!-- twitter --> |
27 |
| - <section class="page-link"> |
28 |
| - <a href="http://twitter.com/pixelnest">follow us on twitter</a> |
29 |
| - </section> |
30 |
| - </nav> |
31 |
| - </header> |
| 8 | + {% include components/tutorial/header.html %} |
32 | 9 |
|
33 | 10 | <div class="page-content">
|
34 |
| - |
35 | 11 | {% if !page.links %}
|
36 |
| - <div class="pager"> |
37 |
| - <section class="pager__previous"> |
38 |
| - {% if page.links.previous %} |
39 |
| - <a href="{{ page.links.previous }}" class="pager__link"> |
40 |
| - ← <span>Prev.</span> |
41 |
| - </a> |
42 |
| - {% else %} |
43 |
| - ◇ Start |
44 |
| - {% endif %} |
45 |
| - </section> |
46 |
| - |
47 |
| - <section class="pager__all"> |
48 |
| - {% if page.links.summary %} |
49 |
| - <a href="{{ page.links.summary | remove: 'index.html' }}" class="pager__link"> |
50 |
| - Summary |
51 |
| - </a> |
52 |
| - {% endif %} |
53 |
| - </section> |
54 |
| - |
55 |
| - <section class="pager__next"> |
56 |
| - {% if page.links.next %} |
57 |
| - <a href="{{ page.links.next }}" class="pager__link"> |
58 |
| - <span>Next</span> → |
59 |
| - </a> |
60 |
| - {% else %} |
61 |
| - End ◆ |
62 |
| - {% endif %} |
63 |
| - </section> |
64 |
| - </div> |
| 12 | + {% include components/tutorial/pager.html class="pager--top" %} |
65 | 13 | {% endif %}
|
66 | 14 |
|
67 |
| - <!-- post layout --> |
68 | 15 | <article class="entry">
|
69 |
| - <h2 class="entry__title"> |
70 |
| - <a href="{{ page.url | remove: 'index.html' }}" title="{{ page.title }}">{{ page.title }}</a> |
71 |
| - </h2> |
| 16 | + <header class="entry__header"> |
| 17 | + <h1 class="entry__title"> |
| 18 | + <a href="{{ page.url | remove: 'index.html' }}"> |
| 19 | + {{ page.title }} |
| 20 | + </a> |
| 21 | + </h1> |
72 | 22 |
|
73 |
| - {% if page.subtitle %} |
74 |
| - <h3 class="entry__subtitle"> |
75 |
| - {{ page.subtitle }} |
76 |
| - </h3> |
77 |
| - {% endif %} |
| 23 | + {% if page.subtitle %} |
| 24 | + <h2 class="entry__subtitle"> |
| 25 | + {{ page.subtitle }} |
| 26 | + </h2> |
| 27 | + {% endif %} |
| 28 | + </header> |
78 | 29 |
|
79 | 30 | {% if page.show_metadata == nil or page.show_metadata == true %}
|
80 |
| - <aside class="entry__metadata"> |
81 |
| - {% include components/author.html %} |
| 31 | + <aside class="entry__metadata"> |
| 32 | + {% include components/author.html %} |
82 | 33 |
|
83 |
| - <section class="entry__infos"> |
84 |
| - <p> |
| 34 | + <footer class="entry__date"> |
85 | 35 | {{ page.date | date: "%d %b. %Y" | downcase }}
|
86 |
| - </p> |
87 |
| - </section> |
88 |
| - </aside> |
| 36 | + </footer> |
| 37 | + </aside> |
89 | 38 | {% endif %}
|
90 | 39 |
|
91 |
| - <section class="entry__content"> |
| 40 | + <div class="entry__content"> |
92 | 41 | {{ content }}
|
93 |
| - </section> |
| 42 | + </div> |
94 | 43 | </article>
|
95 |
| - <!-- end post layout --> |
96 |
| - |
97 |
| - <div class="pager pager--bottom-separator pager--em"> |
98 |
| - <section class="pager__older"> |
99 |
| - {% if page.links.previous %} |
100 |
| - <a href="{{ page.links.previous }}" title="Previous chapter">← Prev.</a> |
101 |
| - {% endif %} |
102 |
| - </section> |
103 |
| - |
104 |
| - {% if page.links.summary %} |
105 |
| - <section class="pager__ref"> |
106 |
| - <a href="{{ page.links.summary | remove: 'index.html' }}" title="Summary">Summary</a> |
107 |
| - </section> |
108 |
| - {% endif %} |
109 |
| - |
110 |
| - <section class="pager__newer"> |
111 |
| - {% if page.links.next %} |
112 |
| - <a href="{{ page.links.next }}" title="Next chapter">Next →</a> |
113 |
| - {% endif %} |
114 |
| - </section> |
115 |
| - </div> |
116 | 44 |
|
| 45 | + {% include components/tutorial/pager.html class="pager--bottom" %} |
117 | 46 | {% include components/tutorial/promotion.html %}
|
118 | 47 | </div>
|
119 | 48 |
|
120 |
| - <footer class="page-footer"> |
121 |
| - <p class="credits__desc"> |
122 |
| - © 2016 pixelnest.io - we craft <strong>games</strong> and <strong>apps</strong> |
123 |
| - </p> |
124 |
| - </footer> |
| 49 | + {% include components/tutorial/footer.html %} |
125 | 50 | </div>
|
0 commit comments