Skip to content

Commit 549a1ab

Browse files
committed
added sub header and footer to blog pages
1 parent 934818e commit 549a1ab

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

_layouts/post.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
---
22
layout: default
33
---
4+
<div class="subheader">
5+
<div class="bounds">
6+
<h1>Blog</h1>
7+
<div class="subheader__description">All the latest news and insights on PhoneGap</div>
8+
</div>
9+
</div>
410
<div class="bounds--blog">
511
<article class="blog-post">
612
<header>
@@ -20,3 +26,11 @@ <h1 class="blog-post__title"><a href="{{ page.url }}">{{ page.title }}</a></h1>
2026
</article>
2127
{% include blog-aside.html %}
2228
</div>
29+
<div class="sub-footer">
30+
<div class="bounds">
31+
<h2>Dig into documentation</h2>
32+
<div class="sub-footer__description">
33+
Whether you’re looking for <a href="#">in-depth guides</a> on how to build better PhoneGap apps, or <a href="#">references</a> to APIs, configuration and usage this is the place to go. You’ll also find documentation for both PhoneGap and Cordova <a href="#">plugins</a>. How could you go wrong?
34+
</div>
35+
</div>
36+
</div>

blog/index.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
extra_js:
55
- taglist.js
66
---
7+
<div class="subheader">
8+
<div class="bounds">
9+
<h1>Blog</h1>
10+
<div class="subheader__description">All the latest news and insights on PhoneGap</div>
11+
</div>
12+
</div>
713
<div class="bounds--blog">
814
<div class="blog-post__preview-list">
915
<!-- This loops through the paginated posts -->
@@ -57,3 +63,11 @@
5763
</div>
5864
{% include blog-aside.html %}
5965
</div>
66+
<div class="sub-footer">
67+
<div class="bounds">
68+
<h2>Dig into documentation</h2>
69+
<div class="sub-footer__description">
70+
Whether you’re looking for <a href="#">in-depth guides</a> on how to build better PhoneGap apps, or <a href="#">references</a> to APIs, configuration and usage this is the place to go. You’ll also find documentation for both PhoneGap and Cordova <a href="#">plugins</a>. How could you go wrong?
71+
</div>
72+
</div>
73+
</div>

0 commit comments

Comments
 (0)