Skip to content

Instantly share code, notes, and snippets.

@adewale
Created January 5, 2016 16:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adewale/7993b7ac919f549eaf27 to your computer and use it in GitHub Desktop.
Save adewale/7993b7ac919f549eaf27 to your computer and use it in GitHub Desktop.
Valid example of amp-list
<!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