prettydocs-jekyll 0.0.5 → 0.0.6

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: 54834efe45a834bd39ec4990060e8858e010a4bc
4
- data.tar.gz: 3811f835b1930fd3d4060ea51b5391d3f3a07641
3
+ metadata.gz: bbd230ca23c23928440527f9688e75961f01352c
4
+ data.tar.gz: 8f68f901c9d0b333ff449673c07f0ddc7cada8c5
5
5
  SHA512:
6
- metadata.gz: 3b0133de22b1bd0de48041a3570cde309cc1ee7f5199ddc055594c7b325fe3cce73d2d6e3c28f1ac78d0a3beecc65316e29e1a3bb640c6f5498a76c79139701c
7
- data.tar.gz: 253b82bb60d66c510945ef689196398351210fd87778b76839ee3b8bbadd04825855eaf0e3fd6cbbccd23a2ed18d9936a54db879915c7b2afbf071c0b31de321
6
+ metadata.gz: 1ebe62d28d3be9099787173de672af8a8c149797bb4d5185d7662fb7a81450bfd151b8977b2d54b4e3b378b24832bdcab5e8021fa6a627a16f6d45468d67cecd
7
+ data.tar.gz: 61d6e1d1af90b391ad632bbf84195e07e3c558e8ea4a0b645c23940d2020db47b28f967e53ee71fe635b2a744777967eb4cfe0bd4d29ca96a69e3643689dceb1
@@ -4,18 +4,18 @@ meta:
4
4
  header:
5
5
  title: 'Pretty'
6
6
  subtitle: 'Docs'
7
- icon: 'fa-book'
7
+ icon: 'fas fa-book'
8
8
  tagline: []
9
9
  social:
10
10
  - title: "Github Page"
11
- icon: "fa-github"
11
+ icon: "fab fa-github"
12
12
  url: ""
13
13
  - title: "LinkedIn Profile"
14
- icon: "fa-linkedin"
14
+ icon: "fab fa-linkedin"
15
15
  url: ""
16
16
  - title: "Facebook Page"
17
- icon: "fa-facebook"
17
+ icon: "fab fa-facebook"
18
18
  url: ""
19
19
  - title: "RSS Feed"
20
- icon: "fa-rss"
20
+ icon: "fas fa-rss"
21
21
  url: ""
@@ -4,13 +4,13 @@
4
4
  - title: 'Nunc eleifend'
5
5
  intro: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.'
6
6
  color: 'blue'
7
- icon: 'fa-university'
7
+ icon: 'fas fa-university'
8
8
  url: ''
9
9
 
10
10
  - title: 'Donec at dapibus'
11
11
  intro: 'Sed rutrum rutrum ligula non vehicula.'
12
12
  color: 'pink'
13
- icon: 'fa-book'
13
+ icon: 'fas fa-book'
14
14
  url: ''
15
15
 
16
16
  - title: 'Alte resurse'
@@ -19,17 +19,17 @@
19
19
  - title: 'Resources'
20
20
  intro: 'Cras in nisi ligula.'
21
21
  color: 'green'
22
- icon: 'fa-rss'
22
+ icon: 'fas fa-rss'
23
23
  url: ''
24
24
 
25
25
  - title: 'FAQs'
26
26
  intro: 'Proin eu porttitor elit. Donec vitae nulla felis.'
27
27
  color: 'purple'
28
- icon: 'fa-question'
29
- url: ''
28
+ icon: 'fas fa-question'
29
+ url: '/faqs'
30
30
 
31
31
  - title: 'Contact'
32
32
  intro: 'Pellentesque pharetra elit a leo venenatis, pellentesque feugiat mauris volutpat.'
33
33
  color: 'orange'
34
- icon: 'fa-address-card-o'
35
- url: ''
34
+ icon: 'fas fa-address-card'
35
+ url: '/contact'
@@ -11,14 +11,14 @@
11
11
  email: "alexandru.coman@tss-yonder.com"
12
12
  social:
13
13
  - title: "Github Page"
14
- icon: "fa-github"
14
+ icon: "fab fa-github"
15
15
  url: ""
16
16
  - title: "LinkedIn Profile"
17
- icon: "fa-linkedin"
17
+ icon: "fab fa-linkedin"
18
18
  url: ""
19
19
  - title: "Facebook Page"
20
- icon: "fa-facebook"
20
+ icon: "fab fa-facebook"
21
21
  url: ""
22
22
  - title: "RSS Feed"
23
- icon: "fa-rss"
23
+ icon: "fas fa-rss"
24
24
  url: ""
@@ -2,15 +2,24 @@
2
2
  <article>
3
3
  <header>
4
4
  <h3><a href="{{ post.url | prepend: site.baseurl }} ">{{ post.title }}</a></h3>
