Skip to content

Commit

Permalink
8.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
qwtel committed Feb 1, 2019
1 parent 03610d3 commit d1155d5
Show file tree
Hide file tree
Showing 21 changed files with 78 additions and 85 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ vendor/bundle
*.gem
_zip

/assets/js/hydejack-*
#<removed>
2 changes: 1 addition & 1 deletion _includes/body/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{% endfor %}
</small></nav>
{% endif %}
<p><small>Powered by <a class="external" href="https://hydejack.com/">Hydejack</a> v<span id="_version">8.1.1</span></small></p>
<p><small>Powered by <a class="external" href="https://hydejack.com/">Hydejack</a> v<span id="_version">8.2.0</span></small></p>
<hr class="sr-only"/>
</footer>
{% endif %}
2 changes: 1 addition & 1 deletion _includes/head/links.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
This is to avoid hard-coding URLs in JS (where they can't be discovered by automated tools).
-->{% endcomment %}
<link rel="dns-prefetch" href="{{ '/' | relative_url }}" id="_baseURL">
<link rel="dns-prefetch" href="{{ '/assets/js/hydejack-8.1.1.js' | relative_url }}" id="_hrefJS">
<link rel="dns-prefetch" href="{{ '/assets/js/hydejack-8.2.0.js' | relative_url }}" id="_hrefJS">
<link rel="dns-prefetch" href="{{ '/sw.js' | relative_url }}" id="_hrefSW">
<link rel="dns-prefetch" href="{{ '/assets/bower_components/fontfaceobserver/fontfaceobserver.standalone.js'| relative_url }}" id="_hrefFFO">
<link rel="dns-prefetch" href="{{ '/assets/bower_components/katex/dist/katex.min.js' | relative_url }}" id="_hrefKatexJS">
Expand Down
2 changes: 1 addition & 1 deletion _includes/head/meta.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@
<meta name="theme-color" content="{{ theme_color | default:'#193747' }}">
{% endunless %}

<meta name="generator" content="Hydejack v8.1.1" />
<meta name="generator" content="Hydejack v8.2.0" />
2 changes: 1 addition & 1 deletion _includes/head/styles.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--[if gt IE 8]><!---->
{% capture style_url %}{% link assets/css/hydejack-8.1.1.css %}{% endcapture %}
{% capture style_url %}{% link assets/css/hydejack-8.2.0.css %}{% endcapture %}
{% capture icons_url %}{% link assets/icomoon/style.css %}{% endcapture %}
{% capture fonts_url %}https://fonts.googleapis.com/css?family={{ google_fonts }}{% endcapture %}

Expand Down
2 changes: 1 addition & 1 deletion _includes/header.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
* /\___/ \ \____/
* \/__/ \/___/
*
* Powered by Hydejack v8.1.1 <https://hydejack.com/>
* Powered by Hydejack v8.2.0 <https://hydejack.com/>
*/
2 changes: 1 addition & 1 deletion _js/lib/version.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 12 additions & 14 deletions _js/src/drawer.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,21 +142,20 @@ if (!window._noDrawer && hasFeatures(REQUIREMENTS) && !isUCBrowser) {

function setupDrawer() {
const size$ = createXObservable(ResizeObserver)(drawerEl).pipe(
map(
() =>
window.matchMedia(BREAK_POINT_DYNAMIC).matches
? LARGE_DESKTOP
: window.matchMedia(BREAK_POINT_3).matches
? DESKTOP
: MOBILE
map(() =>
window.matchMedia(BREAK_POINT_DYNAMIC).matches
? LARGE_DESKTOP
: window.matchMedia(BREAK_POINT_3).matches
? DESKTOP
: MOBILE
),
share(),
startWith(
window.matchMedia(BREAK_POINT_DYNAMIC).matches
? LARGE_DESKTOP
: window.matchMedia(BREAK_POINT_3).matches
? DESKTOP
: MOBILE
? DESKTOP
: MOBILE
)
);

Expand All @@ -169,11 +168,10 @@ if (!window._noDrawer && hasFeatures(REQUIREMENTS) && !isUCBrowser) {
// the middle point of the screen and the middle point of the drawer.
const dist$ = drawerWidth$.pipe(
withLatestFrom(size$),
map(
([drawerWidth, s]) =>
s >= DESKTOP
? document.body.clientWidth / 2 - drawerWidth / 2
: document.body.clientWidth / 2
map(([drawerWidth, s]) =>
s >= DESKTOP
? document.body.clientWidth / 2 - drawerWidth / 2
: document.body.clientWidth / 2
)
);

Expand Down
2 changes: 1 addition & 1 deletion _layouts/compress.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
/\___/ \ \____/
\/__/ \/___/
Powered by Hydejack v8.1.1 <https://hydejack.com/>
Powered by Hydejack v8.2.0 <https://hydejack.com/>
-->{% capture _LINE_FEED %}
{% 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 %}</html>
7 changes: 1 addition & 6 deletions _sass/hydejack/__link__/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,7 @@ main > footer {
}

@media print {
position: static;
margin-top: 5rem;

.legal {
display: none;
}
display: none;
}
}

File renamed without changes.
47 changes: 0 additions & 47 deletions assets/js/hydejack-8.1.1.js

This file was deleted.

47 changes: 47 additions & 0 deletions assets/js/hydejack-8.2.0.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "8.1.1"
"version": "8.2.0"
}
2 changes: 1 addition & 1 deletion docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ author:
social:
email: [email protected]
rss: {{ site.url }}{{ site.baseurl }}/feed.xml # make sure you provide an absolute URL
download: https://github.com/qwtel/hydejack/archive/v8.1.1.zip
download: https://github.com/qwtel/hydejack/archive/v8.2.0.zip
~~~


Expand Down
6 changes: 3 additions & 3 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ If you have a GitHub account, fork the [hy-starter-kit](https://github.com/qwtel

Alternatively, you can just [![Deploy to Netlify][dtn]{:data-ignore=""}][nfy]{:.no-hover.no-mark}.

[src]: https://github.com/qwtel/hy-starter-kit/archive/v8.1.1.zip
[src]: https://github.com/qwtel/hy-starter-kit/archive/v8.2.0.zip
[nfy]: https://app.netlify.com/start/deploy?repository=https://github.com/qwtel/hydejack-starter-kit
[dtn]: https://www.netlify.com/img/deploy/button.svg

Expand Down Expand Up @@ -151,7 +151,7 @@ For new installations only the `install` folder is relevant.
Unzip the archive somewhere on your machine, then `cd` *into* the `install` folder, e.g.

~~~bash
$ cd ~/Downloads/hydejack-pro-8.1.1/install/
$ cd ~/Downloads/hydejack-pro-8.2.0/install/
~~~

You can now continue with [Running locally](#running-locally).
Expand All @@ -165,7 +165,7 @@ It is located at `<dowloaded zip>/.ssh/hydejack_8_pro`.
You have to copy the key file to `~/.ssh` (or wherever your SSH keys are located), e.g.:

~~~bash
$ cp ~/Downloads/hydejack-pro-8.1.1/.ssh/hydejack_8_pro ~/.ssh/
$ cp ~/Downloads/hydejack-pro-8.2.0/.ssh/hydejack_8_pro ~/.ssh/
~~~

It is required that your private key files are NOT accessible by others, e.g.:
Expand Down
2 changes: 1 addition & 1 deletion docs/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ especially the part about the [license change](../CHANGELOG.md#license-change)!
When using the Starter Kit, upgrading Hydejack is as simple as setting the `remote_theme` key in `config.yml` to the desired version.

```yml
remote_theme: qwtel/hydejack@v8.1.1
remote_theme: qwtel/hydejack@v8.2.0
```
To use the latest version on the `v8` branch on each build, you can use `qwtel/hydejack@v8`.
Expand Down
2 changes: 1 addition & 1 deletion hydejack/_posts/2017-05-03-javascripten.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ See the [the migration guide][upgrade] for instructions on how to upgrade.

***

[Get *JavaScripten* on GitHub](https://github.com/qwtel/hydejack/releases/tag/v8.1.1)
[Get *JavaScripten* on GitHub](https://github.com/qwtel/hydejack/releases/tag/v8.2.0)

[upgrade]: ../../docs/upgrade.md
[writing]: ../../docs/writing.md
Expand Down
2 changes: 1 addition & 1 deletion hydejack/_posts/2017-07-27-better-gem-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ For the full patch notes, read on.
social:
github: https://github.com/qwtel/hydejack
npm: https://www.npmjs.com/package/hydejack
download: https://github.com/qwtel/hydejack/archive/v8.1.1.zip
download: https://github.com/qwtel/hydejack/archive/v8.2.0.zip

data_social:
github:
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hydejack",
"version": "8.1.1",
"version": "8.2.0",
"description": "The best Jekyll theme by a mile",
"scripts": {
"clean": "rm -f assets/js/hydejack-*.js",
Expand Down

0 comments on commit d1155d5

Please sign in to comment.