This repository has been archived by the owner on Oct 16, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrepost.html
91 lines (79 loc) · 2.26 KB
/
repost.html
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<BOUCLE_(SYNDIC_ARTICLES) { id_syndic_article=#ENV{id} }>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>[(#CONFIG{webmention/author_name})] <:webmention:a_reposte:> “#TITRE”</title>
<style>
body {
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
padding: 0;
margin: 0;
}
.h-entry {
flex: 0 1 33em;
margin: 1.5em;
}
.u-repost-of {
border-bottom: solid #aaa 1px;
margin-bottom: 1em;
}
.e-content {
padding-left: 1em;
border-left: solid #aaa .25em;
margin-left: -1.25em;
}
@media screen and ( max-width: 16.5em ) {
.h-entry {
font-size: calc( .20em + 5vw );
}
.e-content {
margin-left: 0;
}
}
</style>
</head>
<body>
<div class="h-entry">
<div class="h-cite u-repost-of">
<span class="u-author h-card">
[<img
class="u-photo"
src="(#CONFIG{webmention/author_photo})"
width="40"
>]
[<a
class="u-url p-name"
[href="(#CONFIG{webmention/author_url})"]
>(#CONFIG{webmention/author_name})</a>]
</span>
<:webmention:a_reposte:>
<p>
“<a
id="article-#ENV{id}"
class="u-url"
href="#URL"[
lang="(#LANG|=={#ENV{lang}}|?{'',#LANG})"][
title="[(#LESAUTEURS|attribut_html): ](#TITRE|attribut_html)]"
>#TITRE</a>”
</p>
[<blockquote class="e-content">
(#DESCRIPTIF)
</blockquote>]
</div>
[<a
class="u-url"
[href="(#URL_PAGE{repost}|parametre_url{id,#ID_SYNDIC_ARTICLE}|url_absolue)"]
>
<time
class="dt-published"
[datetime="(#DATE|affdate{c})"]
>(#DATE|affdate)</time>
</a>]
</div>
</body>
</html>
</BOUCLE_>