5
- <i class="fa fa-user"></i> Autor:
6
- <span itemprop="author" itemscope itemtype="http://schema.org/Person">
7
- <span itemprop="name">{{ post.author }}</span>
8
- </span> |
9
- <i class="fa fa-clock-o"></i> Data:
5
+ Publicat de:
6
+ {% if post.author.first %}
7
+ {% for author in post.author %}
8
+ <i class="fas fa-user"></i>
9
+ <span itemprop="author" itemscope itemtype="http://schema.org/Person">
10
+ <span itemprop="name">{{ author }}</span>
11
+ </span>
12
+ {% endfor %}
13
+ {% else %}
14
+ <span itemprop="author" itemscope itemtype="http://schema.org/Person">
15
+ <span itemprop="name">{{ post.author }}</span>
16
+ </span>
17
+ {% endif %}
18
+ | <i class="fas fa-clock"></i> Data:
10
19
  <time datetime="{{ post.date | date_to_xmlschema }}" itemprop="datePublished">
11
20
  {{ post.date | date: "%-d" }} {{ month }} {{ post.date | date: "%Y" }}
12
21
  </time> |
13
- <i class="fa fa-tags"></i> Categorii:
22
+ <i class="fas fa-tags"></i> Categorii:
14
23
  {% capture container %}resurse/{% endcapture %}
15
24
  {% assign previous = "" %}
16
25
  {% for category in post.categories %}
@@ -26,7 +35,7 @@
26
35
  <div class="content">
27
36
  {% if post.excerpt %}{{ post.excerpt }}{% endif %}
28
37
  <p>
29
- <a class="btn btn-primary btn-cta" href="{{ post.url | prepend: site.baseurl }}"><i class="fa fa-book"></i>Citește mai departe...</a>
38
+ <a class="btn btn-primary btn-cta" href="{{ post.url | prepend: site.baseurl }}"><i class="fas fa-book"></i>Citește mai departe...</a>
30
39
  </p>
31
40
  </div>
32
41
  </article>
@@ -5,7 +5,7 @@
5
5
  {% for social_network in social %}
6
6
  <li>
7
7
  <a href="{{ social_network.url }}" title="{{ social_network.title }}" target="_blank">
8
- <i class="fa {{ social_network.icon }} fa-fw"></i>
8
+ <i class="{{ social_network.icon }} fa-fw"></i>
9
9
  </a>
10
10
  </li>
11
11
  {% endfor %}
@@ -3,15 +3,24 @@
3
3
  <div class="container">
4
4
  <div id="doc-header" class="doc-header text-center">
5
5
  <h1 class="doc-title" itemprop="name headline">
6
- <i class="icon fa fa-paper-plane"></i>
6
+ <i class="icon fas fa-paper-plane"></i>
7
7
  {{ page.title | escape }}
8
8
  </h1>
9
9
  <div class="meta">
10
- Publicat de <i class="fa fa-user"></i>
11
- <span itemprop="author" itemscope itemtype="http://schema.org/Person">
12
- <span itemprop="name">{{ page.author }}</span>
13
- </span>
14
- pe <i class="fa fa-clock-o"></i>
10
+ Publicat de:
11
+ {% if page.author.first %}
12
+ {% for author in page.author %}
13
+ <i class="fas fa-user"></i>
14
+ <span itemprop="author" itemscope itemtype="http://schema.org/Person">
15
+ <span itemprop="name">{{ author }}</span>
16
+ </span>
17
+ {% endfor %}
18
+ {% else %}
19
+ <span itemprop="author" itemscope itemtype="http://schema.org/Person">
20
+ <span itemprop="name">{{ page.author }}</span>
21
+ </span>
22
+ {% endif %}
23
+ pe <i class="fas fa-clock"></i>
15
24
  <time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
16
25
  {{ page.date | date: "%-d" }} {{ month }} {{ page.date | date: "%Y" }}
17
26
  </time>
@@ -9,7 +9,7 @@
9
9
  <div class="item item-{{ card.color }} col-md-4 col-sm-6 col-xs-12 col-centered">
10
10
  <div class="item-inner">
11
11
  <div class="icon-holder">
12
- <span aria-hidden="true" class="icon fa {{ card.icon }}"></span>
12
+ <span aria-hidden="true" class="icon {{ card.icon }}"></span>
13
13
  </div>
14
14
  {% if card.title %}<h3 class="title">{{ card.title }}</h3>{% endif %}
15
15
  {% if card.intro %}<p class="intro">{{ card.intro }}</p>{% endif %}
@@ -14,7 +14,7 @@
14
14
  </div>
15
15
  <div class="text-center col-md-10 col-sm-8 col-xs-8">
16
16
  <h3>{{ member.name }}</h3>
17
- <p><i class="fa fa-envelope fa-fw"></i> {{ member.email }}</p>
17
+ <p><i class="fas fa-envelope fa-fw"></i> {{ member.email }}</p>
18
18
  {% include _partials/social-buttons.html social=member.social %}
19
19
  </div>
20
20
  </div>
@@ -6,7 +6,7 @@
6
6
  {% for question in faq.questions %}
7
7
  <div class="section-block">
