Skip to content

Instantly share code, notes, and snippets.

@gkhays
Forked from mattborn/body.html
Created March 18, 2016 00:50
Show Gist options
  • Save gkhays/ee7ce6074b95b23d98ad to your computer and use it in GitHub Desktop.
Save gkhays/ee7ce6074b95b23d98ad to your computer and use it in GitHub Desktop.
Relative gist files

Messed up that first one

TODO

Real Dancing Baby

Note: adding the image as image.gif truncated the files after it (index.html and readme.md) on the gist page, so I renamed it to z.gif which resolved the issue

<h1>Hello world!</h1>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Relative gist files</title>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.js"></script>
<script>
$(function () {
$('body').load('body.html');
});
</script>
</head>
<body>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment