Changeset 6623453 in Klonkt for src/routes


Ignore:
Timestamp:
06/18/2026 07:50:13 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
03af7f8
Parents:
0dbb5c1
Message:

Admin: dedicated SEO page (/admin/seo) for advanced SEO

The <head> already consumed a rich SEO set (title_template, canonical,
default_description, og_image_default, og_locale, author, *_verification,
facebook_app_id, publisher_*/schema_type for JSON-LD), but many fields
had nowhere to be edited. New god-only page manages the full set for the
primary site, accessible via a 🔎 SEO button in /admin.

The old hidden SEO block in Appearance has been removed (+ its columns
from the appearance-save so saving no longer zeroes them out) and replaced
with a link to the new page — single source of truth.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@…>

Location:
src/routes
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • src/routes/admin-sites.js

    r0dbb5c1 r6623453  
    303303      feed_view_default = ?, feed_view_switch = ?,
    304304      show_search = ?, show_archive_link = ?,
    305       title_template = ?, twitter = ?, canonical = ?,
    306       google_verification = ?, bing_verification = ?,
    307       pinterest_verification = ?, yandex_verification = ?,
    308305      custom_css = ?, custom_head_html = ?, custom_foot_html = ?,
    309306      updated_at = CURRENT_TIMESTAMP
     
    330327    f.show_search ? 1 : 0,
    331328    f.show_archive_link ? 1 : 0,
    332     (f.title_template || '{title} — {site}').slice(0, 200),
    333     (f.twitter || '').slice(0, 64) || null,
    334     (f.canonical || '').slice(0, 200) || null,
    335     (f.google_verification    || '').slice(0, 200) || null,
    336     (f.bing_verification      || '').slice(0, 200) || null,
    337     (f.pinterest_verification || '').slice(0, 200) || null,
    338     (f.yandex_verification    || '').slice(0, 200) || null,
    339329    f.custom_css      || null,
    340330    f.custom_head_html || null,
Note: See TracChangeset for help on using the changeset viewer.