Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 398 for templates (0.05 sec)

  1. docs/es/docs/advanced/templates.md

    ///
    
    ## Escribiendo plantillas
    
    Luego puedes escribir una plantilla en `templates/item.html` con, por ejemplo:
    
    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ### Valores de Contexto de la Plantilla
    
    En el HTML que contiene:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    Registered: 2025-05-25 07:19
    - Last Modified: 2024-12-30 18:26
    - 3.5K bytes
    - Viewed (0)
  2. docs/de/docs/advanced/templates.md

    ///
    
    ## Templates erstellen
    
    Dann können Sie unter `templates/item.html` ein Template erstellen, mit z. B. folgendem Inhalt:
    
    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ### Template-Kontextwerte
    
    Im HTML, welches enthält:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    Registered: 2025-05-25 07:19
    - Last Modified: 2024-11-18 02:25
    - 3.6K bytes
    - Viewed (0)
  3. docs/pt/docs/advanced/templates.md

    ///
    
    ## Escrevendo Templates
    
    Então você pode escrever um template em `templates/item.html`, por exemplo:
    
    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ### Interpolação de Valores no Template
    
    No código HTML que contém:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    Registered: 2025-05-25 07:19
    - Last Modified: 2024-11-18 02:25
    - 3.3K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/templates.md

    ///
    
    ## Writing templates
    
    Then you can write a template at `templates/item.html` with, for example:
    
    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ### Template Context Values
    
    In the HTML that contains:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    Registered: 2025-05-25 07:19
    - Last Modified: 2024-11-18 02:25
    - 3.3K bytes
    - Viewed (0)
  5. docs/zh/docs/advanced/templates.md

    ```jinja hl_lines="4"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    本例中,它将链接到 `static/styles.css`中的CSS文件:
    
    ```CSS hl_lines="4"
    {!../../docs_src/templates/static/styles.css!}
    ```
    
    因为使用了 `StaticFiles`, **FastAPI** 应用会自动提供位于 URL `/static/styles.css`的 CSS 文件。
    
    ## 更多说明
    
    Registered: 2025-05-25 07:19
    - Last Modified: 2024-11-18 02:25
    - 2.7K bytes
    - Viewed (0)
  6. docs/em/docs/advanced/templates.md

    ```jinja hl_lines="4"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    👉 🖼, ⚫️ 🔜 🔗 🎚 📁 `static/styles.css` ⏮️:
    
    ```CSS hl_lines="4"
    {!../../docs_src/templates/static/styles.css!}
    ```
    
    & ↩️ 👆 ⚙️ `StaticFiles`, 👈 🎚 📁 🔜 🍦 🔁 👆 **FastAPI** 🈸 📛 `/static/styles.css`.
    
    ## 🌅 ℹ
    
    Registered: 2025-05-25 07:19
    - Last Modified: 2024-11-18 02:25
    - 2.1K bytes
    - Viewed (0)
  7. docs/ko/docs/advanced/templates.md

    ```
    
    </div>
    
    ## 사용하기 `Jinja2Templates`
    
    * `Jinja2Templates`를 가져옵니다.
    * 나중에 재사용할 수 있는 `templates` 객체를 생성합니다.
    * 템플릿을 반환할 경로 작업에 `Request` 매개변수를 선언합니다.
    * 생성한 `templates`를 사용하여 `TemplateResponse`를 렌더링하고 반환합니다. 템플릿의 이름, 요청 객체 및 Jinja2 템플릿 내에서 사용될 키-값 쌍이 포함된 "컨텍스트" 딕셔너리도 전달합니다.
    
    
    ```Python hl_lines="4  11  15-18"
    {!../../docs_src/templates/tutorial001.py!}
    ```
    
    /// note | 참고
    
    Registered: 2025-05-25 07:19
    - Last Modified: 2024-12-09 13:07
    - 3.7K bytes
    - Viewed (0)
  8. manifests/charts/istio-control/istio-discovery/templates/istiod-injector-configmap.yaml

        templates:
    {{- if not (hasKey .Values.sidecarInjectorWebhook.templates "sidecar") }}
          sidecar: |
    {{ .Files.Get "files/injection-template.yaml" | trim | indent 8 }}
    {{- end }}
    {{- if not (hasKey .Values.sidecarInjectorWebhook.templates "gateway") }}
          gateway: |
    {{ .Files.Get "files/gateway-injection-template.yaml" | trim | indent 8 }}
    {{- end }}
    {{- if not (hasKey .Values.sidecarInjectorWebhook.templates "grpc-simple") }}
    Registered: 2025-05-28 22:53
    - Last Modified: 2025-04-15 19:57
    - 3.6K bytes
    - Viewed (0)
  9. manifests/charts/istio-control/istio-discovery/values.yaml

        templates: {}
    
        # Default templates specifies a set of default templates that are used in sidecar injection.
        # By default, a template `sidecar` is always provided, which contains the template of default sidecar.
        # To inject other additional templates, define it using the `templates` option, and add it to
        # the default templates list.
        # For example:
        #
    Registered: 2025-05-28 22:53
    - Last Modified: 2025-04-15 15:45
    - 22.1K bytes
    - Viewed (0)
  10. helm-releases/minio-3.6.4.tgz

    include (print $.Template.BasePath "/_helper_create_user.txt") . | indent 4 }} add-policy: |- {{ include (print $.Template.BasePath "/_helper_create_policy.txt") . | indent 4 }} {{- range $idx, $policy := .Values.policies }} # {{ $policy.name }} policy_{{ $idx }}.json: |- {{ include (print $.Template.BasePath "/_helper_policy.tpl") . | indent 4 }} {{ end }} custom-command: |- {{ include (print $.Template.BasePath "/_helper_custom_command.txt") . | indent 4 }} minio/templates/console-ingress.yaml {{- if...
    Registered: 2025-05-25 19:28
    - Last Modified: 2022-04-12 01:30
    - 17.9K bytes
    - Viewed (0)
Back to top