Browse Source

Changed _create to _rules

Nathan Schneider 5 years ago
parent
commit
044ad85357
9 changed files with 20 additions and 9 deletions
  1. 1 1
      _config.yml
  2. 2 2
      _layouts/create.html
  3. 1 1
      _rules/benevolent_dictator.md
  4. 1 1
      _rules/elected_board.md
  5. 1 1
      _rules/jury.md
  6. 1 1
      _rules/petition.md
  7. 1 1
      _rules/self-appointed_board.md
  8. 1 1
      about.md
  9. 11 0
      rules.md

+ 1 - 1
_config.yml

@@ -33,7 +33,7 @@ plugins:
   - jekyll-feed
 
 collections:
-  create:
+  rules:
     output: true
 
 # Exclude from processing.

+ 2 - 2
_layouts/create.html

@@ -57,8 +57,8 @@ layout: default
 
   <p><strong>Templates</strong>
     [ <a href="{% link create.md %}">Default</a>
-    {% for template in site.create %}
-    / <a href="{{ site.baseurl }}{{ template.url }}">{{ template.title }}</a>
+    {% for rule in site.rules %}
+    / <a href="{{ site.baseurl }}{{ rule.url }}">{{ rule.title }}</a>
     {% endfor %}
     ]
 

+ 1 - 1
_create/benevolent_dictator.md → _rules/benevolent_dictator.md

@@ -1,7 +1,7 @@
 ---
 layout: create
 title: Benevolent dictator
-permalink: /create/benevolent-dictator/
+permalink: /rules/benevolent-dictator/
 
 community-name: 
 mission:

+ 1 - 1
_create/elected_board.md → _rules/elected_board.md

@@ -1,7 +1,7 @@
 ---
 layout: create
 title: Elected board
-permalink: /create/elected-board/
+permalink: /rules/elected-board/
 
 name:
 mission:

+ 1 - 1
_create/jury.md → _rules/jury.md

@@ -1,7 +1,7 @@
 ---
 layout: create
 title: Jury
-permalink: /create/jury/
+permalink: /rules/jury/
 
 community-name: 
 mission: 

+ 1 - 1
_create/petition.md → _rules/petition.md

@@ -1,7 +1,7 @@
 ---
 layout: create
 title: Petition
-permalink: /create/petition/
+permalink: /rules/petition/
 
 community-name: 
 mission:

+ 1 - 1
_create/self-appointed_board.md → _rules/self-appointed_board.md

@@ -1,7 +1,7 @@
 ---
 layout: create
 title: Self-appointed board
-permalink: /create/self-appointed-board/
+permalink: /rules/self-appointed-board/
 
 name:
 mission:

+ 1 - 1
about.md

@@ -60,7 +60,7 @@ If a community of contributors and users forms around CommunityRule, it should d
 
 * Rules (ready-to-deploy presets)
     - Create pretty rule.html template for finished Rules (custom and preset) that people can link to
-    - Move _create/ files to _rule/ and make a rules.md main page that lists them
+    - Brand them as CommunityRule rules with tools to create badges out of them
     - Use Javascript to make the rule.html template editable like create.html
 * Javascript output button
 * Further modularity

+ 11 - 0
rules.md

@@ -0,0 +1,11 @@
+---
+layout: page
+title: Rules
+permalink: /rules/
+---
+
+<ul>
+{% for rule in site.rules %}
+<a href="{{ site.baseurl }}{{ rule.url }}">{{ rule.title }}</a>
+    {% endfor %}
+</ul>