-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscreenshot.html
More file actions
28 lines (28 loc) · 828 Bytes
/
screenshot.html
File metadata and controls
28 lines (28 loc) · 828 Bytes
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
<!-- <pat-screenshot> -->
<figure
class="
pat-screenshot
{% if include.url %}browser-window{% endif %}
{% if include.type %}type-{{ include.type }}{% endif %}"
data-url="{{ include.url }}">
<div
class="pat-auto-scale passe-partout {% if include.cut %}cutout cut-{{ include.cut }}{% endif %}">
<object
data="{{ include.source }}"
id="{{ include.object-id }}">
</object>
</div>
{% if include.caption %}
<figcaption>
{% if include.link %}
<a
class="pat-inject"
data-pat-inject="scroll: top; history: record"
href="{{ include.link }}">{% if include.icon %}<img class="icon" src="{{ include.icon }}"> {% endif %}{{ include.caption }}</a>
{% else %}
{{ include.caption }}
{% endif %}
</figcaption>
{% endif %}
</figure>
<!-- </pat-screenshot> -->