diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/ccc_conventions.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/ccc_conventions.rb b/lib/ccc_conventions.rb index b840dee2..52549c9e 100644 --- a/lib/ccc_conventions.rb +++ b/lib/ccc_conventions.rb | |||
| @@ -52,4 +52,14 @@ module CccConventions | |||
| 52 | hint: "Automatically created under the Chaostreffs overview page, gets tag \"chaostreff-detail\", and uses the chapter detail template." | 52 | hint: "Automatically created under the Chaostreffs overview page, gets tag \"chaostreff-detail\", and uses the chapter detail template." |
| 53 | } | 53 | } |
| 54 | }.freeze | 54 | }.freeze |
| 55 | |||
| 56 | # Tags whose aggregates are forced into a subtree. Editors may apply any | ||
| 57 | # tag anywhere, but a page tagged "update" outside /updates will never | ||
| 58 | # appear in the front-page widget or the RSS feed, because every aggregate | ||
| 59 | # over that tag is scoped here rather than in the shortcode. | ||
| 60 | TAG_SCOPES = { | ||
| 61 | "update" => "updates", | ||
| 62 | "pressemitteilung" => "updates", | ||
| 63 | "disclosure" => "disclosure" | ||
| 64 | }.freeze | ||
| 55 | end | 65 | end |
