chore: remove SSL auto-renew notice from page
- drop the SSL note from hero meta, footer column and meta description - footer becomes two columns; ssl_note removed from data schema, payload and server serializer - content-only change: service worker version unchanged (network-first)
This commit is contained in:
1 parent
aa6378aec2
commit
ebaefc8fb7
10 files changed
+6
-20
No files matched your search
@@ -58,7 +58,7 @@ function renderRoute({ path, view }) {
|
||||
|
||||
function updateChrome() {
|
||||
const site = state.data.site || {};
|
||||
const contact = main?.closest("body")?.querySelector("[data-contact-link]");
|
||||
const contact = document.querySelector("[data-contact-link]");
|
||||
if (contact) {
|
||||
if (site.contact_email) {
|
||||
contact.href = `mailto:${site.contact_email}`;
|
||||
@@ -68,9 +68,6 @@ function updateChrome() {
|
||||
contact.textContent = "เพิ่มอีเมลติดต่อได้ในหน้าจัดการ";
|
||||
}
|
||||
}
|
||||
document.querySelectorAll("[data-ssl-note]").forEach((node) => {
|
||||
if (site.ssl_note) node.textContent = site.ssl_note;
|
||||
});
|
||||
}
|
||||
|
||||
function skeleton() {
|
||||
|
||||
Reference in new issue
Block a user