prettydocs-jekyll 0.1.5 → 0.1.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
  SHA256:
3
- metadata.gz: 54307af214fc523c5ee2cc73ba83ee96aac8e48ffd75466ae872ee78b813d00b
4
- data.tar.gz: 19e8f7bee23a2787f36088704819ba5014af04cd38a5cb6e5192136537f74a97
3
+ metadata.gz: 82a18a96b16f0dcfc3f0c64c0d18a72002e3d8f580c39c183ddd1f4423e07499
4
+ data.tar.gz: a3c708582dc6470429c70c3e5b0401c3091cabfe0ad57829689f9a1fc2f6eb4a
5
5
  SHA512:
6
- metadata.gz: af33170329ee30510c5aa70a08a711f689dd3968383befd8fce197d16c658c6a0880ad9f3d49fa14dd859f4de9fb519de3a6fab0128145517035aa10e1ed4385
7
- data.tar.gz: 3482913c6308784f1fb3050783c541c7196577e7a845e31e52953d20e6761fe5d4dac6f547615e0998679a5934233d3297f1ffb3f1cf5af61dd15e02434670c1
6
+ metadata.gz: ddfd2340451226808590031910ee2521ebfe57cda3b0b62ef9277ebcb613f3c1b2572641f27487adac43202e20c90da4ad7db168049438ce9ed27fd9798a1f5d
7
+ data.tar.gz: 51dc3fc9450ace6f2b9da386e80501cc4e2d3e66591c3bdb3f88133c660c048d28977ad43e2fb2b2f8ba556795f29692217cafec2410bfec31acba9e55693340
@@ -1,11 +1,11 @@
1
1
  - title: 'Lorem Ipsum'
2
2
  intro: 'Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit...'
3
3
  cards:
4
- - title: 'Nunc eleifend'
4
+ - title: 'Timeline'
5
5
  intro: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.'
6
6
  color: 'blue'
7
7
  icon: 'fas fa-university'
8
- url: ''
8
+ url: '/timeline'
9
9
 
10
10
  - title: 'Donec at dapibus'
11
11
  intro: 'Sed rutrum rutrum ligula non vehicula.'
@@ -20,7 +20,7 @@
20
20
  intro: 'Cras in nisi ligula.'
21
21
  color: 'green'
22
22
  icon: 'fas fa-rss'
23
- url: ''
23
+ url: '/resurse'
24
24
 
25
25
  - title: 'FAQs'
26
26
  intro: 'Proin eu porttitor elit. Donec vitae nulla felis.'
@@ -3,7 +3,7 @@
3
3
  enabled: true
4
4
  point:
5
5
  class: 'black'
6
- icon: 'fa-star'
6
+ icon: 'fas fa-star'
7
7
  heading: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.'
8
8
  body: >
9
9
  Donec vitae diam a lacus consectetur sagittis ac quis ligula. Sed nec dictum
@@ -17,7 +17,7 @@
17
17
  enabled: true
18
18
  point:
19
19
  class: 'black'
20
- icon: 'fa-star'
20
+ icon: 'fas fa-star'
21
21
  heading: 'Suspendisse eget rhoncus mauris.'
22
22
  body: >
23
23
  Aenean id metus non elit iaculis hendrerit in eu elit. Curabitur dictum,
@@ -1,41 +1,50 @@
1
1
  {% include _utils/month date=post.date %}
2
- <article>
3
- <header>
4
- <h3><a href="{{ post.url | prepend: site.baseurl }} ">{{ post.title }}</a></h3>
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:
19
- <time datetime="{{ post.date | date_to_xmlschema }}" itemprop="datePublished">
20
- {{ post.date | date: "%-d" }} {{ month }} {{ post.date | date: "%Y" }}
21
- </time> |
22
- <i class="fas fa-tags"></i> Categorii:
23
- {% capture container %}resurse/{% endcapture %}
24
- {% assign previous = "" %}
25
- {% for category in post.categories %}
26
- {% if forloop.first == false %}
27
- {% capture container %}{{ container }}{{ previous }}/{% endcapture %}
28
- {% endif %}
29
- {% assign previous = category %}
30
- <a href="{{ site.baseurl }}/{{container}}{{ category }}">
31
- <span class="label label-info">{{ category }}</span>
32
- </a>
33
- {% endfor %}
34
- </header>
35
- <div class="content">
36
- {% if post.excerpt %}{{ post.excerpt }}{% endif %}
37
- <p>
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>
2
+
3
+ <div class="row mb-4">
4
+ <div class="col-md-12">
5
+ <div class="card">
6
+ {% if post.image %}
7
+ <div class="view overlay">
8
+ <a href="{{ post.url | prepend: site.baseurl }}">
9
+ <img src="{{ post.image | prepend: site.baseurl }}" class="card-img-top" alt="">
10
+ </a>
11
+ </div>
12
+ {% endif %}
13
+ <div class="card-body mx-4">
14
+ <h4 class="card-title">
15
+ <strong>{{ post.title }}</strong>
16
+ </h4>
17
+ <hr>
18
+ <p class="dark-grey-text mb-3">
19
+ {% if post.excerpt %}{{ post.excerpt }}{% endif %}
39
20
  </p>
