prettydocs-jekyll 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +5 -5
  2. data/_data/default/faqs.yml +24 -1
  3. data/_data/default/timeline.yml +2 -8
  4. data/_includes/_partials/social-buttons.html +4 -4
  5. data/_includes/_partials/toc.html +10 -9
  6. data/_includes/_sections/blog_post.html +2 -2
  7. data/_includes/_sections/cards.html +1 -1
  8. data/_includes/_sections/contact.html +3 -3
  9. data/_includes/_sections/faqs.html +1 -1
  10. data/_includes/_sections/timeline.html +38 -35
  11. data/_includes/_theme/footer.html +1 -1
  12. data/_includes/_theme/head.html +9 -4
  13. data/_includes/_theme/header.html +7 -3
  14. data/_includes/_theme/js.html +21 -6
  15. data/_layouts/default.html +1 -3
  16. data/_layouts/faqs.html +19 -5
  17. data/_layouts/page.html +17 -13
  18. data/_layouts/post.html +40 -2
  19. data/_sass/prettydocs-jekyll.scss +1 -18
  20. data/_sass/vendor/_prettydocs.scss +47 -0
  21. data/_sass/vendor/prettydocs/_base.scss +343 -0
  22. data/_sass/{partials → vendor/prettydocs}/_doc.scss +250 -24
  23. data/_sass/{partials/_contact.scss → vendor/prettydocs/_extra.scss} +2 -4
  24. data/_sass/{partials/_cards.scss → vendor/prettydocs/_landing.scss} +101 -6
  25. data/_sass/vendor/prettydocs/_mixins.scss +175 -0
  26. data/_sass/vendor/prettydocs/config.codekit3 +2439 -0
  27. data/assets/js/main.js +12 -28
  28. metadata +18 -26
  29. data/_sass/globals/_base.scss +0 -44
  30. data/_sass/globals/_mixins.scss +0 -175
  31. data/_sass/partials/_base.scss +0 -109
  32. data/_sass/partials/_buttons.scss +0 -97
  33. data/_sass/partials/_footer.scss +0 -8
  34. data/_sass/partials/_header.scss +0 -91
  35. data/_sass/partials/_helper.scss +0 -42
  36. data/_sass/partials/_landing.scss +0 -61
  37. data/_sass/partials/_post.scss +0 -32
  38. data/_sass/partials/_resources.scss +0 -10
  39. data/_sass/partials/_toc.scss +0 -163
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 67bde79a627bf286ba18fd40fa8c5b2189206f7f
4
- data.tar.gz: 676c808de5265accba1b1dd8a3b451d9db507ab3
2
+ SHA256:
3
+ metadata.gz: 54307af214fc523c5ee2cc73ba83ee96aac8e48ffd75466ae872ee78b813d00b
4
+ data.tar.gz: 19e8f7bee23a2787f36088704819ba5014af04cd38a5cb6e5192136537f74a97
5
5
  SHA512:
6
- metadata.gz: 1846145bba3297b6a697d63d458aecc6f8ce60acf00a1b6330ee26f2f10f5f14b9bd71a55ae27d1fc4b82ce6ccd54801d3b42c0ba70fc840423a22e42f27ee0c
7
- data.tar.gz: 9fb3509448b6827bd2019d58888e022215e588371dbb4aafd2bc9b2a4d36d5744fc3176045d98812b623e2d929bb4b98d45b7283c20c2b16138e9f84283622dd
6
+ metadata.gz: af33170329ee30510c5aa70a08a711f689dd3968383befd8fce197d16c658c6a0880ad9f3d49fa14dd859f4de9fb519de3a6fab0128145517035aa10e1ed4385
7
+ data.tar.gz: 3482913c6308784f1fb3050783c541c7196577e7a845e31e52953d20e6761fe5d4dac6f547615e0998679a5934233d3297f1ffb3f1cf5af61dd15e02434670c1
@@ -31,7 +31,30 @@
31
31
  sed sem. Sed id lacus tincidunt erat consectetur mattis.
32
32
  Pellentesque in suscipit velit. Nam quis quam ipsum. Ut
33
33
  lacinia magna sit amet nulla condimentum, non sodales
