Changeset 6623453 in Klonkt
- Timestamp:
- 06/18/2026 07:50:13 AM (3 months ago)
- Branches:
- main
- Children:
- 03af7f8
- Parents:
- 0dbb5c1
- Location:
- src
- Files:
-
- 2 added
- 4 edited
-
routes/admin-seo.js (added)
-
routes/admin-sites.js (modified) (2 diffs)
-
server.js (modified) (2 diffs)
-
views/pages/admin-seo.ejs (added)
-
views/pages/admin-site-edit.ejs (modified) (1 diff)
-
views/pages/admin.ejs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/routes/admin-sites.js
r0dbb5c1 r6623453 303 303 feed_view_default = ?, feed_view_switch = ?, 304 304 show_search = ?, show_archive_link = ?, 305 title_template = ?, twitter = ?, canonical = ?,306 google_verification = ?, bing_verification = ?,307 pinterest_verification = ?, yandex_verification = ?,308 305 custom_css = ?, custom_head_html = ?, custom_foot_html = ?, 309 306 updated_at = CURRENT_TIMESTAMP … … 330 327 f.show_search ? 1 : 0, 331 328 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,339 329 f.custom_css || null, 340 330 f.custom_head_html || null, -
src/server.js
r0dbb5c1 r6623453 33 33 import adminCommentsRoutes from './routes/admin-comments.js'; 34 34 import adminSettingsRoutes from './routes/admin-settings.js'; 35 import adminSeoRoutes from './routes/admin-seo.js'; 35 36 import prutterRoutes from './routes/prutter.js'; 36 37 import audioRoutes from './routes/audio.js'; … … 245 246 app.use('/admin/comments', adminCommentsRoutes); 246 247 app.use('/admin/settings', adminSettingsRoutes); 248 app.use('/admin/seo', adminSeoRoutes); 247 249 app.use('/admin/circle', adminCircleRoutes); 248 250 app.use('/admin/updates', adminUpdatesRoutes); -
src/views/pages/admin-site-edit.ejs
r0dbb5c1 r6623453 226 226 </fieldset> 227 227 228 <fieldset >228 <fieldset class="seo-pointer"> 229 229 <legend>SEO & social</legend> 230 <label> 231 <span>Titel-sjabloon (gebruik {title} en {site})</span> 232 <input type="text" name="title_template" value="<%= site.title_template || '{title} — {site}' %>" maxlength="200"> 233 </label> 234 <label> 235 <span>Canonieke basis-URL (voor productie-HTTPS)</span> 236 <input type="text" name="canonical" value="<%= site.canonical || '' %>" placeholder="https://jouw-domein.com"> 237 </label> 238 <label> 239 <span>Twitter / X-handle (met @)</span> 240 <input type="text" name="twitter" value="<%= site.twitter || '' %>" placeholder="@jouwnaam" maxlength="64"> 241 </label> 242 <details> 243 <summary>Zoekmachine-verificatie</summary> 244 <label> 245 <span>Google site-verificatie</span> 246 <input type="text" name="google_verification" value="<%= site.google_verification || '' %>" maxlength="200"> 247 </label> 248 <label> 249 <span>Bing (msvalidate.01)</span> 250 <input type="text" name="bing_verification" value="<%= site.bing_verification || '' %>" maxlength="200"> 251 </label> 252 <label> 253 <span>Pinterest (p:domain_verify)</span> 254 <input type="text" name="pinterest_verification" value="<%= site.pinterest_verification || '' %>" maxlength="200"> 255 </label> 256 <label> 257 <span>Yandex</span> 258 <input type="text" name="yandex_verification" value="<%= site.yandex_verification || '' %>" maxlength="200"> 259 </label> 260 </details> 230 <p>Titel-sjabloon, canonical, deel-afbeelding, verificatie-metas en meer staan 231 nu op een eigen pagina: <a href="/admin/seo">🔎 SEO & vindbaarheid</a>.</p> 261 232 </fieldset> 262 233 -
src/views/pages/admin.ejs
r0dbb5c1 r6623453 14 14 <a href="/admin/playlists" class="btn">📃 Playlists</a> 15 15 <a href="/admin/comments" class="btn">💬 Reacties</a> 16 <% if (primarySite) { %><a href="/admin/seo" class="btn">🔎 SEO</a><% } %> 16 17 <a href="/admin/settings" class="btn">⚙️ Instellingen</a> 17 18 <% } else { %> … … 27 28 <a href="/admin/circle" class="btn">🔗 Cirkel</a> 28 29 <% } %> 30 <% if (primarySite) { %><a href="/admin/seo" class="btn">🔎 SEO</a><% } %> 29 31 <a href="/admin/settings" class="btn">⚙️ Instellingen</a> 30 32 <% } %>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)