asp.net - 如何在 ASP.Net 中使用 Google AMP
问题描述
我正在尝试使用Google AMP
with Asp.Net
。
我唯一的代码是,
<script async custom-element="amp-iframe" src="https://cdn.ampproject.org/v0/amp-iframe-0.1.js"></script>
<amp-iframe width="200" height="100"
sandbox="allow-scripts allow-same-origin"
layout="responsive"
frameborder="0"
src="https://www.example.com/htmlfile.html">
</amp-iframe>
谁能帮我写代码?
谢谢
解决方案
我正在访问Amp.dev
据我所知,这是 Google AMP 的官方资源。