21
+ <p></p>
22
+ <p class="font-small font-weight-bold blue-grey-text mb-1">
23
+ <i class="fas fa-tags"></i> Categorii:
24
+ {% capture container %}resurse/{% endcapture %}
25
+ {% assign previous = "" %}
26
+ {% for category in post.categories %}
27
+ {% if forloop.first == false %}
28
+ {% capture container %}{{ container }}{{ previous }}/{% endcapture %}
29
+ {% endif %}
30
+ {% assign previous = category %}
31
+ <a href="{{ site.baseurl }}/{{container}}{{ category }}">
32
+ <span class="label label-info">{{ category }}</span>
33
+ </a>
34
+ {% endfor %}
35
+ </p>
36
+ <p class="font-small font-weight-bold blue-grey-text mb-1">
37
+ <i class="fas fa-clock"></i> Data:
38
+ <time datetime="{{ post.date | date_to_xmlschema }}" itemprop="datePublished">
39
+ {{ post.date | date: "%-d" }} {{ month }} {{ post.date | date: "%Y" }}
40
+ </time>
41
+ </p>
42
+ <p class="text-right mb-0 text-uppercase dark-grey-text font-weight-bold">
43
+ <a href="{{ post.url | prepend: site.baseurl }}">citește mai mult
44
+ <i class="fas fa-chevron-right" aria-hidden="true"></i>
45
+ </a>
46
+ </p>
47
+ </div>
40
48
  </div>
41
- </article>
49
+ </div>
50
+ </div>
@@ -4,7 +4,7 @@
4
4
  <ul class="list-inline">
5
5
  {% for social_network in social %}
6
6
  <li class="list-inline-item">
7
- <a class="btn btn-block" href="{{ social_network.url }}" title="{{ social_network.title }}" target="_blank">
7
+ <a class="btn-floating btn-lg btn-tw" href="{{ social_network.url }}" title="{{ social_network.title }}" target="_blank">
8
8
  <i class="fab {{ social_network.icon }}"></i>
9
9
  </a>
10
10
  </li>
@@ -13,16 +13,14 @@
13
13
  {% assign header_id = header | split: 'id="' | last | split: '"' | first %}
14
14
  {% capture document_menu %}
15
15
  {{ document_menu }}
16
- {% if previous_level == level %}
17
- </nav>
18
- {% elsif previous_level < level %}
16
+ {% if previous_level < level %}
19
17
  {% assign submenu_open = true %}
20
18
  <nav class="doc-sub-menu nav flex-column">
21
19
  {% elsif previous_level > level %}
22
20
  {% assign submenu_open = false %}
23
21
  </nav>
24
22
  {% endif %}
25
- <a class="nav-link scrollto" href="#{{ header_id | downcase | uri_escape }}">{{ content }}</a>
23
+ <a class="nav-link scroll" href="#{{ header_id | downcase | uri_escape }}">{{ content }}</a>
26
24
  {% assign previous_level = level | times: 1 %}
27
25
  {% endcapture %}
28
26
  {% endfor %}
@@ -38,6 +36,7 @@
38
36
  <div class="doc-sidebar col-md-3 col-12 order-0 d-none d-md-flex">
39
37
  <div id="doc-nav" class="doc-nav">
40
38
  <nav id="doc-menu" class="nav doc-menu flex-column sticky">
39
+ <a class="nav-link">Cuprins</span>
41
40
  {{ document_menu | strip }}
42
41
  </nav>
43
42
  </div>
@@ -1,25 +1,33 @@
1
1
  {% include _utils/common %}
2
2
  <section class="cards-section text-center">
3
+ <div class="container">
3
4
  {% for container in cards %}
