beautiful-jekyll-theme 2.3.0 → 5.0.0

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.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/404.html +1 -1
  3. data/README.md +119 -139
  4. data/_data/ui-text.yml +1 -1
  5. data/_includes/comments.html +2 -2
  6. data/_includes/disqus.html +11 -11
  7. data/_includes/ext-css.html +2 -2
  8. data/_includes/fb-comment.html +12 -10
  9. data/_includes/footer-minimal.html +11 -11
  10. data/_includes/footer-scripts.html +8 -2
  11. data/_includes/footer.html +15 -11
  12. data/_includes/google_analytics.html +8 -8
  13. data/_includes/gtag.html +2 -3
  14. data/_includes/gtm_body.html +3 -4
  15. data/_includes/gtm_head.html +9 -7
  16. data/_includes/head.html +90 -74
  17. data/_includes/header.html +52 -40
  18. data/_includes/nav.html +33 -44
  19. data/_includes/readtime.html +10 -10
  20. data/_includes/social-networks-links.html +57 -21
  21. data/_includes/social-share.html +8 -3
  22. data/_includes/staticman-comments.html +8 -8
  23. data/_includes/utterances-comment.html +1 -1
  24. data/_layouts/base.html +26 -21
  25. data/_layouts/default.html +17 -1
  26. data/_layouts/home.html +58 -28
  27. data/_layouts/minimal.html +28 -6
  28. data/_layouts/page.html +19 -2
  29. data/_layouts/post.html +25 -13
  30. data/assets/css/{main-minimal.css → beautifuljekyll-minimal.css} +3 -3
  31. data/assets/css/{main.css → beautifuljekyll.css} +470 -297
  32. data/assets/css/staticman.css +2 -2
  33. data/assets/img/thumb.png +0 -0
  34. data/assets/js/beautifuljekyll.js +114 -0
  35. data/assets/js/staticman.js +13 -13
  36. data/feed.xml +4 -3
  37. data/staticman.yml +110 -0
  38. metadata +36 -16
  39. data/assets/css/bootstrap-theme.css +0 -476
  40. data/assets/css/bootstrap-theme.css.map +0 -1
  41. data/assets/css/bootstrap-theme.min.css +0 -5
  42. data/assets/css/bootstrap.css +0 -6566
  43. data/assets/css/bootstrap.css.map +0 -1
  44. data/assets/css/bootstrap.min.css +0 -5
  45. data/assets/css/normalize.css +0 -427
  46. data/assets/js/bootstrap.js +0 -2306
  47. data/assets/js/bootstrap.min.js +0 -7
  48. data/assets/js/jquery-1.11.2.min.js +0 -4
  49. data/assets/js/main.js +0 -140
@@ -1,18 +1,18 @@
1
1
  <footer class="footer-min">
2
2
  <div class="text-muted">
3
- {% if site.author %}
4
- {{ site.author }}
5
- &nbsp;&nbsp;&bull;&nbsp;&nbsp;
6
- {% endif %}
7
- {% if page.date %}
8
- {{ page.date }}
9
- {% else %}
10
- {{ site.time | date: '%Y' }}
11
- {% endif %}
3
+ {% if site.author %}
4
+ {{ site.author }}
5
+ &nbsp;&nbsp;&bull;&nbsp;&nbsp;
6
+ {% endif %}
7
+ {% if page.date %}
8
+ {{ page.date }}
9
+ {% else %}
10
+ {{ site.time | date: '%Y' }}
11
+ {% endif %}
12
12
 
13
13
  {% if site.url-pretty %}
14
- &nbsp;&nbsp;&bull;&nbsp;&nbsp;
15
- <a href="{{ '' | absolute_url }}">{{ site.url-pretty }}</a>
14
+ &nbsp;&nbsp;&bull;&nbsp;&nbsp;
15
+ <a href="{{ '' | absolute_url }}">{{ site.url-pretty }}</a>
16
16
  {% endif %}
17
17
  </div>
18
18
  </footer>
@@ -9,9 +9,9 @@
9
9
  <!-- doing something a bit funky here because I want to be careful not to include JQuery twice! -->
10
10
  {% if js contains 'jquery' %}
11
11
  <script>
12
- if (typeof jQuery == 'undefined') {
12
+ if (typeof jQuery == 'undefined') {
13
13
  document.write('<script src="{{ js | relative_url }}"></scr' + 'ipt>');
14
- }
14
+ }
15
15
  </script>
