ページの公開

:bookmark: このガイドでは、Discourse のページ発行機能の使用方法について説明します。この機能により、スタッフユーザーはトピックをカスタムスタイリングが施されたスタンドアロンの静的ページに変換できます。利用規約やプライバシーポリシーのページなどがこれにあたります。

:person_raising_hand: 必要なユーザーレベル: スタッフ

Discourse での静的ページの公開

ページ発行機能により、スタッフユーザーはトピックからスタンドアロンの静的ページを作成できます。これは、利用規約やプライバシーポリシーのページを作成するプロセスと似ています。

概要

このドキュメントでは、以下について説明します。

  • ページ発行の有効化
  • トピックをページとして発行する
  • トピックの発行を解除する
  • 一般的な問題と解決策
  • よくある質問 (FAQ)
  • その他のリソース

ページ発行の有効化

  1. 管理 > 設定 に移動します。
  2. ページ発行を有効にする 設定を有効にします。
    Enable Page Publishing

ログインが必要な場合にページ発行を有効にする

ユーザーがログインしていない場合でも公開されたページを表示できるようにするには:

  1. 管理 > 設定show_published_pages_login_required 設定を有効にします。
    Show Published Pages

トピックの発行

  1. 公開トピックの最初の投稿に移動し、省略記号アイコン (...) を選択します。
    Ellipsis Menu

  2. レンチアイコンを選択します。
    Wrench Icon

  3. 「ページ発行 (Page Publishing)」オプションを選択します。

  4. モーダルダイアログが表示され、スラッグ(投稿タイトルから事前入力可能)を確認し、発行されたページの URL をプレビューできます。

:warning: ページ発行を許可するには、セキュアアップロード (secure upload) サイト設定を無効にする必要があります。

⋌small>:information_source: ホストされているサイトの場合、セキュアアップロードはエンタープライズプランに制限されています。

公開されたトピック

公開されたページ

トピックの発行を解除する

  1. 通知の下にある 発行設定 (Publishing Settings) を選択します。

  2. 発行解除 (Unpublish) をクリックします

  3. ページが発行解除されます。

一般的な問題と解決策

ログアウト時に公開されたページが表示されない

管理 > 設定show_published_pages_login_required 設定が有効になっていることを確認してください。

公開されたページに Discourse のヘッダーを追加する

現在、静的ページは最小限にすることを意図しており、標準の Discourse のヘッダーとフッターは含まれていません。

よくある質問 (FAQ)

FAQ ページや「概要」ページを公開できますか?

必要なコンテンツで新しいトピックを作成し、それをページとして発行できます。サイト設定内のリンクをこれらの新しいページに向けるように変更してください。

公開されたページの見た目をカスタマイズするにはどうすればよいですか?

HTML ドキュメントの構造と対応する CSS セレクターを使用して、管理 > カスタマイズ > テーマ > CSS の下でカスタムスタイルを適用します。

その他のリソース

「いいね!」 118
Best landing page solution
ProCourse Static Pages
Using Discourse as a News Blog and Forum - Any Known Good Examples?
How to add a new page into the community? (Login isolated page)
Blog Post Styling
Is anyone here using their Discourse instance as their entire website?
Open (anon) interaction with a forum
Discourse + CMS, which one?
Integrating webpage to current forum
Is there an upper limit to how many pages can be published?
Host HTML page on Discourse install
How do I redirect urls or create new ones?
Shared Drafts: Allow staff to collaborate on posts before publishing
Is there any way to listen User login event using Theme component
How to share only few posts to public as links?
Open (anon) interaction with a forum
Create a "Docs" page like discource meta's
Invite people to reply to a topic without them needing to create an account
Allow anonymous users to view a topic?
What's the usage of "show published pages login required" setting?
How to add contact us page?
Embed my Discourse Forum as IFrame
Is there any way to restrict posting in a topic to members of a group, but allow all users to read the topic?
Order posts by Title
Edit Code
Published page not visible?
Inline Tooltips
Making the About and FAQ visible to anon
Allow published pages to be visible to anon
Customize login page
7 myths why a blog isn't needed in the discourse core
Landing Page
Customizing FAQs and Guidelines
ProCourse Static Pages
Publishing - how deep/good is fine-grained permisson control?
Publish Direct Messages
500 character ‘Reject Reason’ is too small a limit
How do I create a blank page within Discourse
How-to use Discourse for managing a collaborative newsletter?
Customize Login pop-up box?
Building a custom html page in discourse
Page for not-logged in users with a single topic displayed
Duplicate Terms of Service/Privacy Policy
Paid Groups
Help custom page?
Should Discourse make an effort to become the next best "CMS"
Is It Possible to Create Custom Pages in Discourse?
How to Enable Terms of Service and Privacy Policy Pages in Discourse?
Is It Possible to Create Custom Pages in Discourse?
Blank Pages Related Help
Static pages for things like guidelines?
Can you create a custom landing page?
Can I use secure media and page publishing simultaneously in Discourse?
Create a new text page option?
Change topic visibility in an admin category to public
Create a custom page with theme cli?
DiscoTOC - automatic table of contents
Adding a static web page
[Urgent] privacy policy page
How to make a website with Discourse
Generate static file in discourse
Discourse for Teams is here!
Category Previews
Public Static pages and Private Forums - possible?
Filter view for muted categories
Category Previews
How to hide a single topic from showing up in "latest"?
ProCourse Static Pages
Control the visibility of /faq and /about
[Question/Request] Featured image url for post
Custom Homepage for Groups
Embedding private discussions on a wordpress site
Table of Contents not working on Published Pages