4
- <div class="cards-container container container-fluid">
5
- {% if container.title %}<h2 class="title">{{ container.title }}</h2>{% endif %}
6
- {% if container.intro %}<div class="intro">{{ container.intro }}</div>{% endif %}
7
- <div class="cards-wrapper row justify-content-md-center">
8
- {% for card in container.cards %}
9
- <div class="item item-{{ card.color }} col-md-4 col-sm-6 col-xs-12 col-centered">
10
- <div class="item-inner">
11
- <div class="icon-holder">
12
- <span aria-hidden="true" class="icon {{ card.icon }}"></span>
13
- </div>
14
- {% if card.title %}<h3 class="title">{{ card.title }}</h3>{% endif %}
15
- {% if card.intro %}<p class="intro">{{ card.intro }}</p>{% endif %}
16
- <a class="link" href="{{ card.url | prepend: site.baseurl }}">
17
- <span></span>
18
- </a>
19
- </div>
20
- </div>
21
- {% endfor %}
22
- </div>
5
+ {% if container.title %}
6
+ <h2 class="title">{{ container.title }}</h2>
7
+ {% endif %}
8
+ {% if container.intro %}
9
+ <div class="intro"><p>{{ container.intro }}</p></div>
10
+ {% endif %}
11
+ <div id="cards-wrapper" class="cards-wrapper row justify-content-md-center">
12
+ {% for card in container.cards %}
13
+ <div class="item item-{{ card.color }} col-lg-4 col-6 col-centered">
14
+ <div class="item-inner">
15
+ <div class="icon-holder">
16
+ <span aria-hidden="true" class="icon {{ card.icon }}"></span>
17
+ </div>
18
+ {% if card.title %}
19
+ <h3 class="title">{{ card.title }}</h3>
20
+ {% endif %}
21
+ {% if card.intro %}
22
+ <p class="intro">{{ card.intro }}</p>
23
+ {% endif %}
24
+ <a class="link" href="{{ card.url | prepend: site.baseurl }}">
25
+ <span></span>
26
+ </a>
27
+ </div>
28
+ </div>
29
+ {% endfor %}
30
+ </div>
23
31
  </div>
24
- {% endfor %}
32
+ {% endfor %}
25
33
  </section>
@@ -10,9 +10,9 @@
10
10
  <div class="avatar text-center col-md-2 col-sm-4 col-xs-4">
11
11
  <a class="center-block" href="{{ member.url | default: '#' }}" target="_blank">
12
12
  {% if member.avatar %}
13
- <img class="img-responsive rounded-circle" src="{{ member.avatar }}" alt="{{ member.name }}"/>
13
+ <img class="img-fluid img-thumbnail rounded-circle" src="{{ member.avatar }}" alt="{{ member.name }}"/>
14
14
  {% else %}
15
- <img class="img-responsive rounded-circle" src="https://www.gravatar.com/avatar/{{ member.email | remove: ' ' | strip_newlines | downcase | md5 }}" alt="{{ member.name }}"/>
15
+ <img class="img-fluid img-thumbnail rounded-circle" src="https://www.gravatar.com/avatar/{{ member.email | remove: ' ' | strip_newlines | downcase | md5 }}" alt="{{ member.name }}"/>
16
16
  {% endif %}
17
17
  </a>
18
18
  </div>
@@ -3,8 +3,12 @@
3
3
  <div class="col-md-10 col-md-offset-1 col-xs-10 col-xs-offset-1">
4
4
  <h1><strong>{{ page.title }}</strong></h1>
5
5
  <h2>Pagina solicitată nu este disponibilă.</h2>
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">
6
+ <h5>
7
+ Aruncați o privire peste
8
+ <a href="http://waitbutwhy.com/2013/11/how-to-beat-procrastination.html" target="_blank">asta</a>
9
+ dacă doriți să nu mai căutați pagini ce nu există!
10
+ </h5>
11
+ <img class="img-responsive center-block fourofour" src="{{ '/assets/images/labtocat.png' | relative_url }}">
8
12
  {% include _partials/social-buttons.html %}
9
13
  </div>
10
14
  </div>
@@ -25,44 +25,52 @@
25
25
  {% endfor %}
26
26
 
27
27
  <section id="resources" class="resources-section doc-wrapper">
