From 8bb4333a5ea527cc9b53edf509bb9f7c25e42350 Mon Sep 17 00:00:00 2001 From: tekkub Date: Mon, 12 Jul 2010 19:09:16 -0600 Subject: Tweak the way we handle popular guides --- _posts/2009-09-09-removing-sensitive-data.textile | 2 +- index.markdown | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_posts/2009-09-09-removing-sensitive-data.textile b/_posts/2009-09-09-removing-sensitive-data.textile index f16b50c..185dfd2 100644 --- a/_posts/2009-09-09-removing-sensitive-data.textile +++ b/_posts/2009-09-09-removing-sensitive-data.textile @@ -2,7 +2,7 @@ layout: default title: Removing sensitive data description: Dealing with accidentally committed passwords or other sensitive information -categories: popular, git_ninjutsu +categories: popular git_ninjutsu --- From time to time users accidentally commit data like passwords or keys into a git repo. While you can use @git rm@ to remove the file, it will still be in the repo's history. Fortunately, git makes it fairly simple to remove the file from the entire repo history. diff --git a/index.markdown b/index.markdown index 3342be8..bc94738 100644 --- a/index.markdown +++ b/index.markdown @@ -31,10 +31,10 @@ Popular guides --------------
- {% for post in site.posts reversed %}{% if post.categories contains "popular" %} + {% for post in site.categories.popular reversed %}
{{ post.title }}
{{ post.description }}
- {% endif %}{% endfor %} + {% endfor %}
Getting help -- cgit v1.3.1