Skip to content

Commit

Permalink
tagcloud: update README.md
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Sep 8, 2018
1 parent cd690bb commit 39a71c0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions v8/tagcloud/README.md
@@ -1,9 +1,10 @@
This plugin generates data in JSON format, for use by tag clouds. This used to be in core before v8 as an optional feature.

The data is a dictionary. Keys are tags, values are lists of dictionaries that contain: `title` (in default
language), `date` (m/d/Y), `isodate` (ISO 8601) and `url` (in default lang).

Data is saved into `output/assets/js/tag_cloud_data.json`. Sample:

```json
{"blog": [1, "/categories/blog/", {"posts": [{"date": "03/30/2012", "isodate": "2012-03-30T23:00:00-03:00", "title": "Welcome to Nikola", "url": "/posts/welcome-to-nikola/"}]}]}```
{"blog": [1, "/categories/blog/", {"posts": [{"date": "03/30/2012", "isodate": "2012-03-30T23:00:00-03:00", "title": "Welcome to Nikola", "url": "/posts/welcome-to-nikola/"}]}]}
````

(Note: this plugin does *not* provide any front-end features, you’ll need to
take care of that yourself.)

0 comments on commit 39a71c0

Please sign in to comment.