blob: 9995027a0897b6c63239cd13f429e2359d538407 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
---
const commitSha =
import.meta.env.CF_PAGES_COMMIT_SHA || import.meta.env.COMMIT_SHA;
const repositoryUrl = "https://github.com/getchoo/website";
---
<footer class="footer footer-center footer-horizontal">
<aside>
<p>
{
commitSha && (
<p>
Site version
<a href={`${repositoryUrl}/commit/${commitSha}`}>
{commitSha.substring(0, 7)}
</a>
.
</p>
)
}
Content is All Rights Reserved.
<br />
The <a href={repositoryUrl}>source code</a> is available under the <a
href="https://spdx.org/licenses/MIT.html">MIT License</a
>.
</p>
</aside>
</footer>
|