瀏覽代碼

More info on how to install tag-cloud plugin

Otavio Carneiro 8 年之前
父節點
當前提交
e9e3c79824
共有 1 個文件被更改,包括 27 次插入0 次删除
  1. 27 0
      tag_cloud/README.rst

+ 27 - 0
tag_cloud/README.rst

@@ -3,6 +3,33 @@ tag_cloud
 
 This plugin generates a tag-cloud.
 
+Installation
+------------
+
+In order to use to use this plugin, you have to edit(*) or create(+) the following files::
+
+      blog/
+        ├── pelicanconf.py *
+        ├── content
+        ├── plugins +
+        │     └── tag_cloud.py +
+        └── themes
+              └── mytheme
+                    ├── templates
+                    │      └── base.html *
+                    └── static
+                          └── css
+                               └── style.css *
+
+In **pelicanconf.py** you have to activate the plugin::
+
+    PLUGIN_PATHS = ["plugins"]
+    PLUGINS = ["tag_cloud"]
+
+Into your **plugins** folder, you should add tag_cloud.py (from this repository).
+
+In your theme files, you should change **base.html** to apply formats (and sizes) defined in **style.css**, as specified in "Settings", below.
+
 Settings
 --------