Skip to content

Commit

Permalink
chore: Include <title> only if in the template data
Browse files Browse the repository at this point in the history
  • Loading branch information
gadenbuie committed Jun 28, 2024
1 parent 99c70bf commit b08edea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion export_template/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{{title}}</title>
{{#title}}
<title>{{.}}</title>
{{/title}}
<script
src="./{{REL_PATH}}shinylive/load-shinylive-sw.js"
type="module"
Expand Down

0 comments on commit b08edea

Please sign in to comment.