Browse Source

reprise en cours

master
chankalan 3 years ago
parent
commit
af8c0ccb96
  1. 127
      article.html
  2. 70
      inclure/head.html
  3. 4
      inclure/script.html
  4. 4
      paquet.xml
  5. 6
      sommaire.html
  6. 2
      spip_admin_perso.css

127
article.html

@ -4,85 +4,56 @@
<INCLURE{fond=inclure/head,id_article}>
</head>
<body class="is-preload">
<!-- Page Wrapper -->
<div id="page-wrapper">
<!-- Header & Menu -->
<INCLURE{fond=inclure/header_menu}>
<!-- Main -->
<BOUCLE_principale(ARTICLES){id_article}>
<article id="main">
<header>
<h2>[(#TITRE|supprimer_numero)]</h2>
<p>#SOUSTITRE</p>
</header>
<section class="wrapper style4 alt">
<div class="inner">
<p>
<br /><a href="#URL_SITE_SPIP"><:accueil_site:></a> &gt;
<B_FilAriane>
<BOUCLE_FilAriane(HIERARCHIE){id_article}{id_rubrique !IN #CONFIG{html5up_spectral/rubrique_exclure}|picker_selected{rubrique}}>
<a href="#URL_RUBRIQUE">[(#TITRE|supprimer_numero)]</a> &gt;
</BOUCLE_FilAriane>
[(#TITRE|supprimer_numero)]
</p>
</div>
</section>
<section class="wrapper style5">
<div class="inner">
<p> Par #LESAUTEURS en [(#DATE*|affdate_mois_annee)]</p>
[(#TEXTE|image_reduire{800,*})]
[(#REM) adaptive_images{640} crash la première page, enquête en cours]
</div>
[<ul class="actions special">
<li><a href="#URL_SITE" class="button primary">(#NOM_SITE)</a></li>
</ul>]
</section>
<B_motscles>
<section class="wrapper style3 special">
<div class="inner">
<h2><:mots_clefs:></h2>
<BOUCLE_motscles(MOTS){id_article}>
[<a href="#URL_MOT" class="image" style="padding: 10px">(#LOGO_MOT|image_reduire{*,64})</a>]
</BOUCLE_motscles>
</div>
</section>
</B_motscles>
</article>
<div id="page-wrapper">
<!-- Header & Menu -->
<INCLURE{fond=inclure/header_menu}>
<!-- Main -->
<BOUCLE_principale(ARTICLES){id_article}>
<article id="main">
<header>
<h2>[(#TITRE|supprimer_numero)]</h2>
<p>#SOUSTITRE</p>
</header>
<section class="wrapper style4 alt">
<div class="inner">
<p>
<br /><a href="#URL_SITE_SPIP"><:accueil_site:></a> &gt;<B_FilAriane>
<BOUCLE_FilAriane(HIERARCHIE){id_article}{id_rubrique !IN #CONFIG{html5up_spectral/rubrique_exclure}|picker_selected{rubrique}}>
<a href="#URL_RUBRIQUE">[(#TITRE)]</a> &gt;
</BOUCLE_FilAriane>[(#TITRE)]
</p>
</div>
</section>
<section class="wrapper style5">
<div class="inner">
<p> Par #LESAUTEURS en [(#DATE*|affdate_mois_annee)]</p>
</BOUCLE_principale>
<!-- Footer -->
<INCLURE{fond=inclure/footer}>
</div>
[<div class="chapo #EDIT{chapo}">(#CHAPO|image_reduire{800,*})</div>]
[<div class="texte #EDIT{texte}">(#TEXTE|image_reduire{800,*})</div>]
[<div class="ps #EDIT{ps}">(#PS|image_reduire{800,*})</div>]
[<div class="notes">(#NOTES)</div>]
</div>
[<ul class="actions special">
<li><a href="#URL_SITE" class="button primary">(#NOM_SITE)</a></li>
</ul>]
</section>
<B_motscles>
<section class="wrapper style3 special">
<div class="inner">
<h2><:mots_clefs:></h2>
<BOUCLE_motscles(MOTS){id_article}>
[<a href="#URL_MOT" class="image" style="padding: 10px">(#LOGO_MOT|image_reduire{*,64})</a>]
</BOUCLE_motscles>
</div>
</section>
</B_motscles>
</article>
</BOUCLE_principale>
<!-- Footer -->
<INCLURE{fond=inclure/footer}>
</div>
<!-- Scripts -->
<INCLURE{fond=inclure/script}>
<INCLURE{fond=inclure/script}>
</body>
</html>
</html>

70
inclure/head.html

@ -1,40 +1,38 @@
[(#REM) adapté depuis le fichier head du squelette html5up_landed]
<meta charset="#CHARSET" />
<script type='text/javascript'>/*<![CDATA[*/(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement);/*]]>*/</script>
#SET{title_seo,#NOM_SITE_SPIP}
#SET{description, #DESCRIPTIF_SITE_SPIP}
#SET{title,#GET{title_seo} - #GET{description}|couper{154}|supprimer_tags}
#SET{description, #DESCRIPTIF_SITE_SPIP}
#SET{url, #URL_SITE_SPIP|url_absolue{#URL_SITE_SPIP}}
[(#ENV{id_rubrique}|oui)
#SET{title,#GET{title_seo} - #INFO_TITRE{rubrique,#ENV{id_rubrique}}}
#SET{description, #INTRODUCTION}
#SET{url, #URL_RUBRIQUE{#ENV{id_rubrique}|url_absolue{#URL_SITE_SPIP}}}
]
[(#ENV{id_article}|oui)
#SET{title,#GET{title_seo} - #INFO_TITRE{article,#ENV{id_article}}}
#SET{description, #INTRODUCTION}
#SET{url, #URL_ARTICLE{#ENV{id_article}|url_absolue{#URL_SITE_SPIP}}}
]
<title>[(#GET{title}|couper{100}|supprimer_tags)] </title>
[<meta name="description" content="(#GET{description}|couper{154}|supprimer_tags)" />]
[<link rel="canonical" href="(#GET{url})" />]
<meta name="generator" content="SPIP[ (#SPIP_VERSION)]" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
[<link rel="alternate" type="application/rss+xml" title="<:syndiquer_site:>" href="(#URL_PAGE{backend})" />]
[(#REM) adapté depuis le fichier head du squelette html5up_landed]
<meta charset="#CHARSET" />
<script type='text/javascript'>/*<![CDATA[*/(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement);/*]]>*/</script>
#SET{title_seo,#NOM_SITE_SPIP}
#SET{description, #DESCRIPTIF_SITE_SPIP}
#SET{title,#GET{title_seo} - #GET{description}|couper{154}|supprimer_tags}
#SET{description, #DESCRIPTIF_SITE_SPIP}
#SET{url, #URL_SITE_SPIP|url_absolue{#URL_SITE_SPIP}}
[(#ENV{id_rubrique}|oui)
#SET{title,#GET{title_seo} - #INFO_TITRE{rubrique,#ENV{id_rubrique}}}
#SET{description, #INTRODUCTION}
#SET{url, #URL_RUBRIQUE{#ENV{id_rubrique}|url_absolue{#URL_SITE_SPIP}}}
]
[(#ENV{id_article}|oui)
#SET{title,#GET{title_seo} - #INFO_TITRE{article,#ENV{id_article}}}
#SET{description, #INTRODUCTION}
#SET{url, #URL_ARTICLE{#ENV{id_article}|url_absolue{#URL_SITE_SPIP}}}
]
<title>[(#GET{title}|couper{100}|supprimer_tags)] </title>
[<meta name="description" content="(#GET{description}|couper{154}|supprimer_tags)" />]
[<link rel="canonical" href="(#GET{url})" />]
<meta name="generator" content="SPIP[ (#SPIP_VERSION)]" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
[<link rel="alternate" type="application/rss+xml" title="<:syndiquer_site:>" href="(#URL_PAGE{backend})" />]
[(#REM) Balise permettant aux plugins d'inserer des appels javascript ou css ; ]
#INSERT_HEAD
#INSERT_HEAD_CSS
#INSERT_HEAD_CSS
[<link rel="stylesheet" href="(#CHEMIN{assets/css/main.css}|timestamp)" />]
[<link rel="stylesheet" href="(#PRODUIRE{fond=assets/css/html5up_spectral.spip.css}|direction_css)" />]
[<noscript><link rel="stylesheet" href="(#CHEMIN{assets/css/noscript.css}|timestamp)" /></noscript>]
[<link rel="stylesheet" href="(#CHEMIN{css/perso.css}|direction_css|timestamp)" type="text/css" />]
[(#REM) Favicon ]
[<link rel="icon" type="image/x-icon" href="(#CHEMIN{favicon.ico})" />
[<link rel="shortcut icon" type="image/x-icon" href="(#CHEMIN{favicon.ico})" />]]
[<link rel="stylesheet" href="(#CHEMIN{assets/css/main.css}|timestamp)" />]
[<link rel="stylesheet" href="(#PRODUIRE{fond=assets/css/html5up_spectral.spip.css}|direction_css)" />]
[<noscript><link rel="stylesheet" href="(#CHEMIN{assets/css/noscript.css}|timestamp)" /></noscript>]
[<link rel="stylesheet" href="(#CHEMIN{css/perso.css}|direction_css|timestamp)" type="text/css" />]
[(#REM) Balise permettant aux plugins d'inserer des appels javascript ou css ; ]
#INSERT_HEAD
[(#REM) Favicon ]
[<link rel="icon" type="image/x-icon" href="(#CHEMIN{favicon.ico})" />
[<link rel="shortcut icon" type="image/x-icon" href="(#CHEMIN{favicon.ico})" />]]

4
inclure/script.html

@ -1,7 +1,7 @@
[<script src="(#CHEMIN{assets/js/jquery.min.js})"></script>]
[<script src="(#CHEMIN{assets/js/jquery.scrollex.min.js})"></script>]
[<script src="(#CHEMIN{assets/js/jquery.scrolly.min.js})"></script>]
[<script src="(#CHEMIN{assets/js/browser.min.js})"></script>]
[<script src="(#CHEMIN{assets/js/breakpoints.min.js})"></script>]
[<script src="(#CHEMIN{assets/js/util.js})"></script>]
[<script src="(#CHEMIN{assets/js/main.js})"></script>]
[<script src="(#CHEMIN{assets/js/main.js})"></script>]

4
paquet.xml

@ -1,8 +1,8 @@
<paquet
prefix="html5up_spectral"
categorie="squelette"
version="1.0.20"
etat="test"
version="2.0.0"
etat="dev"
compatibilite="[3.1.0;3.2.*]"
logo="prive/themes/spip/images/html5up_spectral-64.png"
documentation="https://contrib.spip.net/5166"

6
sommaire.html

@ -28,7 +28,7 @@
<BOUCLE_hero(ARTICLES){id_article IN #CONFIG{html5up_spectral/hero}|picker_selected{article}}>
<section id="one" class="wrapper style1 special">
<div class="inner">
<header class="major">
<header class="major">
<h2>#TITRE</h2>
#INTRODUCTION
<ul class="actions special">
@ -92,7 +92,6 @@
</section>
<!-- CTA -->
<section id="cta" class="wrapper style4">
<div class="inner">
@ -115,7 +114,6 @@
</div>
</section>
<!-- Footer -->
<INCLURE{fond=inclure/footer}>
@ -125,4 +123,4 @@
<INCLURE{fond=inclure/script}>
</body>
</html>
</html>

2
spip_admin_perso.css

@ -1 +1 @@
.spip-admin-float { z-index: 100; position: fixed; right: 20%; top: 4em; white-space: nowrap; }
.spip-admin-float { z-index: 100; position: fixed; right: 20%; top: auto; bottom:0; white-space: nowrap; }

Loading…
Cancel
Save