Skip to content

Commit d11c003

Browse files
committedApr 14, 2017
Formatting and spelling fixes in template-variables
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
1 parent 42bd2b8 commit d11c003

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed
 

‎docs/template-variables.rst

+8-8
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Name Type Descript
4646
``blog_title`` TranslatableSetting<str> ``BLOG_TITLE`` setting
4747
``blog_url`` str ``SITE_URL`` setting
4848
``body_end`` TranslatableSetting<str> ``BODY_END`` setting
49-
``colorbox_locales`` defaultdict<str, str> dictionary of avilable Colorbox locales
49+
``colorbox_locales`` defaultdict<str, str> dictionary of available Colorbox locales
5050
``colorize_str_from_base_color`` function ``utils.colorize_str_from_base_color`` function
5151
``color_hsl_adjust_hex`` function ``utils.color_hsl_adjust_hex`` function
5252
``comment_system_id`` str ``COMMENT_SYSTEM_ID`` setting
@@ -76,7 +76,7 @@ Name Type Descript
7676
``mathjax_config`` str ``MATHJAX_CONFIG`` setting
7777
``messages`` dict<dict<str, str>> translated messages (``{language: {english: translated}}``)
7878
``meta_generator_tag`` bool ``META_GENERATOR_TAG`` setting
79-
``momentjs_locales`` defaultdict<str, str> dictionary of avilable Moment.js locales
79+
``momentjs_locales`` defaultdict<str, str> dictionary of available Moment.js locales
8080
``navigation_links`` TranslatableSetting ``NAVIGATION_LINKS`` setting
8181
``needs_ipython_css`` bool whether or not IPython CSS is needed by this site
8282
``posts_sections`` bool ``POSTS_SECTIONS`` setting
@@ -233,10 +233,10 @@ Hierarchy-related variables are available if and only if ``has_hierarchy`` is Tr
233233
Name Type Description
234234
================================================================== ====== ==============================================================================================================================================================================
235235
``<overview_page_variable_name>`` str List of classifications
236-
``<overview_page_items_variable_name>`` list List of items **(name, link)**
237-
``<overview_page_items_variable_name + "_with_postcount">`` list List of items **(name, link, number of posts)**
238-
``<overview_page_hierarchy_variable_name>`` list? List of hierarchies **(name, full name, path, link, indent levels, indent to change before, indent to change after)**
239-
``<overview_page_hierarchy_variable_name + "_with_postcount">`` list? List of hierarchies, with added counts **(name, full name, path, link, indent levels, indent to change before, indent to change after, number of children, number of posts)**
236+
``<overview_page_items_variable_name>`` list List of items *(name, link)*
237+
``<overview_page_items_variable_name + "_with_postcount">`` list List of items *(name, link, number of posts)*
238+
``<overview_page_hierarchy_variable_name>`` list? List of hierarchies *(name, full name, path, link, indent levels, indent to change before, indent to change after)*
239+
``<overview_page_hierarchy_variable_name + "_with_postcount">`` list? List of hierarchies, with added counts *(name, full name, path, link, indent levels, indent to change before, indent to change after, number of children, number of posts)*
240240
``has_hierarchy`` bool Value of ``has_hierarchy`` for the taxonomy
241241
``permalink`` str Permanent link to page
242242
================================================================== ====== ==============================================================================================================================================================================
@@ -354,7 +354,7 @@ Name Type Description
354354
``enable_comments`` bool Whether or not comments are enabled in galleries
355355
``folders`` list List of folders (contains *path, title* tuples)
356356
``permalink`` str Permanent link to this page
357-
``photo_array`` list Photo array (contains dicts with image data: url, url_thumb, title, size{w, h})
357+
``photo_array`` list Photo array (contains dicts with image data: *url, url_thumb, title, size{w, h}*)
358358
``photo_array_json`` str Photo array in JSON format
359359
``post`` Post? The Post object for this gallery
360360
``thumbnail_size`` int ``THUMBNAIL_SIZE`` setting
@@ -421,7 +421,7 @@ Name Type Description
421421
Variables available in post lists
422422
---------------------------------
423423

424-
*The global context is not available in post lists.*
424+
*The global context is NOT available in post lists.*
425425

426426
.. class:: table table-bordered table-striped
427427

0 commit comments

Comments
 (0)
Please sign in to comment.