Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/starter-kit' into v9
Browse files Browse the repository at this point in the history
# Conflicts:
#	Gemfile.lock
  • Loading branch information
qwtel committed Nov 30, 2021
2 parents 980b6fa + 309f7cb commit 8636226
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 68 deletions.
6 changes: 3 additions & 3 deletions _data/authors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ author1:
# This photo will be used in the about section
picture:
path: https://placehold.it/128x128
path: https://via.placeholder.com/128x128
# srcset is optional, but can be used to provide higher res versions for retina displays
srcset:
1x: https://placehold.it/128x128
2x: https://placehold.it/256x256
1x: https://via.placeholder.com/128x128
2x: https://via.placeholder.com/256x256

# Social media icons in sidebar
# Comment/uncommet to show/hide
Expand Down
63 changes: 0 additions & 63 deletions _includes/my-head.html
Original file line number Diff line number Diff line change
@@ -1,63 +0,0 @@
<!--
Code used for embedding Gumroad on the Hydejack Site.
Left here for reference, feel free to delete.
-->
<link rel="dns-prefetch" href="https://assets.gumroad.com">
<script defer data-domain="hydejack.com" src="https://plausible.io/js/plausible.js"></script>
<script type="module">
const ppiData = window._ppiData = fetch('https://hydejack-ppi.qwtel.workers.dev', { mode: 'cors'}).then(res => res.json()).catch(() => ({}));
const promisify = f => x => new Promise(r => f(x).addEventListener('load', r));
const loadJS = promisify(window.loadJS);
{
let p;
document.querySelector('hy-push-state').addEventListener('load', () => {
const io = new IntersectionObserver(async (entries) => {
if (entries.some(x => x.isIntersecting)) {
p = p || loadJS('https://gumroad.com/js/gumroad-embed.js');
const [{ code }] = await Promise.all([ppiData, p]);
document.querySelectorAll('.gumroad-product-embed').forEach(el => {
if (!el.dataset.gumroadParams) {
el.dataset.gumroadParams = 'offer_code=' + (code || 'qr0tw8m');
}
});
if (!window.GumroadEmbed) {
await new Promise(function check1(res) {
if ('createGumroadEmbed' in window) res(window.createGumroadEmbed());
else setTimeout(() => check1(res), 200);
});
}
await new Promise(function check2(res) {
if ('GumroadEmbed' in window) res(GumroadEmbed.reload());
else setTimeout(() => check2(res), 200);
});
}
}, { rootMargin: '1440px' });
document.querySelectorAll('.gumroad-product-embed').forEach(el => io.observe(el));
});
}
{
let p;
document.querySelector('hy-push-state').addEventListener('load', () => {
const io = new IntersectionObserver(async (entries) => {
if (entries.some(x => x.isIntersecting)) {
p = p || loadJS('https://gumroad.com/js/gumroad.js');
const [{ code }] = await Promise.all([ppiData, p]);
if (code) {
document.querySelectorAll('.gumroad-button').forEach(el => {
if (!el.href.endsWith(code)) {
el.href = el.href + '/' + (code || 'qr0tw8m');
}
});
}
if (!window.GumroadOverlay) {
await new Promise(function check(res) {
if ('createGumroadOverlay' in window) res(window.createGumroadOverlay());
else setTimeout(() => check(res), 200);
});
}
}
}, { rootMargin: '300px' });
document.querySelectorAll('.gumroad-button').forEach(el => io.observe(el));
});
}
</script>
3 changes: 1 addition & 2 deletions about.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ description: >
A boutique Jekyll theme for hackers, nerds, and academics,
with a focus on personal sites that are meant to impress.
hide_description: true
permalink: /
redirect_from:
- /download/
---
Expand Down Expand Up @@ -62,7 +61,7 @@ A portfolio that's guaranteed to be impressive — no matter what you put into i
## A Printable Resume
Get a resume that's consistent across the board — whether it's on the web, mobile, print, or [PDF](assets/Resume.pdf).

[![Resume PDF](assets/img/blog/resume.png){:.lead width="884" height="632" loading="lazy"}][resume]{:.no-hover}
[![Resume PDF](assets/img/blog/resume.png){:.lead width="884" height="632" loading="lazy"}][resume]{:.no-hover.no-mark}

Front and center page of a print resume generated by Hydejack.
{:.figcaption}
Expand Down

0 comments on commit 8636226

Please sign in to comment.