16
16
  {% else %}
17
17
  <script src="{{ js | relative_url }}"></script>
@@ -19,6 +19,12 @@
19
19
  {% endfor %}
20
20
  {% endif %}
21
21
 
22
+ {% if site.site-js %}
23
+ {% for js in site.site-js %}
24
+ <script src="{{ js | relative_url }}"></script>
25
+ {% endfor %}
26
+ {% endif %}
27
+
22
28
  {% if page.ext-js %}
23
29
  {% for js in page.ext-js %}
24
30
  {% include ext-js.html js=js %}
@@ -1,23 +1,27 @@
1
1
  <footer>
2
- <div class="container beautiful-jekyll-footer">
2
+ <div class="container-md beautiful-jekyll-footer">
3
3
  <div class="row">
4
- <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
4
+ <div class="col-xl-8 offset-xl-2 col-lg-10 offset-lg-1">
5
5
  {% include social-networks-links.html %}
6
6
  {% if page.footer-extra %}
7
7
  <div class="footer-custom-content">
8
- {% include {{ page.footer-extra }} %}
8
+ {% for file in page.footer-extra %}
9
+ {% include {{ file }} %}
10
+ {% endfor %}
9
11
  </div>
10
12
  {% endif %}
11
13
  <p class="copyright text-muted">
12
14
  {% if site.author %}
13
- {{ site.author }}
14
- &nbsp;&bull;&nbsp;
15
+ {{ site.author }}
16
+ &nbsp;&bull;&nbsp;
15
17
  {% endif %}
16
18
  {{ site.time | date: '%Y' }}
17
19
 
18
20
  {% if site.url-pretty %}
19
- &nbsp;&bull;&nbsp;
20
- <a href="{{ '' | absolute_url }}">{{ site.url-pretty }}</a>
21
+ &nbsp;&bull;&nbsp;
22
+ <span class="author-site">
23
+ <a href="{% if site.url-canonical %}{{ site.url-canonical }}{% else %}{{ '' | absolute_url }}{% endif %}">{{ site.url-pretty }}</a>
24
+ </span>
21
25
  {% endif %}
22
26
 
23
27
  {% if site.matomo %}
@@ -28,10 +32,10 @@
28
32
  {% endif%}
29
33
  </p>
30
34
  <!-- Please don't remove this, keep my open source work credited :) -->
31
- <p class="theme-by text-muted">
32
- Theme by
33
- <a href="https://beautifuljekyll.com">beautiful-jekyll</a>
34
- </p>
35
+ {% unless site.remove-ads %}<p class="theme-by text-muted">
36
+ Powered by
37
+ <a href="https://beautifuljekyll.com">Beautiful Jekyll</a>
38
+ </p>{% endunless %}
35
39
  </div>
36
40
  </div>
37
41
  </div>
@@ -1,14 +1,14 @@
1
1
  {% if site.google_analytics %}
2
2
  <!-- Google Analytics -->
3
3
  <script>
4
- (function (i, s, o, g, r, a, m) {
5
- i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
6
- (i[r].q = i[r].q || []).push(arguments)
7
- }, i[r].l = 1 * new Date(); a = s.createElement(o),
8
- m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
9
- })(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
10
- ga('create', '{{ site.google_analytics }}', 'auto');
11
- ga('send', 'pageview');
4
+ (function (i, s, o, g, r, a, m) {
5
+ i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
6
+ (i[r].q = i[r].q || []).push(arguments)
7
+ }, i[r].l = 1 * new Date(); a = s.createElement(o),
8
+ m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
9
+ })(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
10
+ ga('create', '{{ site.google_analytics }}', 'auto');
11
+ ga('send', 'pageview');
12
12
  </script>
13
13
  <!-- End Google Analytics -->
14
14
  {% endif %}
@@ -1,11 +1,10 @@
1
1
  {% if site.gtag %}
2
2
  <!-- Global site tag (gtag.js) - Google Analytics -->
3
3
  <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.gtag }}"></script>
4
- <script>
5
- window.dataLayer = window.dataLayer || [];
4
+ <script>
5
+ window.dataLayer = window.dataLayer || [];
6
6
  function gtag(){dataLayer.push(arguments);}
7
7
  gtag('js', new Date());
8
-
9
8
  gtag('config', '{{ site.gtag }}');
10
9
  </script>
11
10
  {% endif %}
@@ -1,6 +1,5 @@
1
1
  {% if site.gtm %}
2
- <!-- Google Tag Manager (noscript) -->
3
- <noscript><iframe src="https://www.googletagmanager.com/ns.html?id={{ site.gtm }}"
4
- height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
5
- <!-- End Google Tag Manager (noscript) -->
2
+ <!-- Google Tag Manager (noscript) -->
3
+ <noscript><iframe src="https://www.googletagmanager.com/ns.html?id={{ site.gtm }}" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
4
+ <!-- End Google Tag Manager (noscript) -->
6
5
  {% endif %}
@@ -1,9 +1,11 @@
1
1
  {% if site.gtm %}
2
- <!-- Google Tag Manager -->
3
- <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
4
- new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
5
- j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
6
- 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
7
- })(window,document,'script','dataLayer','{{ site.gtm }}');</script>
8
- <!-- End Google Tag Manager -->
2
+ <!-- Google Tag Manager -->
3
+ <script>
4
+ (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
5
+ new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
6
+ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
7
+ 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
8
+ })(window,document,'script','dataLayer','{{ site.gtm }}');
9
+ </script>
10
+ <!-- End Google Tag Manager -->
9
11
  {% endif %}
@@ -1,19 +1,45 @@
1
1
  <head>
2
- <meta charset="utf-8" />
3
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, viewport-fit=cover">
2
+ <meta charset="utf-8">
3
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
4
+
5
+ {% capture title %}
6
+ {%- if page.share-title -%}
7
+ {{ page.share-title }}
8
+ {%- elsif page.title -%}
9
+ {{ page.title }}
10
+ {%- else -%}
11
+ {{ site.title }}
12
+ {%- endif -%}
13
+ {% endcapture %}
14
+
15
+ {% capture description %}
16
+ {%- if page.share-description -%}
17
+ {{ page.share-description }}
18
+ {%- elsif page.subtitle -%}
19
+ {{ page.subtitle }}
20
+ {%- else -%}
21
+ {%- assign excerpt_length = site.excerpt_length | default: 50 -%}
22
+ {{ page.content | strip_html | xml_escape | truncatewords: excerpt_length | strip }}
23
+ {%- endif -%}
24
+ {% endcapture %}
25
+
26
+ <title>{{ title }}</title>
5
27
 
6
- <title>{% if page.use-site-title %}{{ site.title }} {{ site.title-separator | default: '-' }} {{ site.description }}{% elsif page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
7
-
8
28
  {% if site.author %}
9
- <meta name="author" content="{{ site.author }}" />
29
+ <meta name="author" content="{{ site.author }}">
10
30
  {% endif %}
11
-
12
- {% if page.subtitle %}
13
- <meta name="description" content="{{ page.subtitle }}">
31
+
32
+ <meta name="description" content="{{ description }}">
33
+
34
+ {% if site.mobile-theme-col %}
35
+ <meta name="theme-color" content="{{ site.mobile-theme-col }}">
36
+ {% endif %}
37
+
38
+ {% if site.keywords %}
39
+ <meta name="keywords" content="{{ site.keywords }}">
14
40
  {% endif %}
15
41
 
16
- <link rel="alternate" type="application/rss+xml" title="{{ site.title | default: 'Untitled' }} {{ site.title-separator | default: '-' }} {{ site.description }}" href="{{ '/feed.xml' | absolute_url }}" />
42
+ <link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ '/feed.xml' | absolute_url }}">
17
43
 
18
44
  {% include gtag.html %}
19
45
  {% include gtm_head.html %}
@@ -27,13 +53,13 @@
27
53
 
28
54
  {% if layout.common-css %}
29
55
  {% for css in layout.common-css %}
30
- <link rel="stylesheet" href="{{ css | relative_url }}" />
56
+ <link rel="stylesheet" href="{{ css | relative_url }}">
31
57
  {% endfor %}
32
58
  {% endif %}
33
59
 
34
- {% if layout.common-googlefonts %}
35
- {% for font in layout.common-googlefonts %}
36
- <link rel="stylesheet" href="//fonts.googleapis.com/css?family={{ font }}" />
60
+ {% if site.site-css %}
61
+ {% for css in site.site-css %}
62
+ <link rel="stylesheet" href="{{ css | relative_url }}">
37
63
  {% endfor %}
