asciidoctor-instant-articles 0.1.1.pre → 0.1.2.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: 26a87d4d0944fad054f18d6524312431053bd7f3
4
- data.tar.gz: 294b3865967b8b5087f1ed2d6f4d5c1c7de1d635
3
+ metadata.gz: 2f17f5823b98d980bbd3514eab747e9c68676cb9
4
+ data.tar.gz: ba5c3f2d2f4989e8c61d9bbf6a2eb7ae4a7e42c7
5
5
  SHA512:
6
- metadata.gz: f2c8988661e509622db022987dfe4a30d96356540a6fd9059d1525f6fc526d4491ee40969c947ad1d13021d242251de13b9859b16314f100d0f733de4dc95532
7
- data.tar.gz: 511d666a90cc8ecbb0e751e5c0950f812b5c77d7e710985fc6501433288028092c1a76c3cca189c28912fa1f5b06416f7d7192ac0a54d0e208abae9884a26596
6
+ metadata.gz: f95858b0b9c00ef415d4aa09d29c9ff7f9e374e8a5493ec6e92b2a66364fb900efd342b87bc387c46781fc3eebd6d6949fcf826218906d9289f783690f03e944
7
+ data.tar.gz: 55778eb10e1629991f242faa86c72cd72a2f83a76f6cefeb7cda246173c429c60d0eaad166616702c3b4221ebc3b35e1c28e23b4c51a62ecdd594c3a11fffce7
@@ -1,5 +1,5 @@
1
1
  module Asciidoctor
2
2
  module InstantArticles
3
- VERSION = '0.1.1.pre'
3
+ VERSION = '0.1.2.pre'
4
4
  end
5
5
  end
@@ -0,0 +1 @@
1
+ p content
@@ -8,8 +8,9 @@ html lang=(attr :lang, 'en' unless attr? :nolang)
8
8
  body
9
9
  article
10
10
  header
11
- figure
12
- img src="https://fb.cloudhomez.com/talk-bubble-1964578_1920.jpg" alt="" title="" layout="responsive" width="720" height="480"
11
+ - if (attr :header_image)
12
+ figure
13
+ img src="#{(attr :header_image)}" alt="" title="" layout="responsive" width="720" height="480"
13
14
  address=(attr :author)
14
15
  time class="op-modified" datetime="#{attr :docdatetime}" = attr :docdatetime
15
16
  time class="op-published" datetime="2017-02-27T23:52:05-08:00" 2017-02-27T23:52:05-08:00
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciidoctor-instant-articles
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1.pre
4
+ version: 0.1.2.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fritz Lee
@@ -79,8 +79,8 @@ files:
79
79
  - lib/asciidoctor-instant-articles.rb
80
80
  - lib/asciidoctor-instant-articles/converter.rb
81
81
  - lib/asciidoctor-instant-articles/version.rb
82
- - templates/erb/document.html.erb
83
82
  - templates/slim/block_image.html.slim
83
+ - templates/slim/block_paragraph.html.slim
84
84
  - templates/slim/document.html.slim
85
85
  - templates/slim/inline_image.html.slim
86
86
  homepage: https://github.com/askagirl/asciidoctor-instant-articles
@@ -1,20 +0,0 @@
1
- <%#encoding:UTF-8%><!DOCTYPE html>
2
- <html lang="en" prefix=("op: http://media.facebook.com/op#")>
3
- <head>
4
- <meta charset="utf-8">
5
- <link href="https://fb.cloudhomez.com/articles/#{article.id}" rel="canonical" />
6
- <title><%= doctitle(:sanitize => true) || (attr 'untitled-label') %></title>
7
- <meta content="default" property="fb:article_style" />
8
- </head>
9
- <body>
10
- <article>
11
- <header>
12
- == article.header
13
- </header>
14
- <%= content %>
15
- <footer>
16
- == article.footer
17
- </footer>
18
- </article>
19
- </body>
20
- </html>