hydecorp / hydejack

A boutique Jekyll theme for hackers, nerds, and academics
https://hydejack.com
Other
1.42k stars 804 forks source link

Don't use include_cache on head/links.html #266

Closed rmgrimm closed 3 years ago

rmgrimm commented 3 years ago

This resolves an issue where the base index page would include the wrong URL for a would-be self-referencing hreflang link.

For example, today https://hydejack.com has a would-be self link as follows:

<link rel="alternate" href="https://hydejack.com/blog/hyde/2012-02-06-whats-jekyll/" hreflang="en">

After changing to include from include_cache, it would be correct:

<link rel="alternate" href="https://hydejack.com/" hreflang="en">
qwtel commented 3 years ago

Again, thanks for catching this.