Reducir costo de render en includes que antes hacian busquedas repetidas sobre site.pages, site.posts y colecciones.
/_plugins/build_site_index.rb corre en post_read.site.data.site_index con lookups precomputados.navigation, pagination, topics-page y tags-page consumen siempre ese indice.cards mantiene doble camino controlado por use_site_index_cards.En /_config.yml:
use_site_index_cards: activa/desactiva el indice especifico de cards.En páginas con layout: series:
show_project_refs_on_cards: por defecto false; usar true para mostrar, en las tarjetas del índice, la lista de proyectos referenciados por project_ref.site.data.site_index incluye:
meta: fecha y contadores.config: flags efectivos.lookups:
pages_by_translation_key_langdocs_by_translation_key_langpages_by_urldocs_by_urlall_docs_by_urlindex_pages_by_collection_langpagination:
by_collection_langprev_next_by_urltaxonomies:
topics_by_langtags_by_langrelations:
project_ref_reverseproject_series_reversecards (si esta habilitado)Para mantener compatibilidad con las paginas de topics/tags:
lang: nil se distribuye a todos los idiomas.lang: "" se trata como es.lang: "" se omite (comportamiento legacy).Includes migrados a index-only:
/_includes/navigation.html/_includes/pagination.html/_includes/topics-page.html/_includes/tags-page.html/_includes/cards.html (unico include con fallback, guardado por use_site_index_cards)Patron comun:
current_lang con fallback a es.cards, usar indice solo cuando use_site_index_cards esta en true.use_site_index_cards: false por defecto.site_index y validar en CI.Build base recomendada:
bundle exec jekyll build --profileBuild alternativa (solo para analizar cards index):
/_config.yml, cambiar temporalmente use_site_index_cards a truebundle exec jekyll build --profile