38
64
  {% endif %}
39
65
 
@@ -42,92 +68,82 @@
42
68
  {% include ext-css.html css=css %}
43
69
  {% endfor %}
44
70
  {% endif %}
45
-
71
+
46
72
  {% if page.css %}
47
73
  {% for css in page.css %}
48
- <link rel="stylesheet" href="{{ css | relative_url }}" />
49
- {% endfor %}
50
- {% endif %}
51
-
52
- {% if page.googlefonts %}
53
- {% for font in page.googlefonts %}
54
- <link rel="stylesheet" href="//fonts.googleapis.com/css?family={{ font }}" />
74
+ <link rel="stylesheet" href="{{ css | relative_url }}">
55
75
  {% endfor %}
56
76
  {% endif %}
57
77
 
58
- <!-- Facebook OpenGraph tags -->
59
78
  {% if site.fb_app_id %}
60
- <meta property="fb:app_id" content="{{ site.fb_app_id }}" />
79
+ <meta property="fb:app_id" content="{{ site.fb_app_id }}">
61
80
  {% endif %}
62
81
 
63
- {% if page.meta-title %}
64
- <meta property="og:title" content="{{ page.meta-title }}" />
65
- {% elsif page.title %}
66
- <meta property="og:title" content="{{ page.title }}" />
67
- {% elsif site.title %}
68
- <meta property="og:title" content="{{ site.title }}" />
82
+ {% if site.title %}
83
+ <meta property="og:site_name" content="{{ site.title }}">
69
84
  {% endif %}
70
85
 
71
- {% if page.meta-description %}
72
- <meta property="og:description" content="{{ page.meta-description }}">
73
- {% elsif page.subtitle %}
74
- <meta property="og:description" content="{{ page.subtitle }}">
75
- {% else %}
76
- <meta property="og:description" content="{{ page.content | strip_html | xml_escape | truncatewords: 50 }}">
77
- {% endif %}
86
+ {%- capture img -%}
87
+ {%- if page.share-img -%}
88
+ {{ page.share-img }}
89
+ {%- elsif page.cover-img -%}
90
+ {%- if page.cover-img.first -%}
91
+ {{ page.cover-img[0].first.first }}
92
+ {%- else -%}
93
+ {{ page.cover-img }}
94
+ {%- endif -%}
95
+ {%- elsif page.thumbnail-img -%}
96
+ {{ page.thumbnail-img }}
97
+ {%- elsif site.avatar -%}
98
+ {{ site.avatar }}
99
+ {% endif %}
100
+ {%- endcapture -%}
101
+ {%- assign img=img | strip -%}
78
102
 
103
+ <meta property="og:title" content="{{ title }}">
104
+ <meta property="og:description" content="{{ description }}">
79
105
 
80
- <meta property="og:type" content="website" />
106
+ {% if img != "" %}
107
+ <meta property="og:image" content="{{ img | absolute_url }}">
108
+ {% endif %}
81
109
 
82
110
  {% if page.id %}
83
- <meta property="og:url" content="{{ page.url | absolute_url }}" />
84
- <link rel="canonical" href="{{ page.url | absolute_url }}" />
111
+ <meta property="og:type" content="article">
112
+ <meta property="og:article:author" content="{{ site.author }}">
113
+ <meta property="og:article:published_time" content="{{ page.date | date_to_xmlschema }}">
114
+ <meta property="og:url" content="{{ page.url | absolute_url }}">
115
+ <link rel="canonical" href="{{ page.url | absolute_url }}">
85
116
  {% else %}
86
- <meta property="og:url" content="{{ page.url | absolute_url | strip_index }}" />
87
- <link rel="canonical" href="{{ page.url | absolute_url | strip_index }}" />
88
- {% endif %}
89
-
90
- {% if page.share-img %}
91
- <meta property="og:image" content="{{ page.share-img }}" />
92
- {% elsif site.avatar %}
93
- <meta property="og:image" content="{{ site.avatar | absolute_url }}" />
117
+ <meta property="og:type" content="website">
118
+ <meta property="og:url" content="{{ page.url | absolute_url | strip_index }}">
119
+ <link rel="canonical" href="{{ page.url | absolute_url | strip_index }}">
94
120
  {% endif %}
