web-infra-dev / rspress

🦀💨 A fast Rspack-based static site generator.
https://rspress.dev
MIT License
1.19k stars 108 forks source link

[Feature]: Customising Footer/page overflow #1150

Open zmzlois opened 3 weeks ago

zmzlois commented 3 weeks ago

What problem does this feature solve?

Make bottom props align with existing footer but not living somewhere else and needing to:

  1. constraint body width (currently overflows)
  2. calculate paddings to make sure the bottom align with existing footer
DA78E2VjsP

What does the proposed API look like?

The exposed bottom prop in layout should expose:

  1. original pagination (that's footer already!)
  2. additional linking (say we want to add other links)
Timeless0911 commented 3 weeks ago

You can customize your theme https://rspress.dev/guide/advanced/custom-theme#redevelop-a-custom-theme.