Created
January 5, 2016 16:16
-
-
Save adewale/7993b7ac919f549eaf27 to your computer and use it in GitHub Desktop.
Valid example of amp-list
This file contains hidden or 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"> | |
<title>amp-list examples</title> | |
<link rel="canonical" href="$SOME_URL" /> | |
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"> | |
<style>body {opacity: 0}</style><noscript><style>body {opacity: 1}</style></noscript> | |
<script async src="https://cdn.ampproject.org/v0.js"></script> | |
<script async custom-template="amp-mustache" src="https://cdn.ampproject.org/v0/amp-mustache-0.1.js"></script> | |
<script async src="https://cdn.ampproject.org/v0/amp-list-0.1.js"127.0.0.1 - - [05/Jan/2016 16:14:17] "GET /test.html HTTP/1.1" 200 - | |
<body> 127.0.0.1 - - [05/Jan/2016 16:14:17] "GET /test.html HTTP/1.1" 200 -ST *******</h2> | |
<amp-list width=300 height=200 src="https://s3-eu-west-1.amazonaws.com/gerswap/test.json"> | |
<template type="amp-mustache"> | |
127.0.0.1 - - [05/Jan/2016 16:11:42] "GET /test.html HTTP/1.1" 200 - | |
<p>text : {{text}}</p> 127.0.0.1 - - [05/Jan/2016 16:11:42] "GET /test.html HTTP/1.1" 200 - | |
</div> | |
</template> | |
</amp-list> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment