Skip to content

Commit e9fb782

Browse files
committed
use the :text attribute wherever it is needed
1 parent dd13277 commit e9fb782

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

layouts/index.shtml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<extend template="base.shtml">
2-
<title id="title" :html="$page.title"></title>
2+
<title id="title" :text="$page.title"></title>
33
<head id="head">
44
<style>
55
h1 {

layouts/page.shtml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<extend template="base.shtml">
2-
<title id="title" :html="$page.title"></title>
2+
<title id="title" :text="$page.title"></title>
33
<head id="head">
44
<style>
55
h1,
@@ -29,7 +29,7 @@
2929
</style>
3030
</head>
3131
<header id="header">
32-
<h1 class="title" :html="$page.title"></h1>
32+
<h1 class="title" :text="$page.title"></h1>
3333
</header>
3434
<main id="content">
3535
<div id="page" :html="$page.content()"></div>

layouts/templates/base.shtml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<super>
1010
- zigtools
1111
</title>
12-
<style :text="$site.asset('style.css').bytes()"></style>
12+
<style :html="$site.asset('style.css').bytes()"></style>
1313
<super>
1414
</head>
1515
<body>

layouts/zls-install.shtml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<extend template="base.shtml">
2-
<title id="title" :html="$page.title"></title>
2+
<title id="title" :text="$page.title"></title>
33
<head id="head">
44
<style>
55
h1,
@@ -175,7 +175,7 @@
175175
</head>
176176
<header id="header">
177177
<div id="header-experimental-warning" :html="$page.contentSection('header-experimental-warning')"></div>
178-
<h1 class="title" :html="$page.title"></h1>
178+
<h1 class="title" :text="$page.title"></h1>
179179
</header>
180180
<main id="content">
181181
<div class="vscode-banner">
@@ -218,7 +218,7 @@
218218
<p>All files are signed with
219219
<a href="https://jedisct1.github.io/minisign/">minisign</a>
220220
using this public key:</p>
221-
<pre><code :html="$page.custom.get('minisign')"></code></pre>
221+
<pre><code :text="$page.custom.get('minisign')"></code></pre>
222222
<table id="prebuilt-binary-table"></table>
223223
<p>Provided by
224224
<a href="https://github.com/zigtools/release-worker">zigtools/release-worker</a></p>

layouts/zls-release.shtml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<extend template="base.shtml">
2-
<title id="title" :html="$page.title"></title>
2+
<title id="title" :text="$page.title"></title>
33
<head id="head">
44
<style>
55
@media (prefers-color-scheme: dark) {
@@ -22,7 +22,7 @@
2222
<a href="/zls/install/index.html">Installation Guide</a>
2323
<a href="https://discord.gg/Jp4DHkqkYs">ZLS Discord</a>
2424
</nav>
25-
<h1 class="title centered" :html="$page.title"></h1>
25+
<h1 class="title centered" :text="$page.title"></h1>
2626
</header>
2727
<main id="content">
2828
<div id="page" :html="$page.content()"></div>

0 commit comments

Comments
 (0)