# Create a custom page with theme cli?

**URL:** https://meta.discourse.org/t/create-a-custom-page-with-theme-cli/209207
**Category:** Development
**Created:** [November 15, 2021, 7:20pm UTC](https://meta.discourse.org/t/create-a-custom-page-with-theme-cli/209207 "2021-11-15T19:20:25Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![JeaneCarlos](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jeanecarlos/32/197134_2.png) [@JeaneCarlos](https://meta.discourse.org/u/JeaneCarlos)
#### Post date: [November 15, 2021, 7:20pm UTC](https://meta.discourse.org/t/create-a-custom-page-with-theme-cli/209207/1 "2021-11-15T19:20:25Z")

</div>

I’ve been going about building a new theme with Theme Creator/CLI and have had a good run so far with CSS, widgets, and plugin-outlets. I was wondering if there’s a file/folder I could add/modify to create a new page/route (e.g FAQ).

I saw a thread before that was similar but the links on it were mostly dead

> [@Create a custom page](https://meta.discourse.org/t/create-a-custom-page/37631):
>
> Hi, I wonder if its possible to create a custom page like FAQ, TOS, and Privacy page. and I also notice that they are actually a Topic. if its not possible to create custom page, how can I make a permalink like FAQ, TOS, and Privacy page.

---

<div class="post-metadata">

### Author: ![keegan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/keegan/32/383395_2.png) [@keegan](https://meta.discourse.org/u/keegan)
#### Post date: [November 15, 2021, 7:30pm UTC](https://meta.discourse.org/t/create-a-custom-page-with-theme-cli/209207/2 "2021-11-15T19:30:53Z")

</div>

I don’t think this is possible with just a theme. You will probably need to create a plugin and have some Ruby code.

Have a look at this topic:

> [@Creating Routes in Discourse and Showing Data](https://meta.discourse.org/t/creating-routes-in-discourse-and-showing-data/48827):
>
> Over time Discourse has grown in complexity and it can be daunting for beginners to understand how data gets all the way from the back end Ruby on Rails application to the Ember.js application in front. This tutorial is meant to show the full lifecycle of a request in Discourse and explain the steps necessary if you want to build a new page with its own URL in our application. URLs First I always prefer to start thinking of features in terms of the URLs to access them. For example let’s say we…

Or if you simply need some standalone custom pages to show information, there is the Landing Pages Plugin:

> [@Landing Pages Plugin small\_airplane](https://meta.discourse.org/t/landing-pages-plugin/180967):
>
> The Landing Pages Plugin lets you make standalone landing pages for your Discourse instance. You can display topics, users and other content from your forum. You can restrict pages to groups, apply Discourse themes, set custom paths, and manage pages in a dedicated git repository. [[Screen Shot 2021-02-23 at 6.11.10 PM]](https://thepavilion.io/welcome)desktop_computer[Get the code](https://github.com/paviliondev/discourse-landing-pages)page_facing_up [Read the documentation](https://coop.pavilion.tech/docs?category=130)raising_hand_woman [Request a feature](https://coop.pavilion.tech/c/support/discourse-landing-pages/131)bug [Report a bug](https://coop.pavilion.tech/c/support/discourse-landing-pages/131) Not sure how to install a plugin? [Follow t…](https://meta.discourse.org/t/install-plugins-in-discourse/19157)

---

<div class="post-metadata">

### Author: ![HAWK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hawk/32/86627_2.png) [@HAWK](https://meta.discourse.org/u/HAWK)
#### Post date: [November 15, 2021, 11:09pm UTC](https://meta.discourse.org/t/create-a-custom-page-with-theme-cli/209207/3 "2021-11-15T23:09:59Z")

</div>

There is also [Page Publishing](https://meta.discourse.org/t/page-publishing/151971)

---

<div class="post-metadata">

### Author: ![JeaneCarlos](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jeanecarlos/32/197134_2.png) [@JeaneCarlos](https://meta.discourse.org/u/JeaneCarlos)
#### Post date: [November 15, 2021, 11:52pm UTC](https://meta.discourse.org/t/create-a-custom-page-with-theme-cli/209207/4 "2021-11-15T23:52:18Z")

</div>

Thanks! This works for my simple use case!

Appreciate the answer from Keegan and will try that approach if I need to.
