# DiscPage：一款用于创建静态页面并在文本中插入讨论气泡的插件

**URL:** https://meta.discourse.org/t/discpage-a-plugin-to-create-static-pages-and-insert-discussion-balloons-in-the-text/136841
**Category:** Plugin
**Tags:** deprecated
**Created:** [2019年十二月22日 20:23 UTC](https://meta.discourse.org/t/discpage-a-plugin-to-create-static-pages-and-insert-discussion-balloons-in-the-text/136841 "2019-12-22T20:23:32Z")
**Posts on this page:** 1
**Showing post:** 19

<div class="post-metadata">

### Author: ![syl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/syl/32/98883_2.png) [@syl](https://meta.discourse.org/u/syl)
#### Post date: [2020年七月23日 14:33 UTC](https://meta.discourse.org/t/discpage-a-plugin-to-create-static-pages-and-insert-discussion-balloons-in-the-text/136841/19 "2020-07-23T14:33:59Z")

</div>

> [@HERKE](#):
>
> 要 **编辑静态页面** ，请点击页面右上角的“铅笔”按钮

您已经创建了静态页面吗？能看到铅笔按钮吗？

> [@HERKE](#):
>
> 要 **设置静态页面的样式** ，请使用 `.dpg-page-content` 类

为静态页面设置样式与为标准的 Discourse 主题页面设置样式类似：您需要创建一个主题组件并进行自定义。这里有一个示例 [链接](https://meta.discourse.org/t/how-to-add-top-bar/70569)。您也可以在 meta 上搜索“主题组件”。`.dpg-page-content` 类允许创建仅应用于静态页面而非所有主题页面的 CSS 规则。

---

_[View the full topic](https://meta.discourse.org/t/discpage-a-plugin-to-create-static-pages-and-insert-discussion-balloons-in-the-text/136841)._
