asciidoctor-accelerated-mobile-pages 0.1.2.pre → 0.1.3.pre
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d39c87320d744e982c3351afda3d84dd6f71c18e
|
4
|
+
data.tar.gz: f9b684dc0d2b18499fcccf33f729d80fbfba41d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1230edd628ff92fb2af53ff0470f6a1a876d277a30279bcf1b2aee9567ffce5bfc7f50802e79fe2bcab9e7e1d29bcb4098c0ece5d01886b419c67fb8aee2e5d6
|
7
|
+
data.tar.gz: ac094cd4b16fcdb74eb391ba1dece4e221ea557f99fe111fb3800c5849a5d8950d7bf593adaed65e156edee25bcfac1c3eddd644e35a84b6ee1417983bc511cf
|
@@ -10,12 +10,11 @@
|
|
10
10
|
- height = "100%"
|
11
11
|
|
12
12
|
- unless attr(1) == 'background' || attr(1) == "canvas"
|
13
|
-
figure (id=@id class=roles
|
14
|
-
style=[("text-align: #{attr :align}" if attr? :align),("float: #{attr :float}" if attr? :float)].compact.join('; '))
|
13
|
+
figure (id=@id class=roles)
|
15
14
|
- if attr? :link
|
16
15
|
a.image href=(attr :link)
|
17
16
|
amp-img src=image_uri(attr :target) alt=(attr :alt) width=(width) height=(height) style=((attr? :background) ? "background: #{attr :background}" : nil)
|
18
17
|
- else
|
19
|
-
amp-img src=image_uri(attr :target) alt=(attr :alt) width=(width) height=(height) style=((attr? :background) ? "background: #{attr :background}" : nil)
|
18
|
+
amp-img src=image_uri(attr :target) alt=(attr :alt) width=(width||=1024) height=(height||=768) style=((attr? :background) ? "background: #{attr :background}" : nil)
|
20
19
|
- if title?
|
21
20
|
.title=captioned_title
|