【发布时间】:2020-05-12 16:03:29
【问题描述】:
我想创建一个 html 页面并在 amp-iframe 标签的 src 属性中使用它。 然后 amp-iframe 标记(正如我从一些示例中理解的那样)创建 iframe 并加载 html 页面。 但是在 drupal 中,我找不到在树枝模板中使用此 html 页面的方法。 有没有办法在drupal中找到这个html页面的路径并在src中使用这个路径? 我知道 drupal 可以使用模板和树枝文件,但在 amp 示例中每个人都使用 html。
【问题讨论】:
-
您好,欢迎来到 StackOverflow。请花一些时间阅读帮助页面,尤其是名为"What topics can I ask about here?" 和"What types of questions should I avoid asking?" 的部分。此外,请阅读Stack Overflow question checklist。还可以了解如何发帖Minimal, Complete, and Verifiable Examples。
标签: iframe drupal twig drupal-8 amp-html