95
121
 
96
-
97
- <!-- Twitter summary cards -->
98
- <meta name="twitter:card" content="summary" />
99
- <meta name="twitter:site" content="@{{ site.social-network-links.twitter }}" />
100
- <meta name="twitter:creator" content="@{{ site.social-network-links.twitter }}" />
101
-
102
- {% if page.meta-title %}
103
- <meta name="twitter:title" content="{{ page.meta-title }}" />
104
- {% elsif page.title %}
105
- <meta name="twitter:title" content="{{ page.title }}" />
122
+ {% if img != "" and img != site.avatar %}
123
+ <meta name="twitter:card" content="summary_large_image">
106
124
  {% else %}
107
- <meta name="twitter:title" content="{{ site.title }}" />
125
+ <meta name="twitter:card" content="summary">
108
126
  {% endif %}
127
+ <meta name="twitter:site" content="@{{ site.social-network-links.twitter }}">
128
+ <meta name="twitter:creator" content="@{{ site.social-network-links.twitter }}">
109
129
 
110
- {% if page.meta-description %}
111
- <meta name="twitter:description" content="{{ page.meta-description }}">
112
- {% elsif page.subtitle %}
113
- <meta name="twitter:description" content="{{ page.subtitle }}">
114
- {% else %}
115
- <meta name="twitter:description" content="{{ page.content | strip_html | xml_escape | truncatewords: 50 }}">
116
- {% endif %}
130
+ <meta property="twitter:title" content="{{ title }}">
131
+ <meta property="twitter:description" content="{{ description }}">
117
132
 
118
- {% if page.share-img %}
119
- <meta name="twitter:image" content="{{ page.share-img }}" />
120
- {% elsif site.avatar %}
121
- <meta name="twitter:image" content="{{ site.avatar | absolute_url }}" />
133
+ {% if img != "" %}
134
+ <meta name="twitter:image" content="{{ img | absolute_url }}">
122
135
  {% endif %}
123
136
 
124
- {% if site.matomo %}
125
137
  {% include matomo.html %}
126
- {% endif %}
127
138
 
128
139
  {% if page.comments and site.staticman.repository and site.staticman.branch %}
129
- <!-- Staticman -->
130
- <link rel="stylesheet" href="{{ "/assets/css/staticman.css" | relative_url }}" />
140
+ <link rel="stylesheet" href="{{ "/assets/css/staticman.css" | relative_url }}">
141
+ {% endif %}
142
+
143
+ {% if page.head-extra %}
144
+ {% for file in page.head-extra %}
145
+ {% include {{ file }} %}
146
+ {% endfor %}
131
147
  {% endif %}
132
148
 
133
149
  </head>
@@ -2,47 +2,53 @@
2
2
 
3
3
  {% assign date_format = site.date_format | default: "%B %-d, %Y" %}
4
4
 
5
- {% if page.bigimg or page.title %}
5
+ {% if page.cover-img or page.title %}
6
6
 
7
- {% if page.bigimg %}
8
- <div id="header-big-imgs" data-num-img={% if page.bigimg.first %}{{ page.bigimg.size }}{% else %}1{% endif %}
9
- {% for bigimg in page.bigimg %}
7
+ {% if page.cover-img %}
8
+ <div id="header-big-imgs" data-num-img={% if page.cover-img.first %}{{ page.cover-img.size }}{% else %}1{% endif %}
9
+ {% for bigimg in page.cover-img %}
10
10
  {% assign imgnum = forloop.index %}
11
11
  {% for imginfo in bigimg %}
12
12
  {% if imginfo[0] %}
13
- data-img-src-{{ imgnum }}="{{ imginfo[0] | relative_url }}"
13
+ data-img-src-{{ imgnum }}="{{ imginfo[0] | absolute_url }}"
14
14
  data-img-desc-{{ imgnum }}="{{ imginfo[1] }}"
15
15
  {% else %}
16
- data-img-src-{{ imgnum }}="{{ imginfo | relative_url }}"
16
+ data-img-src-{{ imgnum }}="{{ imginfo | absolute_url }}"
17
17
  {% endif %}
18
18
  {% endfor %}
19
19
  {% endfor %}
20
20
  ></div>
21
21
  {% endif %}
22
22
 
