Skip to content

Commit

Permalink
Merge branch 'starter-kit' into v9
Browse files Browse the repository at this point in the history
# Conflicts:
#	#jekyll-theme-hydejack
#	Gemfile.lock
  • Loading branch information
qwtel committed Jul 7, 2020
2 parents 556aa71 + 20f6f1c commit 3deb518
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 13 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ layout: page
* this list will be replaced by the toc
{:toc .large-only}

## v9.0.2
July 7 2020
{:.heading.post-date}

* Fixed a bug that prevented the search from updating when offline is enabled
* Fixed a bug that caused search terms to get lost during initialization
* Fixed a bug that prevented `site.legal` from getting stored for offline during service worker installation
* Added support to for `no-cache` param to service worker.

## v9.0.1
July 6 2020
{:.heading.post-date}
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ GEM
sassc (> 2.0.1, < 3.0)
jekyll-sitemap (1.4.0)
jekyll (>= 3.7, < 5.0)
jekyll-theme-hydejack (9.0.1)
jekyll-theme-hydejack (9.0.2)
jekyll (>= 3.8, < 5.0)
jekyll-include-cache (~> 0.2)
jekyll-titles-from-headings (0.5.3)
Expand Down
2 changes: 1 addition & 1 deletion about.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ Use the the form below to purchase Hydejack PRO:
[ofln]: docs/advanced.md#enabling-offline-support
[math]: docs/writing.md#adding-math

[kit]: https://github.com/hydecorp/hydejack-starter-kit/archive/v9.0.1.zip
[kit]: https://github.com/hydecorp/hydejack-starter-kit/archive/v9.0.2.zip
[src]: https://github.com/hydecorp/hydejack
[gem]: https://rubygems.org/gems/jekyll-theme-hydejack
[buy]: https://gum.co/nuOluY
Expand Down
9 changes: 6 additions & 3 deletions docs/advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,20 @@ The current implementation does not cache resources from external domains. There
For example, Google Analytics uses GET requests to send page views, each of which would be cached by the service worker without this policy. Frequently updating images, such as badges would never change.
![Gem Version][gemv]
![Gem Version](https://badge.fury.io/rb/jekyll-theme-hydejack.svg)
However, if you include resources that are hosted on another domain and don't change, you can add the `sw-cache` query parameter to the URL, e.g.

https://upload.wikimedia.org/wikipedia/commons/b/b1/57_Chevy_210.jpg?sw-cache

This will cause them to be cached like resources from the assets folder.

![57 Chevy](https://upload.wikimedia.org/wikipedia/commons/b/b1/57_Chevy_210.jpg?sw-cache)
If you want to serve a file from the `assets` folder but NOT cache it for offline use, add the `no-cache` query parameter instead:

/assets/lfs/download.bin?no-cache

[gemv]: https://badge.fury.io/rb/jekyll-theme-hydejack.svg

![57 Chevy](https://upload.wikimedia.org/wikipedia/commons/b/b1/57_Chevy_210.jpg?sw-cache)


### How offline storage works
Expand Down
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: mail@qwtel.com
rss: {{ site.url }}{{ site.baseurl }}/feed.xml # make sure you provide an absolute URL
download: https://github.com/hydecorp/hydejack/archive/v9.0.1.zip
download: https://github.com/hydecorp/hydejack/archive/v9.0.2.zip
~~~


Expand Down
4 changes: 2 additions & 2 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ You can now also [![Deploy to Netlify][dtn]][nfy]{:.no-mark-external} directly.
{:.note}

[hsc]: https://github.com/hydecorp/hydejack-starter-kit
[src]: https://github.com/hydecorp/hydejack-starter-kit/archive/v9.0.1.zip
[src]: https://github.com/hydecorp/hydejack-starter-kit/archive/v9.0.2.zip
[nfy]: https://app.netlify.com/start/deploy?repository=https://github.com/hydecorp/hydejack-starter-kit
[dtn]: https://www.netlify.com/img/deploy/button.svg

Expand Down Expand Up @@ -87,7 +87,7 @@ If you want to use your site with [GitHub Pages][ghp] exclusively, you can inste

```yml
# file: `_config.yml`
remote_theme: hydecorp/hydejack@v9.0.1
remote_theme: hydecorp/hydejack@v9.0.2
```
[ghp]: https://jekyllrb.com/docs/github-pages/
Expand Down
2 changes: 1 addition & 1 deletion docs/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ and you have to apply them again. Make sure you've made a backup before overwrit
When building on GitHub Pages, upgrading Hydejack is as simple as setting the `remote_theme` key in `_config.yml` to the desired version.

```yml
remote_theme: hydecorp/hydejack@v9.0.1
remote_theme: hydecorp/hydejack@v9.0.2
```
To use the latest version on the `v9` branch on each build, you can use `hydecorp/hydejack@v9`.
Expand Down
4 changes: 0 additions & 4 deletions example/_posts/2020-07-03-introducing-hydejack-9.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,16 @@
layout: post
title: Introducing Hydejack 9
image: /assets/img/blog/hydejack-9.jpg
tagline: Version 9 is the most complete version of Hydejack yet.
description: >
Version 9 is the most complete version of Hydejack yet.
Modernized design, big headlines, and big new features.
excerpt_separator: <!--more-->
---

Version 9 is the most complete version of Hydejack yet.
{:.lead}

[Modernized](#linking-in-style) [design](#whats-in-the-cards), [big headlines](#ready-for-the-big-screen), big new features: [Built-In Search](#built-in-search), [Sticky Table of Contents](#sticky-table-of-contents), and [Auto-Hiding Navbar](#auto-hiding-navbar). That [and more](#and-much-more) is Hydejack 9.

<!--more-->

- Table of Contents
{:toc .large-only}

Expand Down

0 comments on commit 3deb518

Please sign in to comment.