Skip to content

chore(templates): add info on how to make a homepage#17089

Open
realalexlg wants to merge 1 commit into
payloadcms:mainfrom
realalexlg:main
Open

chore(templates): add info on how to make a homepage#17089
realalexlg wants to merge 1 commit into
payloadcms:mainfrom
realalexlg:main

Conversation

@realalexlg

Copy link
Copy Markdown

Not much info is provided on how to make a basic homepage.

This PR aims to help users make their first homepage using the /home slug
I found that when I used payload for the first time I really couldnt figure out how to edit the homepage until I tried /home and the index pointed to it. It is also not clearly stated in the documentation so this aims to fix that and have everyone up and running smoothly.

This commit edits a template file for the website template, specifically templates/website/src/components/BeforeDashboard/index.tsx where a new dot point has been added advising users on how to complete the action, a href to the pages tab is also added.

        </li>
        <li>
          Commit and push your changes to the repository to trigger a redeployment of your project.
        </li>
+        <li>
+         Go to <a href="/admin/collections/pages">Pages</a> and create <code>/home</code> to create your home page.
+        </li>
      </ul>

This is also my first PR so im happy to help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant