added
This commit is contained in:
1 parent
38ae828d82
commit
6dda00181f
29 files changed
+1185
-339
No files matched your search
@@ -1,17 +1,17 @@
|
||||
1. Add contact form script.
|
||||
SMTP_HOST = "smtp.example.com"
|
||||
1. Add contact form script.
|
||||
SMTP_HOST = "smtp.postmarkapp.com"
|
||||
SMTP_PORT = 587
|
||||
SMTP_USER =
|
||||
SMTP =
|
||||
SMTP =
|
||||
authentication: TLS, CRAM-MD5, or Plain text
|
||||
Once script built. Set credentials through private environment configuration. We need to add fastapi and not sure what else - python if we use a py script. Map to the form already published via Hugo, which goes into the home page, or index.html.
|
||||
Once script built. I will add the credentials. We need to add fastapi and not sure what else - python if we use a py script. Map to the form already published via Hugo, which goes into the home page, or index.html.
|
||||
|
||||
Changed the injected contact form in sync_content_to_hugo.py to post to /api/contact.
|
||||
Added browser submit handling at contact-form.js.
|
||||
Added FastAPI contact handler at contact_app.py.
|
||||
Added VM/runtime notes at CONTACT_FORM_DEPLOYMENT.md.
|
||||
|
||||
Changed message home page to use form for contact, email subscribe or change email preferences.
|
||||
Changed message home page to use form for contact, email subscribe or change email preferences.
|
||||
|
||||
Updated the generated contact form injection in sync_content_to_hugo.py.
|
||||
Form now posts to /api/contact.
|
||||
@@ -24,7 +24,7 @@ Added FastAPI contact form backend:
|
||||
api/contact_app.py
|
||||
Endpoint: /api/contact
|
||||
Health check: /api/contact/healthz
|
||||
Uses SMTP provider via environment variables.
|
||||
Uses Postmark SMTP via environment variables.
|
||||
Added dependency file:
|
||||
requirements-contact-api.txt
|
||||
Added deployment notes:
|
||||
@@ -52,7 +52,7 @@ A systemd service, likely:
|
||||
which runs:
|
||||
|
||||
/path/to/structured-website-builder/.venv-contact/bin/uvicorn api.contact_app:app --host 0.0.0.0 --port 8091
|
||||
An env file for SMTP/SMTP provider credentials:
|
||||
An env file for SMTP/Postmark credentials:
|
||||
/etc/indx-contact.env
|
||||
A UFW rule allowing the Caddy router/LAN to reach the API on port 8091.
|
||||
|
||||
@@ -77,21 +77,21 @@ Updated Caddy routing for indx.earth so /api/contact* proxies to <contact-api-ho
|
||||
Verified:
|
||||
https://indx.earth/api/contact/healthz returns {"status":"ok"}.
|
||||
Public POST to https://indx.earth/api/contact returns {"ok":true}.
|
||||
Email send test succeeded through the configured SMTP provider.
|
||||
Email send test succeeded through Postmark.
|
||||
server file with smpt creds is /etc/indx-contact.env
|
||||
|
||||
2. Page fixes:
|
||||
2. Page fixes:
|
||||
- under C:\path\to\structured-website-builder\content\community-summaries\home-health, made minor text adjustments so repulish these pages
|
||||
- under C:\path\to\structured-website-builder\content\community-summaries\paddling, made minor text adjustments so repulish these pages
|
||||
- under C:\path\to\structured-website-builder\content, home.md page: added line breaks between sitemap links for better reading
|
||||
|
||||
DOne.
|
||||
DOne.
|
||||
|
||||
3. make summary pages with published pages in descending order, not ascending for data added: C:\path\to\structured-website-builder\public\community-summaries\home-health\index.html and C:\path\to\structured-website-builder\public\community-summaries\paddling\index.html
|
||||
|
||||
Added missing date: 2026-05-10 to the two May 10 summary pages so Hugo can sort them newest-first.
|
||||
|
||||
4. fix page template anchors co+ platform summaries to sitemap. This link at topof page: CO+ Platform Summaries - anchor should be to sitemap (https://indx.earth/#sitemap). This is an adjustment to the page template: C:\path\to\structured-website-builder\hugo-html-builder\layouts\_default\baseof.html THis adjustment was made manually by me. Now republish all pages with this correct template.
|
||||
4. fix page template anchors co+ platform summaries to sitemap. This link at topof page: CO+ Platform Summaries - anchor should be to sitemap (https://indx.earth/#sitemap). This is an adjustment to the page template: C:\path\to\structured-website-builder\hugo-html-builder\layouts\_default\baseof.html THis adjustment was made manually by me. Now republish all pages with this correct template.
|
||||
|
||||
Done
|
||||
|
||||
@@ -107,7 +107,7 @@ Done
|
||||
max-width: 860px;
|
||||
}
|
||||
|
||||
Which needs to be adjusted? Adjusted and then we will test.
|
||||
Which needs to be adjusted? Adjusted and then we will test.
|
||||
|
||||
Done
|
||||
|
||||
@@ -115,7 +115,7 @@ Done
|
||||
|
||||
added
|
||||
|
||||
7. Add google analytics tracking code to C:\path\to\structured-website-builder\hugo-html-builder\layouts\_default\baseof.html : G-4LGW2BYJDQ This is themeausrement ID. Is this the proper artifact to add, or is it stream ID?
|
||||
7. Add google analytics tracking code to C:\path\to\structured-website-builder\hugo-html-builder\layouts\_default\baseof.html : <google-analytics-measurement-id> This is themeausrement ID. Is this the proper artifact to add, or is it stream ID?
|
||||
|
||||
added
|
||||
|
||||
@@ -123,4 +123,4 @@ submitted to google and bing sitemap
|
||||
|
||||
Create new git release v0.2.0
|
||||
|
||||
Removed Cloudflare bots blocking. Created manage rules for blocking bots on subdomains.
|
||||
Removed Cloudflare bots blocking. Created manage rules for blocking bots on subdomains.
|
||||
Reference in new issue
Block a user