Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 413 for Templates (0.36 seconds)

  1. docs/zh/docs/advanced/templates.md

    **FastAPI** 的 `fastapi.templating` 只是为开发者提供的快捷方式。实际上,绝大多数可用响应都直接继承自 Starlette。`Request` 与 `StaticFiles` 也一样。
    
    ///
    
    ## 编写模板 { #writing-templates }
    
    编写模板 `templates/item.html`,代码如下:
    
    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ### 模板上下文值 { #template-context-values }
    
    在包含如下语句的html中:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 3K bytes
    - Click Count (0)
  2. docs/ja/docs/advanced/templates.md

    ///
    
    ## テンプレートの作成 { #writing-templates }
    
    例えば、`templates/item.html` に次のようなテンプレートを書きます:
    
    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ### テンプレートのコンテキスト値 { #template-context-values }
    
    次のような HTML 内で:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  3. docs/en/docs/reference/templating.md

    # Templating - `Jinja2Templates`
    
    You can use the `Jinja2Templates` class to render Jinja templates.
    
    Read more about it in the [FastAPI docs for Templates](https://fastapi.tiangolo.com/advanced/templates/).
    
    You can import it directly from `fastapi.templating`:
    
    ```python
    from fastapi.templating import Jinja2Templates
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 365 bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/ReleaseToolsPlugin.java

                task.setReleaseNotesIndexTemplate(projectDirectory.file(RESOURCES + "templates/release-notes-index.asciidoc"));
                task.setReleaseNotesIndexFile(projectDirectory.file("docs/reference/release-notes.asciidoc"));
    
                task.setReleaseNotesTemplate(projectDirectory.file(RESOURCES + "templates/release-notes.asciidoc"));
                task.setReleaseNotesFile(
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 24 10:57:02 GMT 2021
    - 4.8K bytes
    - Click Count (0)
  5. helm-releases/minio-3.1.3.tgz

    path: public.crt {{- end }} {{- end }} {{- end -}} minio/templates/configmap.yaml apiVersion: v1 kind: ConfigMap metadata: name: {{ template "minio.fullname" . }} labels: app: {{ template "minio.name" . }} chart: {{ template "minio.chart" . }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} data: initialize: |- {{ include (print $.Template.BasePath "/_helper_create_bucket.txt") . | indent 4 }} add-user: |- {{ include (print $.Template.BasePath "/_helper_create_user.txt") . | indent 4 }}...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sat Sep 18 18:09:59 GMT 2021
    - 14.4K bytes
    - Click Count (0)
  6. helm-releases/minio-3.6.4.tgz

    key: {{ $publicCrt }} path: public.crt {{- end }} {{- end }} {{- end -}} minio/templates/configmap.yaml apiVersion: v1 kind: ConfigMap metadata: name: {{ template "minio.fullname" . }} namespace: {{ .Release.Namespace | quote }} labels: app: {{ template "minio.name" . }} chart: {{ template "minio.chart" . }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} data: initialize: |- {{ include (print $.Template.BasePath "/_helper_create_bucket.txt") . | indent 4 }} add-user: |- {{ include...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Apr 12 01:30:28 GMT 2022
    - 17.9K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/resources/deb/README

    This directory contains templates that work around gradle-ospackage-plugin
    trying to be helpful and adding templates for your os packaging scripts. We
    have relatively nice scripts already so we just override the templates to be
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 242 bytes
    - Click Count (0)
  8. api/maven-api-plugin/pom.xml

                  <version>2.0.0</version>
                  <models>
                    <model>src/main/mdo/plugin.mdo</model>
                  </models>
                  <templates>
                    <template>model.vm</template>
                  </templates>
                  <params>
                    <param>packageModelV4=org.apache.maven.api.plugin.descriptor</param>
                  </params>
                </configuration>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Jun 29 22:37:39 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  9. helm-releases/minio-2.0.1.tgz

    path: public.crt {{- end }} {{- end }} {{- end -}} minio/templates/configmap.yaml apiVersion: v1 kind: ConfigMap metadata: name: {{ template "minio.fullname" . }} labels: app: {{ template "minio.name" . }} chart: {{ template "minio.chart" . }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} data: initialize: |- {{ include (print $.Template.BasePath "/_helper_create_bucket.txt") . | indent 4 }} add-user: |- {{ include (print $.Template.BasePath "/_helper_create_user.txt") . | indent 4 }}...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 31 09:09:09 GMT 2021
    - 13.6K bytes
    - Click Count (0)
  10. helm-releases/minio-3.4.8.tgz

    app: {{ template "minio.name" . }} spec: maxUnavailable: {{ .Values.podDisruptionBudget.maxUnavailable }} selector: matchLabels: app: {{ template "minio.name" . }} {{- end }} minio/templates/post-install-create-bucket-job.yaml {{- if .Values.buckets }} apiVersion: batch/v1 kind: Job metadata: name: {{ template "minio.fullname" . }}-make-bucket-job namespace: {{ .Release.Namespace | quote }} labels: app: {{ template "minio.name" . }}-make-bucket-job chart: {{ template "minio.chart" . }} release: {{...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jan 28 18:33:38 GMT 2022
    - 15.2K bytes
    - Click Count (0)
Back to Top