- Header sticky, menu mobile, lien d’évitement et JS léger (site.js) - Accueil : layouts/index.html, contenu structuré en front matter, grille bento - Motif « parcours » en SVG statique (évite la casse minify sur path inline) - CSS : tokens, clamp, focus-visible, prefers-reduced-motion, formulaire contact - Footer aligné sur la charte (plus de styles inline Bootstrap) - Shortcodes featureblock + card ; fonctionnalités en blocs featureblock - Polices : Merienda + Source Sans 3 (remplace la pile à 5 Google Fonts) Made-with: Cursor
96 lines
4.3 KiB
HTML
96 lines
4.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="{{ .Site.LanguageCode }}">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Title }} | {{ .Site.Title }}{{ end }}</title>
|
|
<meta name="description" content="{{ if .Description }}{{ .Description }}{{ else }}{{ .Site.Params.description }}{{ end }}">
|
|
<meta name="keywords" content="{{ if .Keywords }}{{ delimit .Keywords ", " }}{{ else }}{{ .Site.Params.keywords }}{{ end }}">
|
|
<meta name="author" content="{{ .Site.Params.author | default .Site.Title }}">
|
|
|
|
{{ if eq .Site.BaseURL "https://staging.ptits-pas.fr/" }}
|
|
<meta name="robots" content="noindex, nofollow">
|
|
{{ end }}
|
|
|
|
<meta property="og:type" content="{{ if .IsHome }}website{{ else }}article{{ end }}">
|
|
<meta property="og:url" content="{{ .Permalink }}">
|
|
<meta property="og:title" content="{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Title }}{{ end }}">
|
|
<meta property="og:description" content="{{ if .Description }}{{ .Description }}{{ else }}{{ .Site.Params.description }}{{ end }}">
|
|
<meta property="og:image" content="{{ .Site.BaseURL }}images/page_login_4.1.png">
|
|
<meta property="og:locale" content="fr_FR">
|
|
|
|
<meta property="twitter:card" content="summary_large_image">
|
|
<meta property="twitter:url" content="{{ .Permalink }}">
|
|
<meta property="twitter:title" content="{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Title }}{{ end }}">
|
|
<meta property="twitter:description" content="{{ if .Description }}{{ .Description }}{{ else }}{{ .Site.Params.description }}{{ end }}">
|
|
<meta property="twitter:image" content="{{ .Site.BaseURL }}images/page_login_4.1.png">
|
|
|
|
<link rel="canonical" href="{{ .Permalink }}">
|
|
<link rel="icon" type="image/x-icon" href="{{ "favicon.ico" | relURL }}">
|
|
|
|
<script type="application/ld+json">
|
|
{
|
|
"@context": "https://schema.org",
|
|
"@type": {{ if .IsHome }}"Organization"{{ else }}"WebPage"{{ end }},
|
|
{{ if .IsHome }}
|
|
"name": "{{ .Site.Title }}",
|
|
"url": "{{ .Site.BaseURL }}",
|
|
"description": "{{ .Site.Params.description }}",
|
|
"contactPoint": {
|
|
"@type": "ContactPoint",
|
|
"contactType": "Service client",
|
|
"url": "{{ .Site.BaseURL }}contact/"
|
|
}
|
|
{{ else }}
|
|
"name": "{{ .Title }}",
|
|
"url": "{{ .Permalink }}",
|
|
"description": "{{ if .Description }}{{ .Description }}{{ else }}{{ .Site.Params.description }}{{ end }}"
|
|
{{ end }}
|
|
}
|
|
</script>
|
|
|
|
<link rel="stylesheet" href="{{ `/css/style.css` | relURL }}">
|
|
|
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-65J8GVLCRH"></script>
|
|
<script>
|
|
window.dataLayer = window.dataLayer || [];
|
|
function gtag(){dataLayer.push(arguments);}
|
|
gtag('js', new Date());
|
|
gtag('config', 'G-65J8GVLCRH', {
|
|
'anonymize_ip': true,
|
|
'allow_google_signals': false,
|
|
'allow_ad_personalization_signals': false,
|
|
'restricted_data_processing': true
|
|
});
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<a class="skip-link" href="#contenu-principal">Aller au contenu</a>
|
|
<header class="site-header">
|
|
<div class="site-header__inner">
|
|
<a class="site-logo" href="{{ "/" | relURL }}">P'titsPas</a>
|
|
<nav class="site-nav" id="site-nav" aria-label="Navigation principale">
|
|
<button type="button" class="nav-toggle" aria-expanded="false" aria-controls="site-nav-panel" id="site-nav-toggle" aria-label="Ouvrir le menu">
|
|
<span class="nav-toggle__bar" aria-hidden="true"></span>
|
|
<span class="nav-toggle__bar" aria-hidden="true"></span>
|
|
<span class="nav-toggle__bar" aria-hidden="true"></span>
|
|
</button>
|
|
<div class="site-nav__panel" id="site-nav-panel">
|
|
<ul class="site-nav__list">
|
|
{{ range .Site.Menus.main }}
|
|
<li><a href="{{ .URL | relURL }}">{{ .Name }}</a></li>
|
|
{{ end }}
|
|
</ul>
|
|
</div>
|
|
</nav>
|
|
</div>
|
|
</header>
|
|
<main id="contenu-principal" class="site-main">
|
|
{{ block "main" . }}{{ .Content }}{{ end }}
|
|
</main>
|
|
{{ partial "footer.html" . }}
|
|
<script src="{{ `/js/site.js` | relURL }}" defer></script>
|
|
</body>
|
|
</html>
|