jekyll-theme-hydejack 6.4.1 → 6.5.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 278adb3970d68f935fc0a1a7a85758f3b44092bb
4
- data.tar.gz: 7ce1a05599e372645e44db508570e08750972c13
3
+ metadata.gz: 9180a49f49e08ce848caaf88443ab5fd94999fec
4
+ data.tar.gz: ee0676e617b06d8b6377396913278d3df485fbd5
5
5
  SHA512:
6
- metadata.gz: d01a562f8dd0d18f878d5bb333364ce803c600ecabfc2381e7c4e30e24c4b162234dcbb731a0c0d98ef7ef2e121fb5aee41af3ebc09bb0173466cbaf69808acc
7
- data.tar.gz: 46dbff77abc50091e1e2607178f0bfae212c1118e0c90c84ef9814ff73d4a68d9975a99173c80f2015e4fd93b923de3e7fa68d34a88ecb8074a0a9f0392d5d69
6
+ metadata.gz: 0402304f100b94fbc7e965c16f4477713b617e4dbe70d89b580d1d4fc068ac21219e5729b1023f1d2e20560cfbf9bfc61075dac507315285ca60305dd9ad40b4
7
+ data.tar.gz: 10e59614f21dc6e9aa6b9d2584d4e17d56c49221b1af0e81aa40eb0caf60fd5eb2e05d8feb73c3e4aca1f88424b068305c8cff38747b9444b5cdd5a22a567438
data/LICENSE.md CHANGED
@@ -1,11 +1,10 @@
1
- MIT License
1
+ ---
2
+ title: LICENSE
3
+ ---
2
4
 
3
- Copyright (c) 2017 Florian Klampfer
4
-
5
- This software also uses portions of the Hyde project, which is
6
- MIT licensed with the following copyright:
5
+ ## MIT License
7
6
 
8
- Copyright (c) 2013 Mark Otto
7
+ Copyright (c) 2017 Florian Klampfer
9
8
 
10
9
  Permission is hereby granted, free of charge, to any person obtaining a copy
11
10
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -15,7 +15,7 @@ Hydejack is a cutting-edge Jekyll theme that combines the best of static sites a
15
15
  It features a suite of JavaScript that makes the page feel like an app, without sacrificing backwards-compatibility,
16
16
  page-load speed or SEO.
17
17
 
18
- > The complete package for professionals: A [blog], a [portfolio] and a [resume].
18
+ > Your presence on the web A [blog], a [portfolio] and a [resume].
19
19
 
20
20
  It aims to be the complete package for professionals on the web.
21
21
  It features a blog suitable for both prose and technical documentation,
@@ -45,11 +45,9 @@ Both the PRO *and* free version includes all of the features listed below:
45
45
  * RSS feed
46
46
  * Print layout
47
47
 