34
- urna finibus. Donec id fringilla est.
34
+ urna finibus. Donec id fringilla est.
35
+ is_new: false
36
+ was_updated: true
37
+
38
+ - title: 'Etiam sed risus vehicula, mollis turpis ac, lobortis libero?'
39
+ answer: >
40
+ Morbi enim elit, imperdiet semper ipsum aliquet, euismod congue magna.
41
+ Curabitur placerat velit a nunc fermentum, a blandit metus cursus.
42
+ Fusce sagittis feugiat semper. Vestibulum purus eros, consectetur
43
+ quis euismod eu, congue nec mauris. In sit amet arcu eros. Phasellus
44
+ aliquet tempus consequat. Vestibulum eu dolor et lorem consequat malesuada.
45
+ is_new: false
46
+ was_updated: false
47
+
48
+ - section: 'Lorem Ipsum lacus'
49
+ questions:
50
+ - title: 'Duis ac lacus eu libero egestas volutpat ac eget nisi?'
51
+ answer: >
52
+ Fusce feugiat nisl arcu, sed scelerisque orci semper ut.
53
+ Integer lacus lacus, imperdiet quis porta iaculis, viverra
54
+ sed sem. Sed id lacus tincidunt erat consectetur mattis.
55
+ Pellentesque in suscipit velit. Nam quis quam ipsum. Ut
56
+ lacinia magna sit amet nulla condimentum, non sodales
57
+ urna finibus. Donec id fringilla est.
35
58
  is_new: false
36
59
  was_updated: true
37
60
 
@@ -1,9 +1,6 @@
1
- - type: 'label'
2
- class: 'success'
3
- icon: 'fa-play'
4
-
5
1
  - type: 'event'
6
2
  class: 'info'
3
+ enabled: true
7
4
  point:
8
5
  class: 'black'
9
6
  icon: 'fa-star'
@@ -17,6 +14,7 @@
17
14
 
18
15
  - type: 'event'
19
16
  class: 'warning'
17
+ enabled: true
20
18
  point:
21
19
  class: 'black'
22
20
  icon: 'fa-star'
@@ -27,7 +25,3 @@
27
25
  massa nisi eget turpis. Sed vel egestas lorem, non rhoncus est. Vivamus
28
26
  ut orci sed nisl bibendum cursus vel sed neque.
29
27
  footer: '03.03.2018 03:03'
30
-
31
- - type: 'label'
32
- class: 'danger'
33
- icon: 'fa-stop'
@@ -1,11 +1,11 @@
1
1
  {% include _utils/common %}
2
2
  {% if include.social %} {% assign social = include.social %}
3
3
  {% else %} {% assign social = general.social %} {% endif %}
4
- <ul class="list-inline social-buttons">
4
+ <ul class="list-inline">
5
5
  {% for social_network in social %}
6
- <li>
7
- <a href="{{ social_network.url }}" title="{{ social_network.title }}" target="_blank">
8
- <i class="{{ social_network.icon }} fa-fw"></i>
6
+ <li class="list-inline-item">
7
+ <a class="btn btn-block" href="{{ social_network.url }}" title="{{ social_network.title }}" target="_blank">
8
+ <i class="fab {{ social_network.icon }}"></i>
9
9
  </a>
10
10
  </li>
11
11
  {% endfor %}
@@ -14,15 +14,15 @@
14
14
  {% capture document_menu %}
15
15
  {{ document_menu }}
16
16
  {% if previous_level == level %}
17
- </li>
17
+ </nav>
18
18
  {% elsif previous_level < level %}
19
19
  {% assign submenu_open = true %}
20
- <ul class="toc-sub-menu nav nav-stacked">
20
+ <nav class="doc-sub-menu nav flex-column">
21
21
  {% elsif previous_level > level %}
22
22
  {% assign submenu_open = false %}
23
- </li></ul></li>
23
+ </nav>
24
24
  {% endif %}
25
- <li><a class="scrollto" href="#{{ header_id }}">{{ content }}</a>
25
+ <a class="nav-link scrollto" href="#{{ header_id | downcase | uri_escape }}">{{ content }}</a>
26
26
  {% assign previous_level = level | times: 1 %}
27
27
  {% endcapture %}
28
28
  {% endfor %}
@@ -34,10 +34,11 @@
34
34
  {% endcapture %}
35
35
  {% endcapture %}
36
36
  {% assign _null = '' %}
37
- <div class="toc-sidebar hidden-xs">
38
- <nav id="toc-nav">
39
- <ul id="toc-menu" class="toc-menu nav nav-stacked" data-spy="affix" data-offset-top="180">
37
+
38
+ <div class="doc-sidebar col-md-3 col-12 order-0 d-none d-md-flex">
39
+ <div id="doc-nav" class="doc-nav">
40
+ <nav id="doc-menu" class="nav doc-menu flex-column sticky">
40
41
  {{ document_menu | strip }}