8
8
  <h4 id="{{ question.title | slugify: 'latin' }}" class="question">
9
- <i class="fa fa-question-circle"></i> {{ question.title }}
9
+ <i class="fas fa-question-circle"></i> {{ question.title }}
10
10
  {% if question.is_new %}
11
11
  <span class="label label-success">Nouă</span>
12
12
  {% elsif question.was_updated %}
@@ -19,7 +19,7 @@
19
19
  {% else %}
20
20
  <div class="section-block">
21
21
  <h4 class="question">
22
- <i class="fa fa-exclamation-circle"></i>
22
+ <i class="fas fa-exclamation-circle"></i>
23
23
  Nu a fost adresată nici o întrebare în această categorie.
24
24
  </h4>
25
25
  </div>
@@ -3,7 +3,7 @@
3
3
  {% for item in items %}
4
4
  <div class="callout-block{% if item.class %} callout-{{ item.class }}{% endif %}">
5
5
  <div class="icon-holder">
6
- <i class="fa {{ item.icon | default: 'fa-bullhorn' }}"></i>
6
+ <i class="{{ item.icon | default: 'fas fa-bullhorn' }}"></i>
7
7
  </div>
8
8
  <div class="content">
9
9
  {% if item.title %}
@@ -28,19 +28,19 @@
28
28
  <div class="container">
29
29
  <div id="doc-header" class="doc-header text-center">
30
30
  <h1 class="doc-title">
31
- <span aria-hidden="true" class="fa fa-code-fork icon">
31
+ <span aria-hidden="true" class="fas fa-code-branch icon">
32
32
  </span> {{ page.title }}
33
33
  </h1>
34
34
  <div class="meta">
35
35
  {% if page.subcategories.size > 0 %}
36
- <i class="fa fa-tags"></i> Subcategorii:
36
+ <i class="fas fa-tags"></i> Subcategorii:
37
37
  {% for subcategory in page.subcategories %}
38
38
  <a href="{{ subcategory }}">
39
39
  <span class="label label-info">{{ subcategory }}</span>
40
40
  </a>
41
41
  {% endfor %}
42
42
  {% else %}
43
- <i class="fa fa-arrow-left"></i>
43
+ <i class="fas fa-arrow-left"></i>
44
44
  <a href="../">Mergi înapoi..</a>
45
45
  {% endif %}
46
46
  </div>
@@ -6,16 +6,18 @@
6
6
  <div class="timeline-item{% if item.position %} timeline-item-{{ item.position }}{% endif %}">
7
7
  <div class="timeline-point timeline-point-{{ item.point.class | default: 'black' }}">
8
8
  {% if item.point.icon %}
9
- <i class="fa {{ item.point.icon }}"></i>
9
+ <i class="{{ item.point.icon }}"></i>
10
10
  {% endif %}
11
11
  </div>
12
12
  <div class="timeline-event timeline-event-{{ item.class | default: 'primary' }}">
13
13
  <div class="timeline-heading">
14
14
  <h4>{{ item.heading }}</h4>
15
15
  </div>
16
- <div class="timeline-body">
17
- <p>{{ item.body }}</p>
18
- </div>
16
+ {% if item.body%}
17
+ <div class="timeline-body">
18
+ <p>{{ item.body }}</p>
19
+ </div>
20
+ {% endif %}
19
21
  {% if item.footer %}
20
22
  <div class="timeline-footer">
21
23
  <p class="text-right">{{ item.footer }}</p>
@@ -29,7 +31,7 @@
29
31
  {% if item.content %}
30
32
  {{ item.content }}
31
33
  {% elsif item.icon %}
32
- <i class="fa {{ item.icon }}"></i>
34
+ <i class="{{ item.icon }}"></i>
33
35
  {% endif %}
34
36
  </span>
35
37
  </span>
@@ -5,7 +5,7 @@
5
5
  <h1 class="logo">
6
6
  <a href="{{ general.header.url | default: page.url }}">
7
7
  {% if general.header.icon %}
8
- <span aria-hidden="true" class="icon fa {{ general.header.icon }}"></span>
8
+ <span aria-hidden="true" class="icon {{ general.header.icon }}"></span>
9
9
  {% endif %}
10
10
  <span class="text-highlight">{{ general.header.title }}</span>
11
11
  <span class="text">{{ general.header.subtitle }}</span>
data/_layouts/page.html CHANGED
@@ -6,7 +6,7 @@ layout: default
6
6
  <div id="doc-header" class="doc-header text-center">
7
7
  <h1 class="doc-title">
8
8
  {% if page.icon %}
9
- <span aria-hidden="true" class="icon fa {{ page.icon }}"></span>
9
+ <span aria-hidden="true" class="icon {{ page.icon }}"></span>
10
10
  {% endif %}
11
11
  {{ page.title | escape }}
12
12
  </h1>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prettydocs-jekyll
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexandru Coman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-14 00:00:00.000000000 Z
11
+ date: 2018-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll