8cea7dee20
- SiteForge Enterprise V8.10.0-dev.1 upstream source (210 tests) - Fix: v8_workflows._mapped_input now reads both 类型/分类 columns so WXR imports keep post/product types instead of collapsing to page - Docs: trade-pro theme port spec (R3) and implementation plan Co-Authored-By: Claude Code <noreply@anthropic.com>
14 lines
4.5 KiB
HTML
14 lines
4.5 KiB
HTML
<!doctype html><html lang="zh-CN"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><base href="/"><title>{{seo_title}}</title><meta name="description" content="{{seo_description}}"><meta name="robots" content="{{'noindex,follow' if mode=='notfound' else (page.robots or 'index,follow')}}">{% if canonical %}<link rel="canonical" href="{{canonical}}">{% endif %}<link rel="stylesheet" href="assets/theme.css"><link rel="stylesheet" href="assets/blocks.css"><link rel="stylesheet" href="assets/custom.css"></head><body>
|
|
<div class="utility"><span>GLOBAL SOURCING · GLOBAL DELIVERY</span><span>SiteForge Automotive Collection</span></div>
|
|
<header class="header"><a class="brand" href="./"><span class="mark">S.</span><span>{{site.name}}<small>AUTO & MOBILITY</small></span></a><nav><a href="./">Home</a>{% for n in nav if n.route!='/' %}<a href="{{link(n.route)}}">{{n.title}}</a>{% endfor %}{% if entries | selectattr('type','equalto','product') | list %}<a href="product/">Vehicles</a>{% endif %}{% if entries | selectattr('type','equalto','post') | list %}<a href="post/">News</a>{% endif %}</nav><a href="mailto:{{site.email or "info@example.com"}}" class="nav-cta">GET IN TOUCH ↗</a></header>
|
|
{% if blueprint_mode %}{% elif mode=='home' %}<section class="hero"><div class="hero-inner"><div class="hero-copy"><span class="eyebrow"><span class="glow"></span> GLOBAL AUTOMOTIVE NETWORK</span><h1>{{page.title if page.title!=site.name else 'MOVE BEYOND'}}</h1><p>{{page.summary or site.tagline or 'Discover global mobility and automotive supply solutions.'}}</p><div class="hero-actions"><a href="product/" class="btn">EXPLORE OUR FLEET <span>↗</span></a><span class="hero-hint">Built for the road ahead.</span></div></div><div class="hero-visual">{% if page.cover %}<img src="{{asset(page.cover)}}" alt="{{page.title}}">{% else %}<div class="car-shape"><div class="car-glow"></div><div class="car-body"></div><div class="wheel wheel-one"></div><div class="wheel wheel-two"></div></div>{% endif %}<div class="hero-no">01 / EXPLORE</div></div></div><div class="hero-bottom"><span>DISCOVER MORE</span><span>QUALITY · TRUST · WORLDWIDE</span><span>↓</span></div></section>
|
|
{% elif mode=='listing' %}<section class="inner-hero"><span class="eyebrow">THE COLLECTION</span><h1>{{page.title}}</h1><p>{{page.summary}}</p></section>
|
|
{% elif mode=='notfound' %}<section class="inner-hero"><h1>404</h1><p>We couldn't find that page.</p></section>
|
|
{% else %}<section class="inner-hero"><span class="eyebrow">{{type_names.get(page.type,'PAGE')|upper}} / THE DETAILS</span><h1>{{page.title}}</h1><p>{{page.summary}}</p></section>{% endif %}
|
|
{% if blueprint_mode %}<main class="sf-canvas">{{blocks}}</main>{% else %}<main class="main"><div class="container">{% if mode in ['detail','home'] and (content or blocks) %}<article class="rich-content">{{blocks}}{{content}}</article>{% endif %}
|
|
{% if mode=='detail' and page.cover %}<div class="detail-media"><img src="{{asset(page.cover)}}" alt="{{page.title}}"></div>{% endif %}
|
|
{% if mode=='listing' %}<div class="section-title"><span>THE SELECTION</span><h2>Explore the collection</h2></div><div class="card-grid">{% for item in listing_items %}<a class="model-card" href="{{link(item.route)}}"><div class="card-visual">{% if item.cover %}<img src="{{asset(item.cover)}}" alt="{{item.title}}">{% else %}<span class="card-monogram">{{item.title[:2]|upper}}</span>{% endif %}</div><div class="card-copy"><span>{{type_names.get(item.type,'ITEM')}}</span><h3>{{item.title}}</h3><p>{{item.summary|truncate(95)}}</p><b>DISCOVER ↗</b></div></a>{% endfor %}</div>{% endif %}
|
|
{% if mode=='home' %}{% set showcase=entries|selectattr('type','equalto','product')|list %}{% if showcase %}<div class="section-title"><span>CURATED MOBILITY</span><h2>Featured Vehicles</h2><a href="product/">VIEW COLLECTION ↗</a></div><div class="card-grid">{% for item in showcase[:6] %}<a class="model-card" href="{{link(item.route)}}"><div class="card-visual">{% if item.cover %}<img src="{{asset(item.cover)}}" alt="{{item.title}}">{% else %}<span class="card-monogram">{{item.title[:2]|upper}}</span>{% endif %}</div><div class="card-copy"><span>VEHICLE</span><h3>{{item.title}}</h3><p>{{item.summary|truncate(105)}}</p><b>VIEW DETAILS ↗</b></div></a>{% endfor %}</div>{% endif %}{% endif %}
|
|
</div></main>
|
|
{% endif %}<footer><div><div class="footer-brand">{{site.name}}<span> · GLOBAL MOBILITY</span></div><p>{{site.tagline}}</p></div><div class="footer-bottom"><span>© {{site.name}}</span><span>BUILT FOR TOMORROW · POWERED BY SITEFORGE</span></div></footer></body></html>
|