Closed loque closed 4 years ago
Looks really good, thank you! There is only one thing I am not sure about: Currently, when section and page have the same title, you apply the aa-suggestion-section
class and no aa-suggestion-page
class. I'd like to see this reversed, i.e. always render the page title and aa-suggestion-page
class and render the section title and aa-suggestion-section
class when the section title is different from the page title. Would you be able to change that around? :100:
Right! Makes more sense 🤦♂️. I'll fix that now.
Hey, awesome plugin! I made a few modifications to make it easier to style the suggestions:
aa-suggestion-page
,aa-suggestion-section
andaa-suggestion-empty
.>>
) between pages and sections from the template and added a content prop to.aa-suggestion-page::after
to render another separator. This way the user can override it with whatever she wants.no results
from the empty template and added a content prop to.aa-suggestion-empty::after
to render the test. This way the user can override it with whatever she wants.The resulting markup would look something like this:
Rendering something like this:
And rendering this when no results are found: