Contains shared infrastructure for all coop services: - shared/ (factory, urls, user_loader, context, internal_api, jinja_setup) - models/ (User, Order, Calendar, Ticket, Product, Ghost CMS) - db/ (SQLAlchemy async session, base) - suma_browser/app/ (csrf, middleware, errors, authz, redis_cacher, payments, filters, utils) - suma_browser/templates/ (shared base layouts, macros, error pages) - static/ (CSS, JS, fonts, images) - alembic/ (database migrations) - config/ (app-config.yaml) - editor/ (Lexical editor Node.js build) - requirements.txt Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
26 lines
1.5 KiB
HTML
26 lines
1.5 KiB
HTML
{# social/meta_site.html — generic site/page meta #}
|
|
{% include 'social/meta_base.html' %}
|
|
|
|
{# Title/description (site-level) #}
|
|
{% set description = site().description or '' %}
|
|
|
|
<title>{{ base_title }}</title>
|
|
{% if description %}<meta name="description" content="{{ description }}">{% endif %}
|
|
{% if canonical %}<link rel="canonical" href="{{ canonical }}">{% endif %}
|
|
|
|
{# Open Graph (website) #}
|
|
<meta property="og:site_name" content="{{ site().title if site and site().title else '' }}">
|
|
<meta property="og:type" content="website">
|
|
<meta property="og:title" content="{{ base_title }}">
|
|
{% if description %}<meta property="og:description" content="{{ description }}">{% endif %}
|
|
{% if canonical %}<meta property="og:url" content="{{ canonical }}">{% endif %}
|
|
{% if site and site().default_image %}<meta property="og:image" content="{{ site().default_image }}">{% endif %}
|
|
{% if site and site().fb_app_id %}<meta property="fb:app_id" content="{{ site().fb_app_id }}">{% endif %}
|
|
|
|
{# Twitter (website) #}
|
|
<meta name="twitter:card" content="{{ 'summary_large_image' if site and site().default_image else 'summary' }}">
|
|
{% if site and site().twitter_site %}<meta name="twitter:site" content="{{ site().twitter_site }}">{% endif %}
|
|
<meta name="twitter:title" content="{{ base_title }}">
|
|
{% if description %}<meta name="twitter:description" content="{{ description }}">{% endif %}
|
|
{% if site and site().default_image %}<meta name="twitter:image" content="{{ site().default_image }}">{% endif %}
|