41
- </ul>
42
- </nav>
42
+ </nav>
43
+ </div>
43
44
  </div>
@@ -21,7 +21,7 @@
21
21
  <span itemprop="name">{{ page.author }}</span>
22
22
  </span>
23
23
  {% endif %}
24
- pe <i class="fas fa-clock"></i>
24
+ pe <i class="fas fa-clock"></i>
25
25
  <time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
26
26
  {{ page.date | date: "%-d" }} {{ month }} {{ page.date | date: "%Y" }}
27
27
  </time>
@@ -33,7 +33,7 @@
33
33
  <div class="content-inner">
34
34
  <section id="dashboards" class="doc-section">
35
35
  <div class="section-block">
36
- {{ content }}
36
+ {{ content }}
37
37
  </div>
38
38
  </section>
39
39
  </div>
@@ -4,7 +4,7 @@
4
4
  <div class="cards-container container container-fluid">
5
5
  {% if container.title %}<h2 class="title">{{ container.title }}</h2>{% endif %}
6
6
  {% if container.intro %}<div class="intro">{{ container.intro }}</div>{% endif %}
7
- <div class="cards-wrapper row row-centered">
7
+ <div class="cards-wrapper row justify-content-md-center">
8
8
  {% for card in container.cards %}
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">
@@ -6,13 +6,13 @@
6
6
  <div class="jumbotron text-center">
7
7
  <p>{{ section.description }}</p>
8
8
  {% for member in section.members %}
9
- <div class="bubble row vertical-align">
9
+ <div class="bubble row vertical-align">
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 img-circle" src="{{ member.avatar }}" alt="{{ member.name }}"/>
13
+ <img class="img-responsive rounded-circle" src="{{ member.avatar }}" alt="{{ member.name }}"/>
14
14
  {% else %}
15
- <img class="img-responsive img-circle" src="https://www.gravatar.com/avatar/{{ member.email | remove: ' ' | strip_newlines | downcase | md5 }}" alt="{{ member.name }}"/>
15
+ <img class="img-responsive 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>
@@ -24,5 +24,5 @@
24
24
  </h4>
25
25
  </div>
26
26
  {% endif %}
27
- </section>
27
+ </section>
28
28
  {% endfor %}
@@ -1,40 +1,43 @@
1
1
  {% include _utils/common %}
2
2
  {% if include.timeline %}{% assign timeline = include.timeline%}{% endif %}
3
3
  <section class="timeline timeline-line-dotted">
4
- {% for item in timeline %}
5
- {% if item.type == "event" %}
6
- <div class="timeline-item{% if item.position %} timeline-item-{{ item.position }}{% endif %}">
7
- <div class="timeline-point timeline-point-{{ item.point.class | default: 'black' }}">
8
- {% if item.point.icon %}
9
- <i class="{{ item.point.icon }}"></i>
10
- {% endif %}
11
- </div>
12
- <div class="timeline-event timeline-event-{{ item.class | default: 'primary' }}">
13
- <div class="timeline-heading">
14
- <h4>{{ item.heading }}</h4>
15
- </div>
16
- {% if item.body%}
17
- <div class="timeline-body">
18
- <p>{{ item.body }}</p>
19
- </div>
20
- {% endif %}
21
- {% if item.footer %}
22
- <div class="timeline-footer">
23
- <p class="text-right">{{ item.footer }}</p>
24
- </div>
25
- {% endif %}
26
- </div>
4
+ {% for item in timeline %}
5
+ {% if item.enabled == false %}
6
+ {% continue %}
7
+ {% endif %}
8
+ {% if item.type == "event" %}
9
+ <div class="timeline-item{% if item.position %} timeline-item-{{ item.position }}{% endif %}">
10
+ <div class="timeline-point timeline-point-{{ item.point.class | default: 'black' }}">
11
+ {% if item.point.icon %}
12
+ <i class="{{ item.point.icon }}"></i>
13
+ {% endif %}
14
+ </div>
15
+ <div class="timeline-event timeline-event-{{ item.class | default: 'primary' }}">
16
+ <div class="timeline-heading">
17
+ <h4>{{ item.heading }}</h4>
18
+ </div>
19
+ {% if item.body%}
20
+ <div class="timeline-body">
21
+ <p>{{ item.body }}</p>
27
22
  </div>
