This repository has been archived by the owner on Sep 4, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added consistent use of index redirects
- Loading branch information
Showing
6 changed files
with
85 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
title: BlackBerry Community Wiki - Articles | ||
redirect-page: All_Articles | ||
redirect-seconds: 0 | ||
redirect-message: "Please wait while we redirect you to the starting page" | ||
layout: redirect | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
--- | ||
layout: news | ||
title: Community News | ||
--- | ||
|
||
<h3>Latest News</h3> | ||
See [News Highlights](Latest_News.html). | ||
|
||
<div id="posts"> | ||
<div> | ||
{% for post in site.posts %} | ||
<div style="border-bottom: 1px solid #DFDFDF;"> | ||
<div> | ||
<h3><a class="newsPost" href="{{ site.baseurl }}/{{ post.url }}">{{ post.title }}</a></h3> | ||
<div>{{ post.date | date: '%m-%d-%Y' }}</div> | ||
{% if content %} | ||
{{ content }} | ||
{% else %} | ||
{{ post.content }} | ||
{% endif %} | ||
</div> | ||
</div> | ||
{% endfor %} | ||
</div> | ||
|
||
{% if site.total_pages > 1 %} | ||
<div> | ||
<div> | ||
{% if site.previous_page > 1 %} | ||
{% capture page_url %}page{{ page }}{% endcapture%} | ||
{% endif %} | ||
{% if site.previous_page %} | ||
<div> | ||
<a href="{{ page_url }}" title="Go to previous page"> | ||
« | ||
</a> | ||
</div> | ||
{% endif %} | ||
<div> | ||
{% for page in (1..site.total_pages) %} | ||
<div> | ||
{% if page > 1 %} | ||
{% capture page_url %}page{{ page }}{% endcapture%} | ||
{% endif %} | ||
{% if page == site.page %} | ||
{{ page }} | ||
{% else %} | ||
<a href="/{{ page_url }}">{{ page }}</a> | ||
{% endif %} | ||
</li> | ||
{% endfor %} | ||
{% if site.next_page %} | ||
<div> | ||
<a href="/page{{ site.next_page }}" title="Go to next page"> | ||
» | ||
</a> | ||
</div> | ||
{% endif %} | ||
</div> | ||
</div> | ||
{% endif %} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,7 @@ | ||
--- | ||
layout: news | ||
title: Community News | ||
--- | ||
|
||
<h3>Latest News</h3> | ||
See [News Highlights](Latest_News.html). | ||
|
||
<div id="posts"> | ||
<div> | ||
{% for post in site.posts %} | ||
<div style="border-bottom: 1px solid #DFDFDF;"> | ||
<div> | ||
<h3><a class="newsPost" href="{{ site.baseurl }}/{{ post.url }}">{{ post.title }}</a></h3> | ||
<div>{{ post.date | date: '%m-%d-%Y' }}</div> | ||
{% if content %} | ||
{{ content }} | ||
{% else %} | ||
{{ post.content }} | ||
{% endif %} | ||
</div> | ||
</div> | ||
{% endfor %} | ||
</div> | ||
|
||
{% if site.total_pages > 1 %} | ||
<div> | ||
<div> | ||
{% if site.previous_page > 1 %} | ||
{% capture page_url %}page{{ page }}{% endcapture%} | ||
{% endif %} | ||
{% if site.previous_page %} | ||
<div> | ||
<a href="{{ page_url }}" title="Go to previous page"> | ||
« | ||
</a> | ||
</div> | ||
{% endif %} | ||
<div> | ||
{% for page in (1..site.total_pages) %} | ||
<div> | ||
{% if page > 1 %} | ||
{% capture page_url %}page{{ page }}{% endcapture%} | ||
{% endif %} | ||
{% if page == site.page %} | ||
{{ page }} | ||
{% else %} | ||
<a href="/{{ page_url }}">{{ page }}</a> | ||
{% endif %} | ||
</li> | ||
{% endfor %} | ||
{% if site.next_page %} | ||
<div> | ||
<a href="/page{{ site.next_page }}" title="Go to next page"> | ||
» | ||
</a> | ||
</div> | ||
{% endif %} | ||
</div> | ||
</div> | ||
{% endif %} | ||
</div> | ||
--- | ||
title: BlackBerry Community News | ||
redirect-page: Latest_News | ||
redirect-seconds: 0 | ||
redirect-message: "Please wait while we redirect you to the starting page" | ||
layout: redirect | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
title: BlackBerry Community Wiki | ||
redirect-page: Contribute | ||
redirect-seconds: 0 | ||
redirect-message: "Please wait while we redirect you to the starting page" | ||
layout: redirect | ||
--- |