【发布时间】:2020-12-31 23:27:11
【问题描述】:
我有一个幽灵博客,当用户滚动每篇文章的一半时,我想弹出一个包含内容的 div 元素。
我会怎么做呢?我可以将代码粘贴到代码注入区,上面写着:
Site Header
Code here will be injected into the {{ghost_head}} tag on every page of the site
【问题讨论】:
标签: ghost-blog
我有一个幽灵博客,当用户滚动每篇文章的一半时,我想弹出一个包含内容的 div 元素。
我会怎么做呢?我可以将代码粘贴到代码注入区,上面写着:
Site Header
Code here will be injected into the {{ghost_head}} tag on every page of the site
【问题讨论】:
标签: ghost-blog
如果您想将代码注入到 ghost 博客的正文中,您可能可以在 code injection 选项中使用 ghost_foot。
如果您想在<head>...</head> 之间添加代码,请在code injection 中使用ghost_head。
【讨论】: