prettydocs-jekyll 0.0.3 → 0.0.4

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: cbf8d569c1ff7e92dd52a026bba86f60b8c276dd
4
- data.tar.gz: 53aebb778e623cfe637b519e36e328b262f440fa
3
+ metadata.gz: a6f6f71fbc39a666147e1e0cea264f909da0367b
4
+ data.tar.gz: c3c5608e7acf115d7a96139e7eccd7b82385fadb
5
5
  SHA512:
6
- metadata.gz: c77b9822c012a8a05e26018f8d88c795370568652d5543f0c870b8f1e115bd6863340648fd6e25cf8d7ef591de67d901f29dea5749ebe37ef91d7d3df43c8aaf
7
- data.tar.gz: b1b37fec013dfbd344f623baee6a37388d85733a1eee9d09ac8b57f8706cd2e8517a8f1f9094ac9c8fdd9654e54de497519fd9cad1f72a0053ec3b62d21a7e70
6
+ metadata.gz: cf9e8b357e5f6283f79c3e5251bda8f0ca9641e57296b5373df384adf5d1774dc62ce9881e97399a86c8f4842af59ef84cc8c18fdbba820c1a2348f3ce3e9b4f
7
+ data.tar.gz: e68549eadcab308796d801d220db3845b4fe8e99be0152517d8ba8f1b24632e554fe5ed7c9d0c07c3e44d24cec0fac4accf4bc73abb577aac1ccec9f8b8d2748
@@ -4,7 +4,7 @@
4
4
  <ul class="list-inline social-buttons">
5
5
  {% for social_network in social %}
6
6
  <li>
7
- <a href="{{ social_network.url }}" alt="{{ social_network.title }}" target="_blank">
7
+ <a href="{{ social_network.url }}" title="{{ social_network.title }}" target="_blank">
8
8
  <i class="fa {{ social_network.icon }} fa-fw"></i>
9
9
  </a>
10
10
  </li>
@@ -29,7 +29,7 @@
29
29
  {% capture document_menu %}
30
30
  {{ document_menu }}
31
31
  {% if submenu_open %} </li></ul></li>
32
- {% else %} </li></ul>
32
+ {% else %} </li>
33
33
  {% endif %}
34
34
  {% endcapture %}
35
35
  {% endcapture %}
@@ -8,7 +8,7 @@
8
8
  {% for member in section.members %}
9
9
  <div class="bubble row vertical-align">
10
10
  <div class="avatar text-center col-md-2 col-sm-4 col-xs-4">
11
- <a class="center-block" href="" target="_blank">
11
+ <a class="center-block" href="{{ member.url | default: '#' }}" target="_blank">
12
12
  <img class="img-responsive img-circle" src="https://www.gravatar.com/avatar/{{ member.email | remove: ' ' | strip_newlines | downcase | md5 }}" alt="{{ member.name }}"/>
13
13
  </a>
14
14
  </div>
@@ -22,4 +22,4 @@
22
22
  </div>
23
23
  </div>
24
24
  {% endfor %}
25
- </section>
25
+ </section>
@@ -1,6 +1,6 @@
1
1
  {% include _utils/common %}
2
2
  {% for faq in faqs %}
3
- <section id="" class="doc-section">
3
+ <section class="doc-section">
4
4
  <h2 id="{{ faq.section | slugify: 'latin' }}" class="section-title">{{ faq.section }}</h2>
5
5
  {% if faq.questions.size > 0 %}
6
6
  {% for question in faq.questions %}
@@ -0,0 +1,16 @@
1
+ {% if include.items %} {% assign items = include.items %} {% endif %}
2
+ <section class="items-list">
3
+ {% for item in items %}
4
+ <div class="callout-block{% if item.class %} callout-{{ item.class }}{% endif %}">
5
+ <div class="icon-holder">
6
+ <i class="fa {{ item.icon | default: 'fa-bullhorn' }}"></i>
7
+ </div>
8
+ <div class="content">
9
+ {% if item.title %}
10
+ <h4 class="callout-title">{{ item.title }}</h4>
11
+ {% endif %}
12
+ <p>{{ item.content }}</p>
13
+ </div>
14
+ </div>
15
+ {% endfor %}
16
+ </section>
@@ -4,7 +4,7 @@
4
4
  <h1><strong>{{ page.title }}</strong></h1>
5
5
  <h2>Pagina solicitată nu este disponibilă.</h2>
