blob: feab7ec638c08c0694af46c99c5ab8510a3abfd8 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
---
import type { Props as BaseProps } from "../CopyrightNotice.astro";
interface Props extends BaseProps {}
let { website, author, email, dateCreated } = Astro.props;
---
<footer itemprop="copyrightNotice">
<p>
<small>
Copyright © <span itemprop="copyrightYear">{
dateCreated.getFullYear()
}</span>
<span
itemprop="copyrightholder"
itemscope
itemtype="https://schema.org/Person"
>{
website ? (
<a
itemprop="url"
rel="author external noreferrer"
target="_blank"
href={website}
content={website}
><span itemprop="name">{author}</span></a>
) : author
}
{
email && (
<><<a
itemprop="email"
rel="author external noreferrer"
target="_blank"
href={`mailto:${email}`}
>{email}</a>></>
)
}</span>
</small>
</p>
<p>
<small>
This work is free. You can redistribute it and/or modify it under the
terms of the Do What The Fuck You Want To Public License, Version 2, as
published by Sam Hocevar. See <a
itemprop="license"
href="http://www.wtfpl.net/"
rel="license noreferrer"
target="_blank"
>http://www.wtfpl.net/</a> for more details.
</small>
</p>
</footer>
|