Преглед изворни кода

Add some NEWS entries and remove the TODO item from hacking.md.

Brit Butler пре 11 година
родитељ
комит
0446b5f919
2 измењених фајлова са 8 додато и 19 уклоњено
  1. 8 0
      NEWS.md
  2. 0 19
      docs/hacking.md

+ 8 - 0
NEWS.md

@@ -7,6 +7,14 @@
7 7
   the old behavior.
8 8
 * Coleslaw no longer expects a particular repo layout. Use whatever
9 9
   directory hierarchy you like.
10
+* New Content Type Plugin: Static Pages, accepting a title, url, and
11
+  optionally tags and a date. All files with a `.page` extension are
12
+  compiled as static pages and reuse the POST template.
13
+  To enable Static Pages, add `(static-pages)` to the `:plugins`
14
+  section of your config.
15
+* Coleslaw now allows content without a date or tags. Note that POSTs
16
+  without a date will still show up in the reverse chronological
17
+  indexes at the very end.
10 18
 
11 19
 ## Changes for 0.9.3 (2013-04-16):
12 20
 

+ 0 - 19
docs/hacking.md

@@ -168,25 +168,6 @@ freshly built site.
168 168
 
169 169
 ## Areas for Improvement
170 170
 
171
-### Allow Tagless or Dateless Content
172
-
173
-Several users have expected to be able to not supply tags or a date
174
-for their content. This is a reasonable expectation and requires
175
-changes to at least the post templates and the `read-content`
176
-function. There may be other areas where it was assumed tags/dates
177
-will always be present.
178
-
179
-### New Content Type: Pages!
180
-
181
-Many users have requested a content type PAGE, for static pages. It
182
-should be a pretty straightforward subclass of CONTENT with the
183
-necessary methods: `render`, `page-url` and `publish`. It could have a
184
-`url` slot with `page-url` as a reader to allow arbitrary layout on
185
-the site.  For now, we can be sloppy and reuse the post template and
186
-limit static-pages to being written in markdown. If we want to support
187
-other formats, consider moving the format slot from POST to CONTENT.
188
-This has been implemented on the branch `static-pages`.
189
-
190 171
 ### New Content Type: Shouts!
191 172
 
192 173
 I've also toyed with the idea of a content type called a SHOUT, which