github.com/dahs81/otto@v0.2.1-0.20160126165905-6400716cf085/website/source/docs/apps/custom/template.html.md (about)

     1  ---
     2  layout: "app_custom"
     3  page_title: "Templates - Custom App Type"
     4  sidebar_current: "docs-custom-template"
     5  description: |-
     6    Some of the configurations for the custom app type are rendered as templates.
     7    This page documents some of the variables available for templates as well
     8    as the basic syntax.
     9  ---
    10  
    11  # Templates
    12  
    13  Some of the configurations for the custom app type are rendered as templates.
    14  This page documents some of the variables available for templates as well
    15  as the basic syntax.
    16  
    17  ## Syntax
    18  
    19  The syntax of templates in Otto is the
    20  [Django templating syntax](https://docs.djangoproject.com/en/1.8/topics/templates/#the-django-template-language).
    21  
    22  ## Available Variables
    23  
    24    * `name` (string) - Name of the application.
    25    * `dev_ip_address` (string) - IPv4 address allocated for this development
    26        environment.
    27    * `path.working` (string) - Directory where the Appfile is.
    28    * `path.compiled` (string) - Directory where the compiled data for the
    29        Appfile is.