Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cto
g1
Commits
b7d8058f
Commit
b7d8058f
authored
May 12, 2019
by
Tejesh
🖖
Browse files
update docs, catch promise errors
parent
308efca7
Pipeline
#85555
passed with stage
in 3 minutes and 27 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
docs/template.md
View file @
b7d8058f
...
@@ -45,7 +45,7 @@ You can use subtemplates as follows:
...
@@ -45,7 +45,7 @@ You can use subtemplates as follows:
```
html
```
html
<template
class=
"tmpl-head"
src=
"heading.html"
data-target=
"false"
></template>
<template
class=
"tmpl-head"
src=
"heading.html"
data-target=
"false"
></template>
<template
class=
"main"
data-template-header=
".tmpl-head"
>
<template
class=
"main"
data-template-header=
".tmpl-head"
>
<
%=
head
({
title:
"
Page
title
"})
%
>
<
%=
head
er
({
title:
"
Page
title
"})
%
>
</template>
</template>
<script>
<script>
$
(
'
.main
'
).
template
()
$
(
'
.main
'
).
template
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment