feat: update site URLs and enhance image handling
- Changed site URLs in docker-compose and deployment configurations to remove "www" prefix for consistency. - Improved image handling by introducing warmPostCardImages function for pre-fetching images in posts and tags. - Enhanced PostCard component with responsive image sizes for better performance. - Updated layout to include robots meta tag and JSON-LD structured data for improved SEO. - Added loading state for images in TopBanner component to enhance user experience.
This commit is contained in:
@@ -9,9 +9,9 @@
|
||||
# REGISTRY_USER Gitea-Username
|
||||
# REGISTRY_TOKEN Gitea Access Token (Scope: package)
|
||||
# PUBLIC_CMS_URL https://cms.pm86.de
|
||||
# PUBLIC_SITE_URL https://www.windwiderstand.de
|
||||
# PUBLIC_SITE_URL https://windwiderstand.de
|
||||
# PUBLIC_SITE_NAME Windwiderstand
|
||||
# ORIGIN https://www.windwiderstand.de
|
||||
# ORIGIN https://windwiderstand.de
|
||||
# REVALIDATE_TOKEN openssl rand -hex 32
|
||||
# PUBLIC_UMAMI_WEBSITE_ID (optional, sonst leer)
|
||||
|
||||
@@ -95,7 +95,7 @@ jobs:
|
||||
|
||||
- name: Caddy site block + reload
|
||||
run: |
|
||||
ssh vserver 'grep -q "^windwiderstand.de" /opt/caddy/extra-config/Caddyfile || printf "\nwindwiderstand.de, www.windwiderstand.de {\n reverse_proxy windwiderstand:3001\n}\n" >> /opt/caddy/extra-config/Caddyfile'
|
||||
ssh vserver 'grep -q "^windwiderstand.de {" /opt/caddy/extra-config/Caddyfile || printf "\nwindwiderstand.de {\n reverse_proxy windwiderstand:3001\n}\n\nwww.windwiderstand.de {\n redir https://windwiderstand.de{uri} permanent\n}\n" >> /opt/caddy/extra-config/Caddyfile'
|
||||
ssh vserver "docker exec caddy caddy reload --config /extra-config/Caddyfile"
|
||||
|
||||
- name: Cleanup
|
||||
|
||||
Reference in New Issue
Block a user