Add hero banner to top of blog list #4847
Replies: 2 comments
-
|
Following this guide: https://docusaurus.io/docs/typescript-support#swizzling-typescript-theme-components You may do: And edit the created file. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the tip! Unfortunately it didn't work for me. Just got a blank page when I moved the generated folder from src/theme/BlogListPage to src/pages/BlogListPage file to my pages directory. Any tips? :) This is what the Safari console report: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I'm currently running Docusaurus 2 with the Blog at the root. However I would like to keep the hero banner that's shown on the default start page. I've tried to copy the conent from the module BlogListPage to a new page in /src/pages without much luck. What is the easiest way to achieve this?
Beta Was this translation helpful? Give feedback.
All reactions