28
- <div class="container">
29
- <div id="doc-header" class="doc-header text-center">
30
- <h1 class="doc-title">
31
- <span aria-hidden="true" class="fas fa-code-branch icon">
32
- </span> {{ page.title }}
33
- </h1>
34
- <div class="meta">
35
- {% if page.subcategories.size > 0 %}
36
- <i class="fas fa-tags"></i> Subcategorii:
37
- {% for subcategory in page.subcategories %}
38
- <a href="{{ subcategory }}">
39
- <span class="label label-info">{{ subcategory }}</span>
40
- </a>
41
- {% endfor %}
42
- {% else %}
43
- <i class="fas fa-arrow-left"></i>
44
- <a href="../">Mergi înapoi..</a>
45
- {% endif %}
46
- </div>
47
- </div><!--//doc-header-->
48
- <div class="doc-body">
49
- <div class="doc-content">
50
- <div class="content-inner">
51
- <section id="dashboards" class="doc-section">
52
- <div class="section-block">
53
- <div class="row">
54
- {% if resources.size > 0 %}
55
- {% for post in resources %}
56
- {% include _partials/post.html %}
57
- {% endfor %}
58
- {% else %}
59
- Acest director nu conține nici o resursă.
60
- {% endif %}
61
- </div>
62
- </div>
63
- </section>
64
- </div>
65
- </div>
28
+ <div class="container">
29
+ <div id="doc-header" class="doc-header text-center">
30
+ <h1 class="doc-title">
31
+ <span aria-hidden="true" class="fas fa-code-branch icon">
32
+ </span> {{ page.title }}
33
+ </h1>
34
+ </div>
35
+ <div class="row mt-5 pt-3">
36
+ <div class="col-lg-8 col-12 mt-1 mx-lg-4">
37
+ <section class="section extra-margins pb-3 text-center text-lg-left">
38
+ {% if resources.size > 0 %}
39
+ {% for post in resources %}
40
+ {% include _partials/post.html %}
41
+ {% endfor %}
42
+ {% else %}
43
+ Acest director nu conține nici o resursă.
44
+ {% endif %}
45
+ </section>
46
+ </div>
47
+ <div class="col-lg-3 col-12 mt-1">
48
+ <section class="section mb-2">
49
+ <div class="card card-body pb-0">
50
+ <div class="single-post">
51
+ <p class="font-weight-bold dark-grey-text text-center spacing grey lighten-4 py-2 mb-4">
52
+ <strong>Subcategorii</strong>
53
+ </p>
54
+ <ul class="list-group my-4">
55
+ {% for subcategory in page.subcategories %}
56
+ <li class="list-group-item d-flex justify-content-between align-items-center">
57
+ <a href="{{ subcategory }}">
58
+ <p class="mb-0">{{ subcategory | capitalize }}</p>
59
+ </a>
60
+ <span class="badge teal badge-pill font-small">{{ category[1].size }}</span>
61
+ </li>
62
+ {% else %}
63
+ <li class="list-group-item d-flex justify-content-between align-items-center">
64
+ <a href="../">
65
+ <p class="mb-0">Mergi înapoi...</p>
66
+ </a>
67
+ <span class="badge teal badge-pill font-small">{{ category[1].size }}</span>
68
+ </li>
69
+ {% endfor %}
70
+ </ul>
71
+ </div>
66
72
  </div>
73
+ </section>
67
74
  </div>
75
+ </div>
68
76
  </section>
@@ -1,14 +1,14 @@
1
1
  {% include _utils/month date=site.time %}
2
2
  <footer class="footer text-center">
3
- <div class="container">
3
+ <div class="container-fluid">
4
4
  <div class="row">
5
- <div class="col-md-2 col-xs-6">
5
+ <div class="col-md-2 col-sm-6 col-xs-6">
6
6
  <small class="copyright">
7
7
  Bazat pe <a href="https://github.com/xriley/PrettyDocs-Theme" target="_blank">PrettyDocs</a>,
8
8
  dezvoltat de <a href="http://themes.3rdwavemedia.com/" target="_blank">Xiaoying Riley</a>.
9
9
  </small>
10
10
  </div>
11
- <div class="offset-md-2 col-md-8 col-xs-6">
11
+ <div class="offset-md-2 col-md-4 col-sm-6 col-xs-6">
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>
@@ -6,25 +6,25 @@
6
6
  <meta charset="utf-8">
7
7
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
8
8
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
9
- <link rel="shortcut icon" href="favicon.ico">
9
+
10
10
  {% for meta in general.meta %}
