Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
- Loading branch information
Showing
1 changed file
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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.) |