6
6
  <h5>Aruncați o privire peste <a href="http://waitbutwhy.com/2013/11/how-to-beat-procrastination.html" target="_blank">asta</a> dacă doriți să nu mai căutați pagini ce nu există!</h5>
7
- <img class="img-responsive center-block fourofour" src="{{site.baseurl}}/assets/img/labtocat.png" alt="">
7
+ <img class="img-responsive center-block fourofour" src="{{site.baseurl}}/assets/img/labtocat.png">
8
8
  {% include _partials/social-buttons.html %}
9
9
  </div>
10
10
  </div>
@@ -1,4 +1,5 @@
1
1
  {% include _utils/common %}
2
+ {% if include.timeline %}{% assign timeline = include.timeline%}{% endif %}
2
3
  <section class="timeline timeline-line-dotted">
3
4
  {% for item in timeline %}
4
5
  {% if item.type == "event" %}
@@ -12,6 +12,9 @@
12
12
  <small>
13
13
  Ultima actualizare: {{ site.time | date: "%-d" }} {{ month }} {{ site.time | date: "%Y" }} /
14
14
  <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/" title="Conținut licențiat sub termenii Attribution-NonCommercial-ShareAlike 4.0 International">CC</a>
15
+ {% if site.author.website.url != "" %}
16
+ <br/><a href="{{ site.author.website.url }}"{% if site.author.website.title != ""%} title="{{ site.author.website.title}}"{% endif %}>{{ site.author.name }}</a>
17
+ {% endif %}
15
18
  </small>
16
19
  </div>
17
20
  </div>
@@ -3,8 +3,10 @@
3
3
  <div class="container">
4
4
  <div class="branding">
5
5
  <h1 class="logo">
6
- <a href="{{ page.url }}">
7
- <span aria-hidden="true" class="fa {{ general.header.icon }} icon"></span>
6
+ <a href="{{ general.header.url | default: page.url }}">
7
+ {% if general.header.icon %}
8
+ <span aria-hidden="true" class="icon fa {{ general.header.icon }}"></span>
9
+ {% endif %}
8
10
  <span class="text-highlight">{{ general.header.title }}</span>
9
11
  <span class="text">{{ general.header.subtitle }}</span>
10
12
  </a>
@@ -1,20 +1,9 @@
1
1
  ---
2
- layout: default
2
+ layout: page
3
3
  ---
4
- <section class="doc-wrapper">
5
- <div class="container">
6
- <div id="doc-header" class="doc-header text-center">
7
- <h1 class="doc-title">
8
- <span aria-hidden="true" class="icon fa fa-question-circle"></span> {{ page.title | escape }}
9
- </h1>
10
- </div>
11
- <div class="doc-body">
12
- <div class="doc-content">
13
- <div class="content-inner">
14
- {{ content }}
15
- </div>
16
- </div>
17
- {% include _partials/toc.html content=content maximum_level=2 %}
18
- </div>
4
+ <div class="doc-content">
5
+ <div class="content-inner">
6
+ {{ content }}
19
7
  </div>
20
- </section>
8
+ </div>
9
+ {% include _partials/toc.html content=content maximum_level=2 %}
@@ -5,11 +5,14 @@ layout: default
5
5
  <div class="container">
6
6
  <div id="doc-header" class="doc-header text-center">
7
7
  <h1 class="doc-title">
8
- <span aria-hidden="true" class="icon fa fa-{{ page.icon }}"></span> {{ page.title | escape }}
8
+ {% if page.icon %}
9
+ <span aria-hidden="true" class="icon fa {{ page.icon }}"></span>
10
+ {% endif %}
11
+ {{ page.title | escape }}
9
12
  </h1>
10
13
  </div>
11
14
  <div class="doc-body">
12
15
  {{ content }}
13
16
  </div>
14
17
  </div>
15
- </div>
18
+ </section>
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.3
4
+ version: 0.0.4
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-01 00:00:00.000000000 Z
11
+ date: 2018-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -101,6 +101,7 @@ files:
101
101
  - _includes/_sections/cards.html
102
102
  - _includes/_sections/contact.html
103
103
  - _includes/_sections/faqs.html
104
+ - _includes/_sections/items-list.html
104
105
  - _includes/_sections/not-found.html
105
106
  - _includes/_sections/resources.html
106
107
  - _includes/_sections/timeline.html