Skip to content
Permalink
Browse files
tagcloud: update README.md
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Sep 8, 2018
1 parent cd690bb commit 39a71c092837752bd8d0a3a3e0c4605cf9f69507
Showing with 5 additions and 4 deletions.
  1. +5 −4 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.