28
- {% elsif item.type == "label" %}
29
- <span class="timeline-label">
30
- <span class="label label-{{ item.class }}">
31
- {% if item.content %}
32
- {{ item.content }}
33
- {% elsif item.icon %}
34
- <i class="{{ item.icon }}"></i>
35
- {% endif %}
36
- </span>
37
- </span>
38
- {% endif %}
39
- {% endfor %}
23
+ {% endif %}
24
+ {% if item.footer %}
25
+ <div class="timeline-footer">
26
+ <p class="text-right">{{ item.footer }}</p>
27
+ </div>
28
+ {% endif %}
29
+ </div>
30
+ </div>
31
+ {% elsif item.type == "label" %}
32
+ <span class="timeline-label">
33
+ <span class="label label-{{ item.class }} text-white p-1">
34
+ {% if item.content %}
35
+ {{ item.content }}
36
+ {% elsif item.icon %}
37
+ <i class="{{ item.icon }}"></i>
38
+ {% endif %}
39
+ </span>
40
+ </span>
41
+ {% endif %}
42
+ {% endfor %}
40
43
  </section>
@@ -1,6 +1,6 @@
1
1
  {% include _utils/month date=site.time %}
2
2
  <footer class="footer text-center">
3
- <div class="container-fluid">
3
+ <div class="container">
4
4
  <div class="row">
5
5
  <div class="col-md-2 col-xs-6">
6
6
  <small class="copyright">
@@ -2,9 +2,11 @@
2
2
  <head>
3
3
  <title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
4
4
  <!-- Meta -->
5
+
5
6
  <meta charset="utf-8">
6
7
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
7
8
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
9
+ <link rel="shortcut icon" href="favicon.ico">
8
10
  {% for meta in general.meta %}
9
11
  <meta name="{{ meta.name }}" lang="{{ meta.lang }}" xml:lang="{{ meta.lang }}" content="{{ meta.content | strip }}" />
10
12
  {% endfor %}
@@ -14,13 +16,13 @@
14
16
 
15
17
  <link rel="shortcut icon" href="{{ "/assets/images/favicon.ico" | prepend: site.baseurl }}">
16
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'>
17
-
19
+
18
20
  <!-- Global CSS -->
19
- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
21
+ <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
20
22
 
21
23
  <!-- Plugins CSS -->
22
24
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ekko-lightbox/5.3.0/ekko-lightbox.css">
23
-
25
+
24
26
  <!-- Theme CSS -->
25
27
  <link id="theme-style" rel="stylesheet" href="{{ "/assets/css/main.css" | prepend: site.baseurl }}">
26
28
 
@@ -31,7 +33,10 @@
31
33
  <![endif]-->
32
34
  <link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
33
35
  <link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
34
- <script defer src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script>
36
+
37
+ <!-- FontAwesome JS -->
38
+ <script defer src="https://use.fontawesome.com/releases/v5.8.2/js/all.js" integrity="sha384-DJ25uNYET2XCl5ZF++U8eNxPWqcKohUUBUpKGlNLMchM7q4Wjg2CUpjHLaL8yYPH" crossorigin="anonymous"></script>
39
+
35
40
  {% if page.highlight or post.highlight %}
36
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" />
37
42
  {% endif %}
@@ -20,14 +20,18 @@
20
20
  </div>
21
21
  {% else %}
22
22
  <ol class="breadcrumb">
23
- <li><a href="/{{ site.baseurl }}">Acasă</a></li>
23
+ <li class="breadcrumb-item">
24
+ <a href="/{{ site.baseurl }}">Acasă</a>
25
+ </li>
24
26
  {% for resource in resources %}
25
27
  {% if resource == "" %}{% continue %}{% endif %}
26
28
  {% assign resource_url = resource_url | append: "/" | append: resource %}
27
29
  {% if forloop.last == true %}
28
- <li class="active">{{ page.title }}</li>
30
+ <li class="breadcrumb-item active">{{ page.title }}</li>
29
31
  {% else %}
30
- <li><a href="{{ resource_url }}">{{ resource | capitalize }}</a></li>
32
+ <li class="breadcrumb-item">
33
+ <a href="{{ resource_url }}">{{ resource | capitalize }}</a>
34
+ </li>
31
35
  {% endif %}
32
36
  {% endfor %}
33
37
  </ol>