11
11
  <meta name="{{ meta.name }}" lang="{{ meta.lang }}" xml:lang="{{ meta.lang }}" content="{{ meta.content | strip }}" />
12
12
  {% endfor %}
13
- {% if page.url == "/404.html" | prepend: {{site.baseurl}} %}
14
- <meta http-equiv="refresh" content="10; url={{"/" | prepend: site.baseurl }}">
13
+ {% if page.url == "/404.html" | absolute_url %}
14
+ <meta http-equiv="refresh" content="10; url={{ '/' | absolute_url }}">
15
15
  {% endif %}
16
16
 
17
- <link rel="shortcut icon" href="{{ "/assets/images/favicon.ico" | prepend: site.baseurl }}">
17
+ <link rel="shortcut icon" href="{{ "assets/images/favicon.ico" | absolute_url }}">
18
18
  <link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
19
19
 
20
20
  <!-- Global CSS -->
21
- <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
21
+ <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
22
22
 
23
23
  <!-- Plugins CSS -->
24
24
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ekko-lightbox/5.3.0/ekko-lightbox.css">
25
25
 
26
26
  <!-- Theme CSS -->
27
- <link id="theme-style" rel="stylesheet" href="{{ "/assets/css/main.css" | prepend: site.baseurl }}">
27
+ <link id="theme-style" rel="stylesheet" href="{{ "/assets/css/main.css" | absolute_url }}">
28
28
 
29
29
  <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
30
30
  <!--[if lt IE 9]>
@@ -32,12 +32,13 @@
32
32
  <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
33
33
  <![endif]-->
34
34
  <link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
35
- <link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
35
+ <link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | absolute_url }}">
36
36
 
37
37
  <!-- FontAwesome JS -->
38
38
  <script defer src="https://use.fontawesome.com/releases/v5.8.2/js/all.js" integrity="sha384-DJ25uNYET2XCl5ZF++U8eNxPWqcKohUUBUpKGlNLMchM7q4Wjg2CUpjHLaL8yYPH" crossorigin="anonymous"></script>
39
39
 
40
40
  {% if page.highlight or post.highlight %}
41
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/github.min.css" integrity="sha256-3YM6A3pH4QFCl9WbSU8oXF5N6W/2ylvW0o2g+Z6TmLQ=" crossorigin="anonymous" />
41
+ <link rel="stylesheet"
42
+ href="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.17.1/build/styles/default.min.css">
42
43
  {% endif %}
43
44
  </head>
@@ -1,40 +1,40 @@
1
1
  {% include _utils/common %}
2
2
  <header id="header" class="header {% if page.layout == 'landing' %}text-center{% endif %}">
3
- <div class="container">
4
- <div class="branding">
5
- <h1 class="logo">
6
- <a href="{{ general.header.url | default: page.url }}">
7
- {% if general.header.icon %}
8
- <span aria-hidden="true" class="icon {{ general.header.icon }}"></span>
9
- {% endif %}
10
- <span class="text-highlight">{{ general.header.title }}</span>
11
- <span class="text">{{ general.header.subtitle }}</span>
12
- </a>
13
- </h1>
14
- </div>
15
- {% if page.layout == 'landing' %}
16
- <div class="tagline">
17
- {% for tagline in general.header['tagline'] %}
18
- <p>{{ tagline }}</p>
19
- {% endfor %}
20
- </div>
21
- {% else %}
22
- <ol class="breadcrumb">
23
- <li class="breadcrumb-item">
24
- <a href="/{{ site.baseurl }}">Acasă</a>
25
- </li>
26
- {% for resource in resources %}
27
- {% if resource == "" %}{% continue %}{% endif %}
28
- {% assign resource_url = resource_url | append: "/" | append: resource %}
29
- {% if forloop.last == true %}
30
- <li class="breadcrumb-item active">{{ page.title }}</li>
31
- {% else %}
32
- <li class="breadcrumb-item">
33
- <a href="{{ resource_url }}">{{ resource | capitalize }}</a>
34
- </li>
35
- {% endif %}
36
- {% endfor %}
37
- </ol>
38
- {% endif %}
3
+ <div class="container">
4
+ <div class="branding">
5
+ <h1 class="logo">
6
+ <a href="{{ general.header.url | default: page.baseurl | relative_url }}">
7
+ {% if general.header.icon %}
8
+ <span aria-hidden="true" class="icon {{ general.header.icon }}"></span>
9
+ {% endif %}
10
+ <span class="text-highlight">{{ general.header.title }}</span>
11
+ <span class="text">{{ general.header.subtitle }}</span>
12
+ </a>
13
+ </h1>
39
14
  </div>
