Closed jh-devv closed 3 weeks ago
Basically maybe something like this?
Hmm, I'm not sure if having a "pinned" post would be the best solution here.
A simple solution that doesn't need any extra development for the theme itself: you could inherit the theme's index.html
template and override the content
block, to add some extra content before all the posts, followed by {{ super() }}
to render the "base" content block.
See Zola's docs for some hints on this https://www.getzola.org/documentation/themes/extending-a-theme/
And also see Tera docs (the template engine that Zola uses) https://keats.github.io/tera/docs/#child-template
I created a new template for my landing page: heitorpb.github.io. Then I created a content/_index.md
that uses that template.
@jh-devv Does the above solve it for you?
@jh-devv Does the above solve it for you?
Yea, thanks very much!
Maybe like someway to tag a blog to always show as the latest?