@@ -1,10 +1,25 @@
1
- <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
2
- <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
3
- <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-scrollTo/2.1.2/jquery.scrollTo.min.js"></script>
1
+ <!-- Boostrap 4.x -->
2
+ <script
3
+ src="http://code.jquery.com/jquery-3.4.1.min.js"
4
+ integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="
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"
9
+ crossorigin="anonymous"></script>
10
+ <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"
11
+ integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy"
12
+ crossorigin="anonymous"></script>
13
+
14
+ <!-- 3rd Party libraries -->
15
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-scrollTo/2.1.1/jquery.scrollTo.min.js"></script>
4
16
  <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.matchHeight/0.7.2/jquery.matchHeight-min.js"></script>
5
17
  <script src="https://cdnjs.cloudflare.com/ajax/libs/ekko-lightbox/5.3.0/ekko-lightbox.min.js"></script>
6
- <script src="{{ "/assets/js/main.js" | prepend: site.baseurl }}"></script>
18
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/stickyfill/2.1.0/stickyfill.min.js" integrity="sha256-Duz0kSQfOd2hKIZtlmd8xYuqQlAKEEJnSPYYSfLarVQ=" crossorigin="anonymous"></script>
7
19
  {% if page.highlight or post.highlight %}
8
- <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js" integrity="sha256-/BfiIkHlHoVihZdc6TFuj7MmJ0TWcWsMXkeDFwhi0zw=" crossorigin="anonymous"></script>
20
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.10/highlight.min.js" integrity="sha256-1zu+3BnLYV9LdiY85uXMzii3bdrkelyp37e0ZyTAQh0=" crossorigin="anonymous"></script>
9
21
  <script>hljs.initHighlightingOnLoad();</script>
10
- {% endif %}
22
+ {% endif %}
23
+
24
+ <!-- Custom JS -->
25
+ <script src="{{ "/assets/js/main.js" | prepend: site.baseurl }}"></script>
@@ -4,9 +4,7 @@ layout: compress
4
4
  {% if page.color %}{% capture body_class %}class="body-{{ page.color }}"{% endcapture %}{% endif %}
5
5
 
6
6
  <!DOCTYPE html>
7
- <!--[if IE 8]> <html lang="{{ site.lang }}" class="ie8"> <![endif]-->
8
- <!--[if IE 9]> <html lang="{{ site.lang }}" class="ie9"> <![endif]-->
9
- <!--[if !IE]><!--> <html lang="{{ site.lang }}"> <!--<![endif]-->
7
+ <html lang="{{ site.lang }}">
10
8
  {% include _theme/head.html %}
11
9
  <body {{ body_class }}>
12
10
  <div class="page-wrapper">
data/_layouts/faqs.html CHANGED
@@ -1,9 +1,23 @@
1
1
  ---
2
- layout: page
2
+ layout: default
3
3
  ---
4
- <div class="doc-content">
5
- <div class="content-inner">
6
- {{ content }}
4
+ <div class="doc-wrapper">
5
+ <div class="container">
6
+ <div id="doc-header" class="doc-header text-center">
7
+ <h1 class="doc-title">
8
+ {% if page.icon %}
9
+ <span aria-hidden="true" class="icon {{ page.icon }}"></span>
10
+ {% endif %}
11
+ {{ page.title | escape }}
12
+ </h1>
13
+ </div><!--//doc-header-->
14
+ <div class="doc-body row">
15
+ <div class="doc-content col-md-9 col-12 order-1">
16
+ <div class="content-inner">
17
+ {{ content }}
18
+ </div>
19
+ </div>
20
+ {% include _partials/toc.html content=content maximum_level=2 %}
7
21
  </div>
22
+ </div>
8
23
  </div>
9
- {% include _partials/toc.html content=content maximum_level=2 %}
data/_layouts/page.html CHANGED
@@ -1,18 +1,22 @@
1
1
  ---
2
2
  layout: default
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
- {% if page.icon %}
9
- <span aria-hidden="true" class="icon {{ page.icon }}"></span>
10
- {% endif %}
11
- {{ page.title | escape }}
12
- </h1>
13
- </div>
14
- <div class="doc-body">
4
+ <div class="doc-wrapper">
5
+ <div class="container">
6
+ <div id="doc-header" class="doc-header">
7
+ <h1 class="doc-title text-center">
8
+ {% if page.icon %}
9
+ <span aria-hidden="true" class="icon {{ page.icon }}"></span>
10
+ {% endif %}
11
+ {{ page.title | escape }}
12
+ </h1>
13
+ <div class="doc-body row">
14
+ <div class="doc-content order-1">
15
+ <div class="content-inner">
15
16
  {{ content }}
16
- </div>
17
+ </div>
18
+ </div>
19
+ </div>
17
20
  </div>
18
- </section>
21
+ </div>
22
+ </div>