48
- Questions? Send a mail to [mail@qwtel.com](mailto:mail@qwtel.com), or tweet [`@qwtel`](https://www.twitter.com/qwtel).
49
-
50
48
  ## [Documentation][docs]
51
49
  Hydejack is documented extensively.
52
- You can read it [here][docs] or in the [repository's wiki][wiki], or [download the PDF][download].
50
+ You can read it [on this site][docs], in the [repository's wiki][wiki], or [download the PDF][download].
53
51
 
54
52
  ## Download
55
53
  There are two versions of Hydejack: The Free Version includes basic blogging functionality,
@@ -59,17 +57,16 @@ A [portfolio], a [resume] layout and a [welcome] page to feature your favorite p
59
57
 
60
58
  This table details what is and isn't included in each respective version.
61
59
 
62
- | | Free Version | PRO Version |
63
- |:-|:-:|:-:|
64
- | Blog | ✔️ | ✔️ |
65
- | Features (see above) | ✔️ | ✔️ |
66
- | [Portfolio] | | ✔️ |
67
- | [Resume] | | ✔️ |
68
- | [Welcome] | | ✔️ |
69
- | Briefcase full of $100 bills | | |
70
- | License | MIT | [PRO] |
71
- | Price | Free | $29 |
72
- | | [**Download on GitHub**][download]<br/> – or – <br/>[**Use the RubyGem**][gem] | [**Buy on Simple Goods**][buy] [^3] |
60
+ | Version | Free | PRO |
61
+ |:---------------------------------|:------------------:|:------------------:|
62
+ | Blog | &#x2714; | &#x2714; |
63
+ | Features (see below) | &#x2714; | &#x2714; |
64
+ | [Portfolio] Layout | | &#x2714; |
65
+ | [Resume] Layout | | &#x2714; |
66
+ | [Welcome] Layout | | &#x2714; |
67
+ | License | [MIT][license] | [PRO] |
68
+ | Price | Free | $34 |
69
+ | | [**Download on GitHub**][download]<br/> -- or -- <br/>[**Use the RubyGem**][gem] | [**Buy Now – $34**][buy] [^3] |
73
70
 
74
71
 
75
72
  [^1]: Applies after the initial page load.
@@ -81,10 +78,13 @@ usage of 3rd party plugins.
81
78
  [portfolio]: https://qwtel.com/hydejack/projects/
82
79
  [resume]: https://qwtel.com/hydejack/resume/
83
80
  [welcome]: https://qwtel.com/hydejack/
84
- [pro]: https://qwtel.com/hydejack/docs/6.4.1/pro-license/
85
- [docs]: https://qwtel.com/hydejack/docs/6.4.1/
86
- [download]: https://github.com/qwtel/hydejack/releases/tag/v6.4.1
87
- [gem]: https://rubygems.org/gems/jekyll-theme-hydejack/versions/6.4.1
81
+
82
+ [license]: LICENSE.md
83
+ [pro]: licenses/PRO-license.md
84
+ [docs]: docs/6.5.0/index.md
85
+
86
+ [download]: https://github.com/qwtel/hydejack/releases/tag/v6.5.0
87
+ [gem]: https://rubygems.org/gems/jekyll-theme-hydejack/versions/6.5.0
88
88
  [buy]: https://app.simplegoods.co/i/AQTTVBOE
89
89
  [wiki]: https://github.com/qwtel/hydejack/wiki
90
90
  [gpss]: https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fqwtel.com%2Fhydejack%2F
@@ -1,4 +1,4 @@
1
- {% assign author = site.data.authors[page.author] | default:site.data.authors.first[1] %}
1
+ {% assign author = site.data.authors[page.author] | default:site.data.authors.first[1] | default:site.author %}
2
2
 
3
3
  {% if author.about %}
4
4
  <aside class="author" role="complementary">
@@ -1,6 +1,6 @@
1
- <!-- =============== -->
2
- <!-- MENU -->
3
- <!-- =============== -->
1
+ {% comment %}---------------------------
2
+ MENU
3
+ ------------------------{% endcomment %}
4
4
  <div class="navbar fixed-top">
5
5
  <div class="content">
6
6
  <span class="sr-only">Jump to:</span>
@@ -10,9 +10,9 @@
10
10
  </div>
11
11
  </div>
12
12
 
13
- <!-- =============== -->
14
- <!-- CONTENT -->
15
- <!-- =============== -->
13
+ {% comment %}---------------------------
14
+ CONTENT
15
+ ------------------------{% endcomment %}
16
16
  <div id="_yPushState">
17
17
  <div class="fade-in">
18
18
  <main id="_main" class="content" role="main" data-color="{{ color | escape }}" data-image="{{ image | escape }}">
@@ -28,7 +28,7 @@
28
28
  {% include sidebar.html %}
29
29
  </div>
30
30
 
31
- <!-- =============== -->
32
- <!-- SCRIPTS -->
33
- <!-- =============== -->
31
+ {% comment %}---------------------------
32
+ SCRIPTS
33
+ ------------------------{% endcomment %}
34
34
  {% include scripts.html %}
@@ -4,6 +4,6 @@
4
4
  {{ site.copyright | markdownify }}
5
5
  {% endif %}
6
6
  <p>
7
- <code>Powered by <a href="https://qwtel.com/hydejack/">Hydejack</a> v<span id="_version">6.4.1</span></code>
7
+ <code>Powered by <a href="https://qwtel.com/hydejack/">Hydejack</a> v<span id="_version">6.5.0</span></code>
8
8
  </p>
9
9
  </footer>
@@ -1,6 +1,6 @@
1
- <!-- =============== -->
2
- <!-- META -->
3
- <!-- =============== -->
1
+ {% comment %}---------------------------
2
+ META
3
+ ------------------------{% endcomment %}
4
4
  <meta charset="utf-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1">
6
6
  <meta name="format-detection" content="telephone=no">
@@ -8,7 +8,7 @@
8
8
 
9
9
  {% capture title %}
10
10
  {% if page.url == "/" %}
11
- {{ site.title }} &middot; {{ site.tagline }}
11
+ {{ site.title }}{% if site.tageline %} &middot; {{ site.tagline }}{% endif %}
12
12
  {% elsif page.title.size > 0 %}
13
13
  {{ page.title }} &middot; {{ site.title }}
14
14
  {% else %}
@@ -36,9 +36,9 @@
36
36
  <meta name="keywords" content="{{ site.keywords | default: page.keywords | join:',' }}">
37
37
  {% endif %}
38
38
 
39
- <!-- =============== -->
40
- <!-- LINKS -->
41
- <!-- =============== -->
39
+ {% comment %}---------------------------
40
+ LINKS
41
+ ------------------------{% endcomment %}
42
42
  <link rel="canonical" href="{{ page.url | absolute_url }}">
43
43
 
44
44
  <link rel="alternate" type="application/atom+xml" title="{{ site.title }} Feed" href="{{ site.feed.path | default:'feed.xml' | absolute_url }}">
@@ -51,12 +51,32 @@
51
51
  <link rel="next" href="{{ page.next.url | absolute_url }}">
52
52
  {% endif %}
53
53
 
54
- <link rel="apple-touch-icon" href="{{ 'apple-touch-icon.png' | absolute_url }}">
54
+ <link rel="apple-touch-icon" href="{{ 'apple-touch-icon.png' | relative_url }}">
55
55
  <!-- Place favicon.ico in the root directory -->
56
56
 
57
- <!-- =============== -->
58
- <!-- SCRIPTS -->
59
- <!-- =============== -->
57
+ {% comment %}---------------------------
58
+ SCRIPTS
59
+ ------------------------{% endcomment %}
60
+ <!--[if gt IE 8]><!---->
61
+ {% assign google_fonts = site.google_fonts | default:"Roboto+Slab:700|Noto+Sans:400,400i,700,700i" %}
62
+ {% capture icons_url %}{% link assets/icomoon/style.css %}{% endcapture %}
63
+ <script>
64
+ WebFontConfig = {
65
+ {% unless site.no_google_fonts %}
66
+ google: {
67
+ families: '{{ google_fonts }}'.split('|')
68
+ },
69
+ {% endunless %}
70
+
71
+ custom: {
72
+ families: ['icomoon'],
73
+ urls: ['{{ icons_url | relative_url }}']
74
+ }
75
+ };
76
+ </script>
77
+ <script async src="https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js"></script>
78
+ <!--<![endif]-->
79
+
60
80
  <script>
61
81
  {% include scripts/load-js-deferred.min.js %}
62
82
  {% include scripts/loadCSS.min.js %}
@@ -69,9 +89,9 @@
69
89
  <script src="https://unpkg.com/html5shiv/dist/html5shiv.min.js"></script>
70
90
  <![endif]-->
71
91
 
72
- <!-- =============== -->
73
- <!-- STYLES -->
74
- <!-- =============== -->
92
+ {% comment %}---------------------------
93
+ STYLES
94
+ ------------------------{% endcomment %}
75
95
  <!--[if gt IE 8]><!---->
76
96
  <style>
77
97
  {% capture include_to_scssify %}
@@ -80,17 +100,17 @@
80
100
  {{ include_to_scssify | scssify }}
81
101
  </style>
82
102
 
83
- {% capture style_url %}{% link assets/css/hydejack.css %}?v=6.4.1{% endcapture %}
84
- <link rel="preload" href="{{ style_url | absolute_url }}" as="style" onload="this.rel='stylesheet'">
103
+ {% capture style_url %}{% link assets/css/hydejack.css %}?v=6.5.0{% endcapture %}
104
+ <link rel="preload" href="{{ style_url | relative_url }}" as="style" onload="this.rel='stylesheet'">
85
105
 
86
106
  {% include page-style.html %}
87
107
 
88
108
  <noscript>
89
- <link rel="stylesheet" href="{{ style_url | absolute_url }}">
109
+ <link rel="stylesheet" href="{{ style_url | relative_url }}">
90
110
 
91
- {% assign font = site.font | default:"'Noto Serif', Georgia, serif" %}
111
+ {% assign font = site.font | default:"'Noto Sans', Helvetica, Arial, sans-serif" %}
92
112
  {% assign font_heading = site.font_heading | default:"'Roboto Slab', Helvetica, Arial, sans-serif" %}
93
- {% assign google_fonts = site.google_fonts | default:"Roboto+Slab:700|Noto+Serif:400,400i,700,700i" %}
113
+ {% assign google_fonts = site.google_fonts | default:"Roboto+Slab:700|Noto+Sans:400,400i,700,700i" %}
94
114
 
95
115
  {% unless site.no_google_fonts %}
96
116
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family={{ google_fonts }}">
@@ -101,6 +121,6 @@
101
121
  {% endunless %}
102
122
 
103
123
  {% capture icons_url %}{% link assets/icomoon/style.css %}{% endcapture %}
104
- <link rel="stylesheet" href="{{ icons_url | absolute_url }}">
124
+ <link rel="stylesheet" href="{{ icons_url | relative_url }}">
105
125
  </noscript>
106
126
  <!--<![endif]-->
@@ -1,4 +1,5 @@
1
- /* __ __ __ __
1
+ /*
2
+ * __ __ __ __
2
3
  * /\ \/\ \ /\ \ __ /\ \
3
4
  * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
4
5
  * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
@@ -8,5 +9,5 @@
8
9
  * /\___/ \ \____/
9
10
  * \/__/ \/___/
10
11
  *
11
- * Powered by Hydejack v6.4.1 (https://qwtel.com/hydejack/)
12
+ * Powered by Hydejack v6.5.0 (https://qwtel.com/hydejack/)
12
13
  */
@@ -0,0 +1,7 @@
1
+ {% comment %}
2
+ <script>
3
+ document.getElementById('_yPushState').addEventListener('y-push-state-load', function() {
4
+ // <your init code>
5
+ });
6
+ </script>
7
+ {% endcomment %}
@@ -7,34 +7,11 @@
7
7
  </script>
8
8
  {% endif %}
9
9
 
10
- {% assign google_fonts = site.google_fonts | default:"Roboto+Slab:700|Noto+Serif:400,400i,700,700i" %}
11
-
12
- {% capture icons_url %}{% link assets/icomoon/style.css %}{% endcapture %}
13
- <!--[if gt IE 8]><!---->
14
- <script>
15
- WebFontConfig = {
16
- {% unless site.no_google_fonts %}
17
- google: {
18
- families: '{{ google_fonts }}'.split('|')
19
- },
20
- {% endunless %}
21
-
22
- custom: {
23
- families: ['icomoon'],
24
- urls: ['{{ icons_url | relative_url }}']
25
- }
26
- };
27
- loadJSDeferred('https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js');
28
- </script>
29
- <!--<![endif]-->
30
-
31
10
  {% unless page.redirect %}
32
11
  <!--[if gt IE 9]><!---->
33
- {% capture js_url %}{% link assets/js/hydejack.js %}?v=6.4.1{% endcapture %}
12
+ {% capture js_url %}{% link assets/js/hydejack.js %}?v=6.5.0{% endcapture %}
34
13
  <script>loadJSDeferred('{{ js_url | relative_url }}');</script>
35
14
 
36
- {% comment %}
37
- {% include my-scripts.html %}
38
- {% endcomment %}
15
+ {% include my-scripts.html %}
39
16
  <!--<![endif]-->
40
17
  {% endunless %}
@@ -11,8 +11,9 @@
11
11
  {% include nav.html %}
12
12
  </nav>
13
13
 
14
- {% assign author = site.data.authors.first[1] %}
15
- {% if author.social %}
14
+ {% assign author = site.data.authors.first[1] | default:site.author %}
15
+
16
+ {% if author.social or site.github_username or site.twitter_username %}
16
17
  <div class="sidebar-social">
17
18
  {% include social.html social=author.social %}
18
19
  </div>
@@ -1,22 +1,34 @@
1
1
  {% assign platform = include.platform | downcase %}
2
2
  {% assign username = include.username %}
3
- {% assign icon = include.icon %}
4
3
 
5
- {% unless icon %}
6
- {% assign icon = platform %}
7
- {% endunless %}
4
+ {% assign = data_social = site.data.social[platform] | default:site.data_social[platform] %}
5
+
6
+ {% assign name = data_social.name | default:include.platform %}
7
+ {% assign icon = data_social.icon | default:'icon-link' %}
8
+ {% assign app = data_social.append %}
9
+ {% assign prep = data_social.prepend %}
8
10
 
9
- {% assign = data_social = site.data.social[icon] %}
11
+ {% unless data_social %}
12
+ {% if platform == "twitter" %}
13
+ {% assign name = "Twitter" %}
14
+ {% assign icon = "icon-twitter" %}
15
+ {% assign prep = "https://twitter.com/" %}
16
+ {% elsif platform == "github" %}
17
+ {% assign name = "GitHub" %}
18
+ {% assign icon = "icon-github" %}
19
+ {% assign prep = "https://github.com/" %}
20
+ {% endif %}
21
+ {% endunless %}
10
22
 
11
23
  {% if username contains "//" %}
12
24
  {% assign url = username %}
13
25
  {% else %}
14
- {% assign url = username | prepend:data_social.prepend | append:data_soical.append %}
26
+ {% assign url = username | prepend:prep | append:app %}
15
27
  {% endif %}
16
28
 
17
29
  <li>
18
- <a href="{{ url }}">
19
- <span class="{{ data_social.icon | default:'icon-link' }}" title="{{ data_social.name }}"></span>
20
- <span class="sr-only">{{ data_social.name }}</span>
30
+ <a href="{{ url }}" title="{{ name }}">
31
+ <span class="{{ icon }}"></span>
32
+ <span class="sr-only">{{ name }}</span>
21
33
  </a>
22
34
  </li>
@@ -3,4 +3,12 @@
3
3
  {% for link in include.social %}
4
4
  {% include social-list-item.html platform=link.first username=link.last %}
5
5
  {% endfor %}
6
+
7
+ {% if site.twitter_username and include.social.twitter == null %}
8
+ {% include social-list-item.html platform="twitter" username=site.twitter_username %}
9
+ {% endif %}
10
+
11
+ {% if site.github_username and include.social.github == null %}
12
+ {% include social-list-item.html platform="github" username=site.github_username %}
13
+ {% endif %}
6
14
  </ul>
@@ -35,9 +35,12 @@
35
35
  // @import "syntax";
36
36
  // @import "spinner";
37
37
 
38
- {% assign font = site.font | default:"'Noto Serif', Georgia, serif" %}
38
+ @import "my-inline";
39
+ // @import "my-style";
40
+
41
+ {% assign font = site.font | default:"'Noto Sans', Helvetica, Arial, sans-serif" %}
39
42
  {% assign font_heading = site.font_heading | default:"'Roboto Slab', Helvetica, Arial, sans-serif" %}
40
- {% assign google_fonts = site.google_fonts | default:"Roboto+Slab:700|Noto+Serif:400,400i,700,700i" %}
43
+ {% assign google_fonts = site.google_fonts | default:"Roboto+Slab:700|Noto+Sans:400,400i,700,700i" %}
41
44
 
42
45
  {% unless site.no_google_fonts %}
43
46
  {% assign font = font | split:',' | shift | join:',' %}
@@ -35,9 +35,12 @@
35
35
  @import "syntax";
36
36
  @import "spinner";
37
37
 
38
- {% assign font = site.font | default:"'Noto Serif', Georgia, serif" %}
38
+ // @import "my-inline";
39
+ @import "my-style";
40
+
41
+ {% assign font = site.font | default:"'Noto Sans', Helvetica, Arial, sans-serif" %}
39
42
  {% assign font_heading = site.font_heading | default:"'Roboto Slab', Helvetica, Arial, sans-serif" %}
40
- {% assign google_fonts = site.google_fonts | default:"Roboto+Slab:700|Noto+Serif:400,400i,700,700i" %}
43
+ {% assign google_fonts = site.google_fonts | default:"Roboto+Slab:700|Noto+Sans:400,400i,700,700i" %}
41
44
 
42
45
  {% unless site.no_google_fonts %}
43
46
  .wf-active {
@@ -2,7 +2,7 @@
2
2
  layout: base
3
3
  ---
4
4
 
5
- {% assign author = site.data.authors[page.author] | default:site.data.authors.first[1] %}
5
+ {% assign author = site.data.authors[page.author] | default:site.data.authors.first[1] | default:site.author %}
6
6
 
7
7
  <article class="page" role="article">
8
8
  {% if author.picture %}
@@ -2,10 +2,10 @@
2
2
  layout: compress
3
3
  ---
4
4
 
5
- {% assign author = site.data.authors[page.author] | default:site.data.authors.first[1] %}
5
+ {% assign author = site.data.authors[page.author] | default:site.data.authors.first[1] | default:site.author %}
6
6
 
7
+ {% assign image = site.image %}
7
8
  {% assign color = site.color | default:'#4f86aa' %}
8
- {% assign image = site.image | default:'/assets/img/nap.jpg' %}
9
9
 
10
10
  {% if page.categories.size > 0 %}
11
11
  {% assign category_name = page.categories.first %}
@@ -17,7 +17,7 @@
17
17
  /\___/ \ \____/
18
18
  \/__/ \/___/
19
19
 
20
- Powered by Hydejack v6.4.1 (https://qwtel.com/hydejack/)
20
+ Powered by Hydejack v6.5.0 (https://qwtel.com/hydejack/)
21
21
  -->{% capture _LINE_FEED %}
22
22
  {% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
23
23
  </html>