asciidoctor-accelerated-mobile-pages 0.1.3.pre → 0.1.4.pre

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d39c87320d744e982c3351afda3d84dd6f71c18e
4
- data.tar.gz: f9b684dc0d2b18499fcccf33f729d80fbfba41d4
3
+ metadata.gz: 2c744fd6e4180a37a72e41281eb36d1592fad395
4
+ data.tar.gz: c86b0237e79a8c90716c2cbec215a684a1146502
5
5
  SHA512:
6
- metadata.gz: 1230edd628ff92fb2af53ff0470f6a1a876d277a30279bcf1b2aee9567ffce5bfc7f50802e79fe2bcab9e7e1d29bcb4098c0ece5d01886b419c67fb8aee2e5d6
7
- data.tar.gz: ac094cd4b16fcdb74eb391ba1dece4e221ea557f99fe111fb3800c5849a5d8950d7bf593adaed65e156edee25bcfac1c3eddd644e35a84b6ee1417983bc511cf
6
+ metadata.gz: ffb9b784907de97e1797592abc9aab3738f4af7b5f79f7b4d57c2908a2f8d76684b625a18204d8babed62123da4ffae9dd733e3a8e719b6e5a7cecc7d64bf446
7
+ data.tar.gz: 119d18c6d17b8f42e1681fd9c6868639dde38b40d71d65d520a828e16ada7dbbbcf33cce0f350290e3d14f589e9f874b50563c06af26ab489993bf22a00d8919
@@ -1,5 +1,5 @@
1
1
  module Asciidoctor
2
2
  module AcceleratedMobilePages
3
- VERSION = '0.1.3.pre'
3
+ VERSION = '0.1.4.pre'
4
4
  end
5
5
  end
@@ -15,6 +15,6 @@
15
15
  a.image href=(attr :link)
16
16
  amp-img src=image_uri(attr :target) alt=(attr :alt) width=(width) height=(height) style=((attr? :background) ? "background: #{attr :background}" : nil)
17
17
  - else
18
- amp-img src=image_uri(attr :target) alt=(attr :alt) width=(width||=1024) height=(height||=768) style=((attr? :background) ? "background: #{attr :background}" : nil)
18
+ amp-img src=image_uri(attr :target) alt=(attr :alt) width=(width||=320) height=(height||=240) style=((attr? :background) ? "background: #{attr :background}" : nil)
19
19
  - if title?
20
20
  .title=captioned_title
@@ -3,7 +3,7 @@ html lang="en" amp=""
3
3
  head
4
4
  meta charset="utf-8"
5
5
  script async="" src="https://cdn.ampproject.org/v0.js"
6
- title Hello, AMPs
6
+ title=(doctitle(sanitize: true, use_fallback: true) || (attr 'untitled-label'))
7
7
  link rel="canonical" href="https://fb.cloudhomez.com/articles/1"
8
8
  / link rel="canonical" href=request.original_url.gsub('/amp', '')
9
9
  meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciidoctor-accelerated-mobile-pages
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3.pre
4
+ version: 0.1.4.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fritz Lee