We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7675032 + 064993b commit 17a015aCopy full SHA for 17a015a
layouts/partials/title.html
@@ -2,8 +2,10 @@
2
3
{{- $title := $page.Title -}}
4
5
+{{/*
6
{{- if eq $page.Type "test" -}}
7
{{- $title = partial "test/title.html" $page -}}
8
{{- end -}}
9
+*/}}
10
11
{{- return $title -}}
layouts/test/single.json.json
@@ -1,11 +1,13 @@
1
{{ $p := .Params }}
{{- $prerequisites := partial "test/collect-prerequisites.html" . -}}
-
+{{- $ctx := partial "resolve-tenant.html" . -}}
+{{- $orgId := $ctx.uuid -}}
{
"id": {{ partial "id.html" . | jsonify }},
"title": {{ partial "test/title.html" . | jsonify }},
+ "org_id": {{ $orgId | jsonify }},
"final": {{ partial "test/is-final.html" . | jsonify }},
12
"description": {{ .Content | plainify | jsonify }},
13
"slug": {{ .Slug | jsonify }},
0 commit comments