跳到主要内容
ArcBlock Community

header & metadata customization

voidmanevoid
开发者
blocklet-serverqaresolved

hello!

  1. is there a way to customize the header of my blocklet? i'd like to change colors, etc.

Screen Shot 2025-01-16 at 10.15.35 AM.png

  1. how can i change the metadata for the current url they are on? i tried some traditional React methods of changing the page metadata, but it didn't seem to work. can you give some examples?

thanks!

4 条回复

wangshijun20个月前
  1. Site level theming is not supported yet, but we will consider this in future.
  2. Seems you want to change title/description for your blocklet?
  3. if your blocklet page is a SPA, react-helmet may help
  4. if your blocklet uses server side rendering, you need to do that on the server side.
  5. If you want to customize the page title of pages from other blocklets added to your site, please specify which URL is not working as expected, so we can provide further advice.
voidmanevoid20个月前

thanks! i'll check out react-helmet.

JustHODL Dev20个月前(edited)

You can use our blocklet for this:

Header Styling

voidmanevoid20个月前

amazing! exactly what i was looking for. thank you!

回复