You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by ts...@apache.org on 2015/05/01 20:08:42 UTC
[46/50] [abbrv] drill git commit: Automated alert bar on the home
page to show 2 most recent blog posts
Automated alert bar on the home page to show 2 most recent blog posts
Project: http://git-wip-us.apache.org/repos/asf/drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/df9bd618
Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/df9bd618
Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/df9bd618
Branch: refs/heads/gh-pages
Commit: df9bd61840ce78c0eae35ddc4abf1611050ef368
Parents: 9531381
Author: Tomer Shiran <ts...@gmail.com>
Authored: Thu Apr 30 23:08:26 2015 -0700
Committer: Tomer Shiran <ts...@gmail.com>
Committed: Thu Apr 30 23:08:26 2015 -0700
----------------------------------------------------------------------
index.html | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/drill/blob/df9bd618/index.html
----------------------------------------------------------------------
diff --git a/index.html b/index.html
index a3351af..86def74 100755
--- a/index.html
+++ b/index.html
@@ -22,7 +22,12 @@ layout: default
</div><!-- header -->
<div class="alertbar">
- <span class="strong">News:</span> <a href="{{ site.baseurl }}/blog/2015/03/31/drill-0.8-released/">Drill 0.8 Released</a> <span class="hor-bar"></span> <a href="{{ site.baseurl }}/blog/2015/03/23/microstrategy-announces-drill-support/">MicroStrategy Announces Drill Support</a>
+ <span class="strong">News:</span>
+ {% assign post = site.categories.blog[0] %}<!-- previously: site.posts -->
+ <a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
+ <span class="hor-bar"></span>
+ {% assign post = site.categories.blog[1] %}<!-- previously: site.posts -->
+ <a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</div>
<div class="mw introWrapper">