Announcement about the homepage #6894
-
I noticed that in the official website document of material, there is no announcement on the homepage, but there is on other pages. How is this achieved? I've looked at |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 9 replies
-
I seem to have discovered the key point, is it here? |
Beta Was this translation helpful? Give feedback.
-
I seem to have found some settings Ahahaha, I thought this was a sponsored feature at first |
Beta Was this translation helpful? Give feedback.
-
But I read the document for a long time and didn't learn how to replace index.html. I just did the following, but the homepage still had no effect. |
Beta Was this translation helpful? Give feedback.
-
@kamilkrzyskow |
Beta Was this translation helpful? Give feedback.
-
I still don't see an easy way to configure a landing. Really. I managed everything: snippets, sorting tables, tabs, but this escapes me. I don't get it, sorry. Doesn't work. |
Beta Was this translation helpful? Give feedback.
I don't understand. You can set the
template: home.html
in any.md
file,index.md
orspecial-page.md
, and it will be rendered according to the template you provided. So the template without the announce block can be used on the homepage and custom page.Recently in #6853 a user provided his docs and they also use a custom home.html, maybe it will be sufficient as reference:
If not provide more details about your use case. How is the homepage differ…