Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added consistent use of index redirects

  • Loading branch information...
commit 28ed19ac11f59fd82fe5ce44291393758e9357ec 1 parent 897a304
@pelegri pelegri authored
View
2  _includes/default-navigation.html
@@ -22,7 +22,7 @@
</li>
<li>News Links
<ul>
- <li><a href="{{ base-url }}/news/index.html">All News</a></li>
+ <li><a href="{{ base-url }}/news/All_News.html">All News</a></li>
<li><a href="{{ base-url }}/news/Latest_News.html">Latest News</a></li>
</ul>
</li>
View
7 articles/index.md
@@ -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
+---
View
2  index.md
@@ -1,6 +1,6 @@
---
title: BlackBerry Community Wiki
-redirect-page: BlackBerry_Jam
+redirect-page: news/Latest_News
redirect-seconds: 0
redirect-message: "Please wait while we redirect you to the starting page"
layout: redirect
View
62 news/All_News.md
@@ -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">
+ &laquo;
+ </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">
+ &raquo;
+ </a>
+ </div>
+ {% endif %}
+ </div>
+ </div>
+ {% endif %}
+</div>
View
69 news/index.md
@@ -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">
- &laquo;
- </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">
- &raquo;
- </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
+---
View
7 other/index.md
@@ -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
+---
Please sign in to comment.
Something went wrong with that request. Please try again.