From b84eef54fc25183923c074b12b353b96fb95d36e Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Fri, 11 Nov 2011 17:47:00 +0100 Subject: [PATCH] Move policy page to the wiki --- generator.py | 2 +- template/add.tmpl | 2 +- template/index.tmpl | 2 +- template/policy.tmpl | 22 ---------------------- 4 files changed, 3 insertions(+), 25 deletions(-) delete mode 100644 template/policy.tmpl diff --git a/generator.py b/generator.py index 999497c..6551c5b 100755 --- a/generator.py +++ b/generator.py @@ -38,7 +38,7 @@ class Generator: self.topteams = [] self.allposters = [] self.allteams = [] - self.staticfiles = ['policy','add'] + self.staticfiles = ['add', ] if cfg.has_option('twitter','account'): self.twittername = cfg.get('twitter','account') else: diff --git a/template/add.tmpl b/template/add.tmpl index 6cf5c4f..0cc1a6b 100644 --- a/template/add.tmpl +++ b/template/add.tmpl @@ -6,7 +6,7 @@ Adding your blog to Planet PostgreSQL is simple, and we encourage all people who blog about PostgreSQL to do it. Just follow the steps below:

    -
  1. Make sure your blog follows the policy.
  2. +
  3. Make sure your blog follows the policy.
  4. If you don't have one already, sign up for a PostgreSQL Community Account (same as is used for example for diff --git a/template/index.tmpl b/template/index.tmpl index 5658ca6..7b45d23 100644 --- a/template/index.tmpl +++ b/template/index.tmpl @@ -32,7 +32,7 @@ {%endif%}
    Planet
      -
    • Policy for being listed on Planet PostgreSQL.
    • +
    • Policy for being listed on Planet PostgreSQL.
    • Add your blog to Planet PostgreSQL.
    • List of all subscribed blogs.
    • Manage your registration.
    • diff --git a/template/policy.tmpl b/template/policy.tmpl deleted file mode 100644 index 51f7b5d..0000000 --- a/template/policy.tmpl +++ /dev/null @@ -1,22 +0,0 @@ -{%extends "base.tmpl"%} -{%block content%} -

      Planet PostgreSQL policy

      -

      -The following simple rules cover the blogs being listed on Planet PostgreSQL: -

      -
        -
      • All blogs should be about PostgreSQL or closely related technologies. If you want to blog - about other things as well, please put your PostgreSQL specific posts in a separate - category/tag/label, and use the feed for this category only for Planet PostgreSQL.
      • -
      • All topics related to PostgreSQL are of course appreciated - both technical and - non-technical.
      • -
      • All posts should be in English. If you want to blog in other languages, please put - your PostgreSQL specific posts in a separate category/tag/label, and use the feed for - this category only for Planet PostgreSQL.
      • -
      • All blogs should be identified by the posters name. A nickname is allowed to be used - in combination with this, but blogs without names are not allowed.
      • -
      • Avoid inflammatory comments in syndicated posts. Personal attacks are not permitted.
      • -
      • Publishing of advertising in the syndicated part of your blog is not permitted
      • -
      -

      Violating these rules will cause your blog to be removed from Planet PostgreSQL.

      -{%endblock%} -- 2.39.5