Site homepage seo question
I am trying to migrate my existing blog to Zola, which works great. I want to display the index meta tag on the homepage only but not on /page/2/, instead of that I want to show the no index meta tag...
View ArticleSite homepage seo question
Specify different templates in the _index.html file of root and /page directories. +++ title = "Title" sort_by = "none" template = "section.html" page_template = "root-page.html" <- Change to...
View ArticleSite homepage seo question
I suppose another way is a condition based on the current url to avoid making several templates {% if page.permalink = 'whateveritshouldbe` %} <meta name="robots" content="index"> {% else %}...
View ArticleSite homepage seo question
I am trying to use {% if page.permalink == "{{ config.base_url }}" %} its shows Error: Reason: Variable page.permalink not found in context while rendering 'index.html' Full Code is, {% if...
View ArticleSite homepage seo question
the template you are rendering is used for both sections (or directories) and pages (files in those directories). sections don’t have page.permalink they use section.permalink so you’re condition is...
View ArticleSite homepage seo question
Nothings Works, I achieved that condition with Apollo theme macro, but I have to call it using a different template for the website front page. My Version: {% set current_path = current_path |...
View Article
More Pages to Explore .....