How do I render a page as part of another page
I tried searching around and maybe I’m not using the right words, but I couldn’t exactly find the functinality I wanted. I am adapting a blog template and want to do the following: the complete and...
View ArticleHow do I render a page as part of another page
kekkon: in the for loop page.content only gets me the content of that block, not the entire rendered page What’s “the entire rendered page”? If it’s missing stuff like tags, title… then you would need...
View ArticleHow do I render a page as part of another page
This is what my for look currently looks like in the template: {% for page in paginator.pages | reverse %} <section class="post animated fadeInDown"> <div class="post-title">...
View ArticleHow do I render a page as part of another page
I’m gonna guess that this is something Zola can’t do right now, because of the silence? Read full topic
View ArticleHow do I render a page as part of another page
you might be thinking of `tera macros’ resuable elements that could be used in various places. they are placed under temples > macro folder. Read full topic
View ArticleHow do I render a page as part of another page
I don’t think there’s support for what you want, in exactly the way you describe, sorry. As mentioned elsewhere macros are probably the most idiomatic way of doing this and what I’d recommend....
View ArticleHow do I render a page as part of another page
kekkon: So instead of just including the content as it does now, I want it to render the template of that article and include that html in the section where it now says {{ page.content }} in the...
View ArticleHow do I render a page as part of another page
How would I make it render everything for every page in the page collection? Including the front matter of those pages? Read full topic
View ArticleHow do I render a page as part of another page
The same way it’s being rendered in the individual article’s template: by accessing the proper variables (e.g. accessing post.date from my macro link). Read full topic
View ArticleHow do I render a page as part of another page
welpo: template: by accessing the proper variables (e.g. accessing post.date from my macro link). I tried that, but then I get an error accessing page.extra variables to get my custom frontmatter....
View ArticleHow do I render a page as part of another page
I don’t know what to tell you. I just tested it, just in case, and I was able to access extra variables as expected. Perhaps your Tera logic needs fixing? If not all posts have a particular extra...
View ArticleHow do I render a page as part of another page
kekkon: I am adapting a blog template and want to do the following: the complete and rendered HTML to be included in the index page of that section (aka, the blog articles are sequentially rendered in...
View Article