Here’s how I coaxed jekyll into allowing me to link to external content with a single line of javascript.
Jekyll is hard, html is easy
For some reason jekyll doesn’t like putting links to external content within the navbar. I fixed this with a little bit of javascript.
Edit yourlink.html
---
% yourlink
---
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
window.location.replace("https://your.custom.link");
</script>
</head>
<body>
<p>
You're being redirected to
<a href="https://your.custom.link"> https://your.custom.link</a>.
If the page doesn't load automatically please click the link.
</p>
</body>
</html>
Edit your _config.yml
header_pages: - index.markdown - yourlink.html
Monero:
Bitcoin:
http://ilsstfnqt4vpykd2bqc7ntxf2tqupqzi6d5zmk767qtingw2vp2hawyd.onion:8080
http://xzh77mcyknkkghfqpwgzosukbshxq3nwwe2cg3dtla7oqoaqknia.b32.i2p:9090
|
