Skip to content

Commit 899e9fa

Browse files
committed
Fixes #71 - Title on every post page
1 parent 71334eb commit 899e9fa

22 files changed

+83
-68
lines changed
File renamed without changes.

_includes/footer.html

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1-
<div style="text-align: right">
2-
<p>Copyright &copy; {{ site.time | date: "%Y" }} <a href="http://dotnetfoundation.org">.NET Foundation</a>.</p>
1+
<div id="footer_wrap" class="outer">
2+
<footer id="footer" class="inner">
3+
<div style="text-align: right">
4+
<p>Copyright &copy; {{ site.time | date: "%Y" }} <a href="http://dotnetfoundation.org">.NET Foundation</a>.</p>
5+
</div>
6+
<!-- DOWNLOAD SOURCE IN THE FOOTER -->
7+
{% include download_source.html %}
8+
</footer>
39
</div>

_includes/header.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<body>
2+
<div class="main-container">
3+
{% include google_analytics.html %}
4+
<!-- OLW banner and GitHub badge -->
5+
<div id="header_wrap" class="outer">
6+
<header class="inner">
7+
<a id="forkme_banner" href="https://github.com/OpenLiveWriter">View on GitHub</a>
8+
<h1 id="project_title"><a href="/"><img src="/images/openlivewriter-purpleheader.png" alt="Open Live Writer"/></a></h1>
9+
{% if page.subtitle %}
10+
<h2 id="project_tagline">{{ page.subtitle }}</h2>
11+
{% endif %}
12+
</header>
13+
</div>
14+
<!-- Tabbed navigation bar -->
15+
<ul class="nav nav-tabs">
16+
<li id="home" class="active" role="presentation"><a href="/">Home</a></li>
17+
<li id="news" role="presentation"><a href="/news">News</a></li>
18+
<li id="blog" role="presentation"><a href="/blog">Blog</a></li>
19+
<li id="GSoC" role="presentation"><a href="/GSoC">GSoC</a></li>
20+
<li id="tutorials" role="presentation"><a href="/tutorials">Tutorials</a></li>
21+
</ul>
22+
<!-- INCLUDE DOWNLOAD BUTTON IF THE PAGE HAS IT SET IN THE FRONT-MATTER -->
23+
{% if page.download == true %}
24+
{% include download_exe.html %}
25+
{% endif %}

_layouts/default.html

Lines changed: 3 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,6 @@
11
{% include head.html %}
2-
<body>
3-
<div class="main-container">
4-
{% include google_analytics.html %}
5-
<!-- OLW banner and GitHub badge -->
6-
<div id="header_wrap" class="outer">
7-
<header class="inner">
8-
<a id="forkme_banner" href="https://github.com/OpenLiveWriter">View on GitHub</a>
9-
<h1 id="project_title"><a href="/"><img src="/images/openlivewriter-purpleheader.png" alt="Open Live Writer"/></a></h1>
10-
{% if page.subtitle %}
11-
<h2 id="project_tagline">{{ page.subtitle }}</h2>
12-
{% endif %}
13-
</header>
14-
</div>
15-
<!-- Tabbed navigation bar -->
16-
<ul class="nav nav-tabs">
17-
<li id="home" class="active" role="presentation"><a href="/">Home</a></li>
18-
<li id="news" role="presentation"><a href="/news">News</a></li>
19-
<li id="blog" role="presentation"><a href="/blog">Blog</a></li>
20-
<li id="GSoC" role="presentation"><a href="/GSoC">GSoC</a></li>
21-
<li id="tutorials" role="presentation"><a href="/tutorials">Tutorials</a></li>
22-
</ul>
23-
<!-- INCLUDE DOWNLOAD BUTTON IF THE PAGE HAS IT SET IN THE FRONT-MATTER -->
24-
{% if page.download == true %}
25-
{% include download.html %}
26-
{% endif %}
2+
<!-- HEADER AND NAVIGATION -->
3+
{% include header.html %}
274
<!-- MAIN CONTENT -->
285
<div id="main_content_wrap" class="outer">
296
<div id="main_content" class="inner">
@@ -32,13 +9,7 @@ <h2 id="project_tagline">{{ page.subtitle }}</h2>
329
</div>
3310
</div>
3411
<!-- FOOTER -->
35-
<div id="footer_wrap" class="outer">
36-
<footer id="footer" class="inner">
37-
{% include footer.html %}
38-
<!-- DOWNLOAD SOURCE IN THE FOOTER -->
39-
{% include download_source.html %}
40-
</footer>
41-
</div>
12+
{% include footer.html %}
4213
<!-- SCRIPTS AND STYLES -->
4314
<script>
4415
// This function manages which navigation tab is currently active

_layouts/post.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
layout: default
3+
---
4+
<article class="post">
5+
6+
<header class="post-header">
7+
<h1 class="post-title">{{ page.title }}</h1>
8+
</header>
9+
10+
<div class="post-content">
11+
{{ content }}
12+
</div>
13+
14+
</article>

_posts/2015-12-09-initial-public-release.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: default
2+
layout: post
33
title: 'Initial public release'
44
version: 0.5.0.0
55
categories: [news, release]

_posts/2015-12-17-blogger-v3-api-support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: default
2+
layout: post
33
title: 'Blogger V3 API Support'
44
version: 0.5.1.2
55
categories: [news, release]

_posts/2016-01-16-Contributing-to-Open-Live-Writer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: default
2+
layout: post
33
title: 'Contributing to Open Live Writer'
44
categories: [blog]
55
date: 2016-01-16 00:00:00 -0800

_posts/2016-02-05-Contributing-to-documentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: default
2+
layout: post
33
title: 'Contributing to Documentation'
44
categories: [blog]
55
date: 2016-02-05 00:00:00 -0800

_posts/2016-02-11-Contributing-testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: default
2+
layout: post
33
title: 'How to contribute by testing'
44
categories: [blog]
55
date: 2016-02-11 00:00:00 -0800

0 commit comments

Comments
 (0)