mercurial/helptext/hgweb.txt
changeset 43886 fe0daceb51d0
parent 43632 2e017696181f
equal deleted inserted replaced
43885:ac54b8a2ebea 43886:fe0daceb51d0
    59 
    59 
    60 The web server has a default style associated with it. Styles map to
    60 The web server has a default style associated with it. Styles map to
    61 a collection of named templates. Each template is used to render a
    61 a collection of named templates. Each template is used to render a
    62 specific piece of data, such as a changeset or diff.
    62 specific piece of data, such as a changeset or diff.
    63 
    63 
    64 The style for the current request can be overwritten two ways. First,
    64 The style for the current request can be overridden two ways. First,
    65 if ``{command}`` contains a hyphen (``-``), the text before the hyphen
    65 if ``{command}`` contains a hyphen (``-``), the text before the hyphen
    66 defines the style. For example, ``/atom-log`` will render the ``log``
    66 defines the style. For example, ``/atom-log`` will render the ``log``
    67 command handler with the ``atom`` style. The second way to set the
    67 command handler with the ``atom`` style. The second way to set the
    68 style is with the ``style`` query string argument. For example,
    68 style is with the ``style`` query string argument. For example,
    69 ``/log?style=atom``. The hyphenated URL parameter is preferred.
    69 ``/log?style=atom``. The hyphenated URL parameter is preferred.