Last active
August 29, 2015 13:57
-
-
Save guillaumebort/9765767 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>Your prismic.io singlepage project</title> | |
<meta name="description" content=""> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<meta name="prismic-repository" content="https://lesbonneschoses.prismic.io/api"> | |
<script src="js/prismic.io-1.0.9.js"></script> | |
<script src="js/prismic.io-singlepage-1.0.0.js"></script> | |
</head> | |
<body> | |
<script type="text/prismic-query" data-binding="featuredProducts"> | |
[ | |
[:d = any(document.type, ["product"])] | |
[:d = at(document.tags, ["Featured"])] | |
] | |
</script> | |
<script type="text/prismic-query" data-binding="blogPosts"> | |
[ | |
[:d = any(document.type, ["blog-post"])] | |
] | |
</script> | |
<h1><%= featuredProducts.length %> featured products:</h1> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment