Pages vs. Articles & Article Styles
While you may be used to either exclusively an article- or page-based structure in other CMSes, or a hybrid of pages + 1 collection of articles with tags/taxonomy, Phosis allows you to create any number of article collections, as well as separate pages with articles, that are all exposed as a Data Source for use within Phosis.
In addition, each article can be displayed using any number of article styles. For example, you may have a “Press Release” article style that is different than a “Blog Post” article style, or a “Tutorial” article style, etc. In some other CMSes, this would require conditional CSS or Javascript based on tags or other taxonomy; within Phosis, it’s as simple as choosing from one or more available article styles that you’ve created.
Let’s take a look at the differences between creating & editing Pages, Articles, and Article Styles in Phosis.
Pages¶
Create & Edit:
Pages are one of the most traditional CMS-like features inside of Phosis. When creating a Page, you can enter a Title, Description, and choose a unique slug (the URL path for this page).
You can then choose to use either the Body Editor or the Content Blocks Editor to populate your page’s content.
Article Styles¶
Create & Edit:
Article Styles should be considered a “virtual page.” They’re never displayable directly – they’re only used as the layout for displaying articles.
You should configure one container to use the data source Self — this will be populated with the information from the article itself. Most of the mapping fields are self-explanatory; Body Content is the text content of the article’s Body Editor.
Articles¶
Create & Edit:
Articles in Phosis give you the most options at present. You define the article title, summary/lede, description, and slug, and the article style to use when displaying the article to your site’s users.
You can also upload a hero image that will be used as the Hero Image URL field in template hydration, or click Choose From Files to open the Files & Media browser.
You enter the article’s content using the Body Editor. As you work, you can check the readability score of your content using the button in the Settings & Actions box in the top right.
Should I Create Pages or Articles?¶
Generally, if you foresee any scenario where you’ll need to reuse the content or portions of the content on your site, for the time being, you should create articles. If the content is a singular page, you should create a page.
What do we mean by “reuse the content?” For example, you may have a blog post, but you will also have cards or thumbnails of recent articles on your homepage, random other posts on an article page, and perhaps filter content by authorv1.0
on bio pages in your site. You don’t want to maintain these manually, so creating these blog posts as articles displayed via article styles is the way to go.
But, your concrete pages such as your homepage, About Us, etc. would likely be Pages.
If you’re in doubt or would like some guidance, feel free to reach out to support!