15
+ {% if page.layout == 'landing' %}
16
+ <div class="tagline">
17
+ {% for tagline in general.header['tagline'] %}
18
+ <p>{{ tagline }}</p>
19
+ {% endfor %}
20
+ </div>
21
+ {% else %}
22
+ <ol class="breadcrumb">
23
+ <li class="breadcrumb-item">
24
+ <a href="{{ '/' | relative_url }}">Acasă</a>
25
+ </li>
26
+ {% for resource in resources %}
27
+ {% if resource == "" %}{% continue %}{% endif %}
28
+ {% assign resource_url = resource_url | append: "/" | append: resource %}
29
+ {% if forloop.last == true %}
30
+ <li class="breadcrumb-item active">{{ page.title }}</li>
31
+ {% else %}
32
+ <li class="breadcrumb-item">
33
+ <a href="{{ resource_url }}">{{ resource | capitalize }}</a>
34
+ </li>
35
+ {% endif %}
36
+ {% endfor %}
37
+ </ol>
38
+ {% endif %}
39
+ </div>
40
40
  </header>
@@ -1,23 +1,22 @@
1
1
  <!-- Boostrap 4.x -->
2
2
  <script
3
- src="http://code.jquery.com/jquery-3.4.1.min.js"
3
+ src="https://code.jquery.com/jquery-3.4.1.min.js"
4
4
  integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="
5
5
  crossorigin="anonymous"></script>
6
- <script
7
- src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"
8
- integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49"
6
+ <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
7
+ integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
9
8
  crossorigin="anonymous"></script>
10
- <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"
11
- integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy"
9
+ <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"
10
+ integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6"
12
11
  crossorigin="anonymous"></script>
13
12
 
14
13
  <!-- 3rd Party libraries -->
15
- <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-scrollTo/2.1.1/jquery.scrollTo.min.js"></script>
16
14
  <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.matchHeight/0.7.2/jquery.matchHeight-min.js"></script>
17
15
  <script src="https://cdnjs.cloudflare.com/ajax/libs/ekko-lightbox/5.3.0/ekko-lightbox.min.js"></script>
18
16
  <script src="https://cdnjs.cloudflare.com/ajax/libs/stickyfill/2.1.0/stickyfill.min.js" integrity="sha256-Duz0kSQfOd2hKIZtlmd8xYuqQlAKEEJnSPYYSfLarVQ=" crossorigin="anonymous"></script>
17
+
19
18
  {% if page.highlight or post.highlight %}
20
- <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.10/highlight.min.js" integrity="sha256-1zu+3BnLYV9LdiY85uXMzii3bdrkelyp37e0ZyTAQh0=" crossorigin="anonymous"></script>
19
+ <script src="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.17.1/build/highlight.min.js"></script>
21
20
  <script>hljs.initHighlightingOnLoad();</script>
22
21
  {% endif %}
23
22
 
@@ -9,10 +9,10 @@
9
9
  {% else %} {% assign icon = "fas fa-search-plus" %}
10
10
  {% endif %}
11
11
  <div class="screenshot-holder text-center">
12
- <a href="{{ picture | prepend: site.baseurl }}" data-title="{{ include.title }}" data-toggle="lightbox">
13
- <img class="{{ class }}" src="{{ thumbnail | prepend: site.baseurl }}" alt="{{ include.title }}">
12
+ <a href="{{ picture | absolute_url }}" data-title="{{ include.title }}" data-toggle="lightbox">
13
+ <img class="{{ class }}" src="{{ thumbnail | absolute_url }}" alt="{{ include.title }}">
14
14
  </a>
15
- <a class="mask" href="{{ picture | prepend: site.baseurl }}" data-title="{{ include.title }}" data-toggle="lightbox">
15
+ <a class="mask" href="{{ picture | absolute_url }}" data-title="{{ include.title }}" data-toggle="lightbox">
16
16
  <span class="icon {{ icon }}"></span>
17
17
  </a>
18
18
  </div>
@@ -5,13 +5,12 @@ layout: default
5
5
  <div class="doc-wrapper">
6
6
  <div class="container">
7
7
  <div id="doc-header" class="doc-header text-center">
