Skip to content

Commit

Permalink
[doc][s]: Added missing config option.
Browse files Browse the repository at this point in the history
  • Loading branch information
David Read committed Nov 24, 2011
1 parent ddca1a7 commit 8f284e6
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion doc/configuration.rst
Expand Up @@ -535,10 +535,25 @@ Example::

This is a directory where SQL database backups are to be written, assuming a script has been installed to do this.

template_head_end
^^^^^^^^^^^^^^^^^

HTML content to be inserted just before </head> tag (e.g. extra stylesheet)

Example::

ckan.template_head_end = <link rel="stylesheet" href="http://mysite.org/css/custom.css" type="text/css">

You can also have multiline strings. Just indent following lines. e.g.::

ckan.template_head_end =
<link rel="stylesheet" href="/css/extra1.css" type="text/css">
<link rel="stylesheet" href="/css/extra2.css" type="text/css">

template_footer_end
^^^^^^^^^^^^^^^^^^^

HTML content to be inserted just before </body> tag (e.g. google analytics code).
HTML content to be inserted just before </body> tag (e.g. Google Analytics code).

.. note:: can use html e.g. <strong>blah</strong> and can have multiline strings (just indent following lines)

Expand Down

0 comments on commit 8f284e6

Please sign in to comment.