23
- <header class="header-section {% if page.bigimg %}has-img{% endif %}">
24
- {% if page.bigimg %}
23
+ <header class="header-section {% if page.cover-img %}has-img{% endif %}">
24
+ {% if page.cover-img %}
25
25
  <div class="big-img intro-header">
26
- <div class="container">
26
+ <div class="container-md">
27
27
  <div class="row">
28
- <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
28
+ <div class="col-xl-8 offset-xl-2 col-lg-10 offset-lg-1">
29
29
  <div class="{{ include.type }}-heading">
30
30
  <h1>{% if page.title %}{{ page.title }}{% else %}<br/>{% endif %}</h1>
31
- {% if page.subtitle %}
32
- {% if include.type == "page" %}
33
- <hr class="small">
34
- <span class="{{ include.type }}-subheading">{{ page.subtitle }}</span>
35
- {% else %}
36
- <h2 class="{{ include.type }}-subheading">{{ page.subtitle }}</h2>
37
- {% endif %}
38
- {% endif %}
39
-
40
- {% if include.type == "post" %}
41
- <span class="post-meta">Posted on {{ page.date | date: date_format }}</span>
42
- {% if page.readtime %}
43
- {% include readtime.html %}
31
+ {% if page.subtitle %}
32
+ {% if include.type == "page" %}
33
+ <hr class="small">
34
+ <span class="{{ include.type }}-subheading">{{ page.subtitle }}</span>
35
+ {% else %}
36
+ <h2 class="{{ include.type }}-subheading">{{ page.subtitle }}</h2>
37
+ {% endif %}
38
+ {% endif %}
39
+
40
+ {% if include.type == "post" %}
41
+ <span class="post-meta">Posted on {{ page.date | date: date_format }}</span>
42
+ {% if page.last-updated %}
43
+ <span class="post-meta">
44
+ <span class="d-none d-md-inline middot">&middot;</span>
45
+ Last updated {{ page.last-updated | date: date_format }}
46
+ </span>
47
+ {% endif %}
48
+ {% if page.readtime %}
49
+ {% include readtime.html %}
50
+ {% endif %}
44
51
  {% endif %}
45
- {% endif %}
46
52
  </div>
47
53
  </div>
48
54
  </div>
@@ -51,26 +57,32 @@
51
57
  </div>
52
58
  {% endif %}
53
59
  <div class="intro-header no-img">
54
- <div class="container">
60
+ <div class="container-md">
55
61
  <div class="row">
56
- <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
62
+ <div class="col-xl-8 offset-xl-2 col-lg-10 offset-lg-1">
57
63
  <div class="{{ include.type }}-heading">
58
64
  <h1>{% if page.title %}{{ page.title }}{% else %}<br/>{% endif %}</h1>
59
- {% if page.subtitle %}
60
- {% if include.type == "page" %}
61
- <hr class="small">
62
- <span class="{{ include.type }}-subheading">{{ page.subtitle }}</span>
63
- {% else %}
64
- <h2 class="{{ include.type }}-subheading">{{ page.subtitle }}</h2>
65
- {% endif %}
66
- {% endif %}
67
-
68
- {% if include.type == "post" %}
69
- <span class="post-meta">Posted on {{ page.date | date: date_format }}</span>
70
- {% if page.readtime %}
71
- {% include readtime.html %}
65
+ {% if page.subtitle %}
66
+ {% if include.type == "page" %}
67
+ <hr class="small">
68
+ <span class="{{ include.type }}-subheading">{{ page.subtitle }}</span>
69
+ {% else %}
70
+ <h2 class="{{ include.type }}-subheading">{{ page.subtitle }}</h2>
71
+ {% endif %}
72
+ {% endif %}
73
+
74
+ {% if include.type == "post" %}
75
+ <span class="post-meta">Posted on {{ page.date | date: date_format }}</span>
76
+ {% if page.last-updated %}
77
+ <span class="post-meta">
78
+ <span class="d-none d-md-inline middot">&middot;</span>
79
+ Last updated {{ page.last-updated | date: date_format }}
80
+ </span>
81
+ {% endif %}
82
+ {% if page.readtime %}
83
+ {% include readtime.html %}
84
+ {% endif %}
72
85
  {% endif %}
73
- {% endif %}
74
86
  </div>
75
87
  </div>
76
88
  </div>