premier brouillon
This commit is contained in:
parent
4442a417aa
commit
c4b5d14206
20 changed files with 33235 additions and 0 deletions
3
templates/partials/footer.html
Normal file
3
templates/partials/footer.html
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<hr />
|
||||
<a href="/mentions-legales">Mentions légales</a> -
|
||||
<a href="/cgv">Conditions générales de vente</a>
|
||||
13
templates/partials/head.html
Normal file
13
templates/partials/head.html
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<meta charset="utf-8">
|
||||
<title>{% include "partials/title.html" %} - {{ config.title }}</title>
|
||||
<link href="/favicon.svg" rel="icon" sizes="16x16 32x32 48x48 192x192" type="image/svg+xml">
|
||||
<link href="/favicon.svg" rel="apple-touch-icon" sizes="60x60 72x72 76x76 114x114 120x120 144x144 152x152 167x167 180x180 1024x1024" type="image/svg+xml">
|
||||
<link href="{{ get_url(path='css/bulma.min.css')~'?'~get_hash(path='css/bulma.min.css', sha_type=256) }}" rel="stylesheet">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="author" content="{{ config.author }}">
|
||||
<meta property="og:locale" content="{{ doc::lang() }}">
|
||||
<meta property="og:site_name" content="{{ config.title }}">
|
||||
<meta property="og:title" content="{%- include "partials/title.html" -%}">
|
||||
{%- if not section and not page -%}
|
||||
<meta name="robots" content="noindex">
|
||||
{%- endif -%}
|
||||
4
templates/partials/lang_attr.html
Normal file
4
templates/partials/lang_attr.html
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{%- set doc_lang = doc::lang() -%}
|
||||
{%- if doc_lang != lang -%}
|
||||
lang="{{ doc_lang }}"
|
||||
{%- endif -%}
|
||||
3
templates/partials/title.html
Normal file
3
templates/partials/title.html
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{%- if not section and not page -%} {{ "Erreur 404" }} {%- else -%} {%- set doc
|
||||
= section | default(value=page | default(value=false)) -%} {{- doc.title -}} {%-
|
||||
endif -%}
|
||||
Loading…
Add table
Add a link
Reference in a new issue