8
- <h1 class="doc-title" itemprop="name headline">
9
- <i class="icon {{ page.icon | default: "fas fa-paper-plane" }}"></i>
10
- {{ page.title | escape }}
8
+ <h1 class="doc-title">
9
+ <span aria-hidden="true" class="{{ page.icon | default: 'fas fa-paper-plane' }}"></span>
10
+ {{ page.title }}
11
11
  </h1>
12
12
  {% if page.author %}
13
13
  <div class="meta">
14
- Publicat de:
15
14
  {% if page.author.first %}
16
15
  {% for author in page.author %}
17
16
  <i class="fas fa-user"></i>
@@ -24,14 +23,15 @@ layout: default
24
23
  <span itemprop="name">{{ page.author }}</span>
25
24
  </span>
26
25
  {% endif %}
27
- pe <i class="fas fa-clock"></i>
28
- <time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
29
- {{ page.date | date: "%-d" }} {{ month }} {{ page.date | date: "%Y" }}
30
- </time>
26
+ <br>
27
+ <i class="fas fa-clock"></i>
28
+ <time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
29
+ {{ page.date | date: "%-d" }} {{ month }} {{ page.date | date: "%Y" }}
30
+ </time>
31
31
  </div>
32
32
  {% endif %}
33
33
  </div><!--//doc-header-->
34
- <div class="doc-body row">
34
+ <div id="showcase" class="doc-body row">
35
35
  <div class="doc-content col-md-9 col-12 order-1">
36
36
  <div class="content-inner">
37
37
  {{ content }}
@@ -198,7 +198,7 @@ select {
198
198
  }
199
199
  }
200
200
  .branding {
201
- text-transform: uppercase;
201
+ /* text-transform: uppercase; */
202
202
  margin-bottom: 10px;
203
203
 
204
204
  .logo {
@@ -9,7 +9,7 @@
9
9
  }
10
10
  }
11
11
  .branding {
12
- text-transform: uppercase;
12
+ /* text-transform: uppercase; */
13
13
  margin-bottom: 20px;
14
14
  .logo {
15
15
  font-size: 38px;
@@ -25,7 +25,7 @@
25
25
  color: $color-primary;
26
26
  }
27
27
  }
28
-
28
+
29
29
  .tagline {
30
30
  font-weight: 600;
31
31
  font-size: 20px;
@@ -39,15 +39,15 @@
39
39
  color: darken($color-primary, 20%);
40
40
  }
41
41
  }
42
-
42
+
43
43
  .fa-heart {
44
44
  color: $color-pink;
45
45
  }
46
-
46
+
47
47
  .cta-container {
48
48
  margin-top: 30px;
49
49
  }
50
-
50
+
51
51
  .social-container {
52
52
 
53
53
  .twitter-tweet {
@@ -60,13 +60,13 @@
60
60
  display: inline-block;
61
61
  }
62
62
  }
63
-
63
+
64
64
  }
65
65
 
