Move blog index to /index, homepage renders Ghost "home" page
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m3s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m3s
/ now renders the Ghost page with slug "home" (site homepage). /index serves the existing blog listing (posts, pages, filters). All blog.home references updated to blog.index. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
|
||||
{# Content type tabs: Posts | Pages #}
|
||||
<div class="flex justify-center gap-1 px-3 pt-3">
|
||||
{% set posts_href = (url_for('blog.home'))|host %}
|
||||
{% set pages_href = (url_for('blog.home') ~ '?type=pages')|host %}
|
||||
{% set posts_href = (url_for('blog.index'))|host %}
|
||||
{% set pages_href = (url_for('blog.index') ~ '?type=pages')|host %}
|
||||
<a
|
||||
href="{{ posts_href }}"
|
||||
hx-get="{{ posts_href }}"
|
||||
|
||||
Reference in New Issue
Block a user