66
66
  .cards-section {
67
67
  padding: 60px 0;
68
68
  background: $smoky-grey;
69
-
69
+
70
70
  .title {
71
71
  margin-top: 0;
72
72
  margin-bottom: 15px;
@@ -86,7 +86,7 @@
86
86
  }
87
87
  .item {
88
88
  margin-bottom: 30px;
89
-
89
+
90
90
  .icon-holder {
91
91
  margin-bottom: 15px;
92
92
  }
@@ -100,7 +100,7 @@
100
100
  .intro {
101
101
  margin-bottom: 15px;
102
102
  }
103
-
103
+
104
104
  }
105
105
  .item-inner {
106
106
  padding: 45px 30px;
@@ -109,9 +109,9 @@
109
109
  border: 1px solid $divider;
110
110
  @include border-radius(4px);
111
111
  height: 100%;
112
-
112
+
113
113
  .link {
114
- position:absolute;
114
+ position:absolute;
115
115
  width:100%;
116
116
  height:100%;
117
117
  top:0;
@@ -119,13 +119,13 @@
119
119
  z-index: 1;
120
120
  background-image: url("../images/empty.gif"); /* for IE8 */
121
121
  }
122
-
122
+
123
123
  &:hover {
124
124
  background: $smoky-white;
125
125
  }
126
-
126
+
127
127
  }
128
-
128
+
129
129
  .item-primary {
130
130
  .item-inner {
131
131
  border-top: 3px solid $color-primary;
@@ -138,9 +138,9 @@
138
138
  .icon {
139
139
  color: $color-primary;
140
140
  }
141
-
141
+
142
142
  }
143
-
143
+
144
144
  .item-green {
145
145
  .item-inner {
146
146
  border-top: 3px solid $color-green;
@@ -153,9 +153,9 @@
153
153
  .icon {
154
154
  color: $color-green;
155
155
  }
156
-
156
+
157
157
  }
158
-
158
+
159
159
  .item-blue {
160
160
  .item-inner {
161
161
  border-top: 3px solid $color-blue;
@@ -238,7 +238,7 @@
238
238
 
239
239
 
240
240
  // Small devices (landscape phones, less than 768px)
241
- @media (max-width: 767.98px) {
241
+ @media (max-width: 767.98px) {
242
242
  .cards-section .item-inner {
243
243
  padding: 30px 15px;
244
244
  }
@@ -252,7 +252,7 @@
252
252
  }
253
253
 
254
254
  // Medium devices (tablets, 768px and up)
255
- @media (min-width: 768px) {
255
+ @media (min-width: 768px) {
256
256
  .main-search-box .search-form .search-input {
257
257
  width: 560px;
258
258
  }
@@ -9,14 +9,6 @@ $(document).ready(function() {
9
9
  /* Activate scrollspy menu */
10
10
  $('body').scrollspy({target: '#doc-menu', offset: 100});
11
11
 
12
- /* Smooth scrolling */
13
- $('a.scrollto').on('click', function(e){
14
- //store hash
15
- var target = this.hash;
16
- e.preventDefault();
17
- $('body').scrollTo(target, 800, {offset: 0, 'axis':'y'});
18
-
19
- });
20
12
 
21
13
  /* Bootstrap lightbox */
22
14
  /* Ref: http://ashleydw.github.io/lightbox/ */
@@ -26,4 +18,13 @@ $(document).ready(function() {
26
18
  $(this).ekkoLightbox();
27
19
  });
28
20
 
21
+ let scroll_link = $('.scroll');
22
+ scroll_link.click(function(e){
23
+ e.preventDefault();
24
+ let url = $('body').find($(this).attr('href')).offset().top;
25
+ $('html, body').animate({scrollTop: url }, 700);
26
+ $(this).parent().addClass('active');
27
+ $(this).parent().siblings().removeClass('active');
28
+ return false;
29
+ });
29
30
  });
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prettydocs-jekyll
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.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: 2019-12-11 00:00:00.000000000 Z
11
+ date: 2019-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 2.1.2
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 2.1.2
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: jekyll
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -25,19 +39,19 @@ dependencies:
25
39
  - !ruby/object:Gem::Version
26
40
  version: '4.0'
27
41
  - !ruby/object:Gem::Dependency
28
- name: bundler
42
+ name: html-proofer
29
43
  requirement: !ruby/object:Gem::Requirement
30
44
  requirements:
31
45
  - - "~>"
32
46
  - !ruby/object:Gem::Version
33
- version: 2.0.2
47
+ version: 3.15.0
34
48
  type: :development
35
49
  prerelease: false
36
50
  version_requirements: !ruby/object:Gem::Requirement
37
51
  requirements:
38
52
  - - "~>"
39
53
  - !ruby/object:Gem::Version
40
- version: 2.0.2
54
+ version: 3.15.0
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: jekyll-paginate
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -52,6 +66,20 @@ dependencies:
52
66
  - - "~>"
53
67
  - !ruby/object:Gem::Version
54
68
  version: '1.1'
69
+ - !ruby/object:Gem::Dependency
70
+ name: jekyll-redirect-from
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.15.0
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.15.0
55
83
  - !ruby/object:Gem::Dependency
56
84
  name: jekyll-sitemap
57
85
  requirement: !ruby/object:Gem::Requirement
@@ -80,6 +108,20 @@ dependencies:
80
108
  - - "~>"
81
109
  - !ruby/object:Gem::Version
82
110
  version: 0.0.3
111
+ - !ruby/object:Gem::Dependency
112
+ name: jemoji
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: 0.11.1
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: 0.11.1
83
125
  description: PrettyDocs-Jekyll is a free project documentation theme designed for
84
126
  developers & startups.
85
127
  email:
@@ -159,6 +201,7 @@ files:
159
201
  - assets/css/shower.scss
160
202
  - assets/images/empty.gif
161
203
  - assets/images/favicon.ico
204
+ - assets/images/labtocat.png
162
205
  - assets/js/main.js
163
206
  homepage: https://github.com/tss-yonder/prettydocs-jekyll
164
207
  licenses: