helloworldhellwoorldeofoehfafihuofijoahfgyioafjpafhzguirg uvuizerurg_ozerygvoiuhrgreqiogrehh
This commit is contained in:
parent
3379242f31
commit
c00a301523
79 changed files with 1614 additions and 3 deletions
37
themes/vmems-theme/layouts/partials/carousel.html
Normal file
37
themes/vmems-theme/layouts/partials/carousel.html
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{{ if (isset site.Data "carousel") }}
|
||||
{{ if gt (len site.Data.carousel) 0 }}
|
||||
<div class="carousel home-top-carousel" data-to-slick='{
|
||||
"autoplay":true,
|
||||
"arrows":false,
|
||||
"slideToShow":1,
|
||||
"center": true,
|
||||
"autoplaySpeed":2000,
|
||||
"prevArrow":false,
|
||||
"nextArrow":false,
|
||||
"dots":true
|
||||
}'>
|
||||
|
||||
{{ range (sort site.Data.carousel "weight") }}
|
||||
<div class=item>
|
||||
{{ if .href }}
|
||||
<a href="{{ .href}}">
|
||||
{{ end }}
|
||||
<div class=text>
|
||||
<h3 class=title>
|
||||
{{ .title }}
|
||||
</h3>
|
||||
<div class=description>
|
||||
{{ .description | safeHTML }}
|
||||
</div>
|
||||
</div>
|
||||
<div class=img>
|
||||
<img src="{{ .image }}">
|
||||
</div>
|
||||
{{ if .href }}
|
||||
</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
27
themes/vmems-theme/layouts/partials/features.html
Normal file
27
themes/vmems-theme/layouts/partials/features.html
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{{ if (isset site.Data "features") }}
|
||||
{{ if gt (len site.Data.features) 0 }}
|
||||
<div class="features">
|
||||
{{ range (sort site.Data.features "weight") }}
|
||||
<div class=item>
|
||||
{{ if .url }}
|
||||
<a href="{{ .url}}">
|
||||
{{ end }}
|
||||
<div class=icon>
|
||||
<i class="{{ .icon }}"></i>
|
||||
</div>
|
||||
<div class=text>
|
||||
<h3 class=title>
|
||||
{{ .name }}
|
||||
</h3>
|
||||
<div class=description>
|
||||
{{ .description | markdownify }}
|
||||
</div>
|
||||
</div>
|
||||
{{ if .url }}
|
||||
</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
49
themes/vmems-theme/layouts/partials/footer.html
Normal file
49
themes/vmems-theme/layouts/partials/footer.html
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
<footer class=footer>
|
||||
<div class="row top">
|
||||
<ul class="col left list-style-none">
|
||||
{{ range .Site.Menus.footer_left.ByWeight }}
|
||||
<li>
|
||||
{{ if .URL }}
|
||||
<a href="{{ .URL }}">
|
||||
{{ end }}
|
||||
{{ .Name }}
|
||||
{{ if .URL }}
|
||||
</a>
|
||||
{{ end }}
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
<ul class="col middle list-style-none">
|
||||
{{ range .Site.Menus.footer_middle.ByWeight }}
|
||||
<li>
|
||||
{{ if .URL }}
|
||||
<a href="{{ .URL }}">
|
||||
{{ end }}
|
||||
{{ .Name }}
|
||||
{{ if .URL }}
|
||||
</a>
|
||||
{{ end }}
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
<ul class="col right list-style-none">
|
||||
{{ range .Site.Menus.footer_right.ByWeight }}
|
||||
<li>
|
||||
{{ if .URL }}
|
||||
<a href="{{ .URL }}">
|
||||
{{ end }}
|
||||
{{ .Name }}
|
||||
{{ if .URL }}
|
||||
</a>
|
||||
{{ end }}
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="row bottom">
|
||||
<div class="col middle copyright">
|
||||
<p>{{ .Site.Params.Copyright | safeHTML }}</p>
|
||||
<p>Ce site utilise un thème développé par <a href="//gzod01.fr">GZod01</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
31
themes/vmems-theme/layouts/partials/head.html
Normal file
31
themes/vmems-theme/layouts/partials/head.html
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE HTML>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
{{ if isset .Site.Params "sharing_default" }}
|
||||
<meta property="og:image" content="{{ .Site.Params.sharing_default }}">
|
||||
<meta property="og:image:type" content="image/png">
|
||||
<meta property="og:image:width" content="1024">
|
||||
<meta property="og:image:height" content="1024">
|
||||
{{ end }}
|
||||
<meta property="og:title" content="{{ .Site.Title }}">
|
||||
<meta property="og:url" content="{{ .Permalink | absURL }}">
|
||||
<meta property="og:description" content="{{ .Site.Params.description }}">
|
||||
<link rel="stylesheet" type="text/css" href="/css/style.css">
|
||||
<link rel="stylesheet" type="text/css" href="/css/monokai.highlight.css">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" integrity="sha512-iecdLmaskl7CVkqkXNQ/ZH/XLlvWZOJyj7Yy7tcenmpD1ypASozpmT/E0iPtmFIB46ZmdtAc9eNBvH0H/ZpiBw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
|
||||
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick-theme.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="/css/carousel.css">
|
||||
<link rel="icon" href="{{ .Site.Params.icon }}">
|
||||
|
||||
<script src="https://code.jquery.com/jquery-3.7.0.js" integrity="sha256-JlqSTELeR4TLqP0OG9dxM7yDPqX1ox/HfgiSLBj8+kM=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.min.js" integrity="sha256-DHF4zGyjT7GOMPBwpeehwoey18z8uiz98G4PRu2lV0A=" crossorigin="anonymous"></script>
|
||||
|
||||
<script src="/js/main.js"></script>
|
||||
|
||||
<title>{{ if not .IsHome }}{{ with .Title }}{{ . | safeHTML }} | {{ end }}{{ end }}{{ .Site.Title }}</title>
|
||||
|
||||
</head>
|
||||
29
themes/vmems-theme/layouts/partials/header.html
Normal file
29
themes/vmems-theme/layouts/partials/header.html
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
<header class=navbar>
|
||||
<a href="/" class=navbar-logo-container>
|
||||
{{ if default false .Site.Params.disabled_logo }}
|
||||
<span>{{ .Site.Params.logo_text }}</span>
|
||||
{{ else }}
|
||||
<img src="{{ .Site.Params.logo | relURL }}" alt="{{ .Title }} logo" class="navbar-logo desktop-only-element">
|
||||
<img src="{{ .Site.Params.logo_small | relURL}}" alt="{{ .Title }} logo" class="navbar-logo mobile-only-element">
|
||||
{{ end }}
|
||||
</a>
|
||||
<input type=checkbox id=navbar-list-toggler hidden>
|
||||
{{ $current := . }}
|
||||
<ul class="desktop-only-element navbar-list">
|
||||
{{ range .Site.Menus.main }}
|
||||
{{ $active := "" }}
|
||||
{{ $menu_item_url := .URL | relLangURL }}
|
||||
{{ $page_url:= $current.RelPermalink | relLangURL }}
|
||||
|
||||
{{ if eq $menu_item_url $page_url }}
|
||||
{{ $active = "active" }}
|
||||
{{ end }}
|
||||
{{ if (and (hasPrefix $page_url "/blog/") (eq $menu_item_url "/blog/")) }}
|
||||
{{ $active = "active" }}
|
||||
{{ end }}
|
||||
<li class="navbar-list-item {{ $active }}">{{ if .URL }}<a href="{{ .URL }}">{{ .Name }}</a>{{ else }}{{ .Name }}{{ end }}</li>
|
||||
|
||||
{{ end }}
|
||||
</ul>
|
||||
<label id=navbar-list-toggler-label for=navbar-list-toggler class="mobile-only-element"><i class="fa-solid fa-bars"></i></label>
|
||||
</header>
|
||||
23
themes/vmems-theme/layouts/partials/last-articles-row-3.html
Normal file
23
themes/vmems-theme/layouts/partials/last-articles-row-3.html
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<div class="last-articles-grid-3">
|
||||
{{ range ( where site.RegularPages "Type" "blog" | first 12 ) }}
|
||||
<div class=item>
|
||||
<a href="{{ .Permalink }}">
|
||||
<div class=baneer>
|
||||
{{ if .Params.baneer }}
|
||||
<img src="{{ .Params.baneer }}">
|
||||
{{ else }}
|
||||
<img src="/img/logo_small.png">
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class=text>
|
||||
<h3 class=title>
|
||||
{{ .Title }}
|
||||
</h3>
|
||||
<div class=description>
|
||||
{{ .Description }}
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
31
themes/vmems-theme/layouts/partials/last-news-carousel.html
Normal file
31
themes/vmems-theme/layouts/partials/last-news-carousel.html
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
<div class="carousel last-news-carousel" data-to-slick='{
|
||||
"autoplay":true,
|
||||
"arrows":false,
|
||||
"slideToShow":1,
|
||||
"center": true,
|
||||
"autoplaySpeed":2000,
|
||||
"prevArrow":false,
|
||||
"nextArrow":false,
|
||||
"dots":false
|
||||
}'>
|
||||
|
||||
{{ range ( where site.RegularPages "Type" "blog" | first 3 ) }}
|
||||
<div class=item>
|
||||
<a href="{{ .Permalink }}">
|
||||
<div class=text>
|
||||
<h3 class=title>
|
||||
{{ .Title }}
|
||||
</h3>
|
||||
<div class=description>
|
||||
{{ .Description }}
|
||||
</div>
|
||||
</div>
|
||||
{{ if .Params.baneer }}
|
||||
<div class=img>
|
||||
<img src="{{ .Params.baneer | safeURL }}">
|
||||
</div>
|
||||
{{ end }}
|
||||
</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
48
themes/vmems-theme/layouts/partials/team-carousel.html
Normal file
48
themes/vmems-theme/layouts/partials/team-carousel.html
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{{ if (isset site.Data "employees") }}
|
||||
{{ if gt (len site.Data.employees) 0 }}
|
||||
<div class="carousel employees-carousel" data-to-slick='{
|
||||
"autoplay":true,
|
||||
"arrows":false,
|
||||
"slidesToShow":3,
|
||||
"slidesToScroll":1,
|
||||
"infinite":true,
|
||||
"center": true,
|
||||
"autoplaySpeed":2000,
|
||||
"prevArrow":false,
|
||||
"nextArrow":false,
|
||||
"dots":true
|
||||
}'>
|
||||
|
||||
{{ range (sort site.Data.employees "weight") }}
|
||||
{{ if not (eq .name "NODATA") }}
|
||||
<div class=item>
|
||||
{{ if .href }}
|
||||
<a href="{{ .href}}">
|
||||
{{ end }}
|
||||
<div class=img>
|
||||
<img src="{{ .img }}">
|
||||
</div>
|
||||
<div class=text>
|
||||
<h3 class=title>
|
||||
{{ .name }}
|
||||
</h3>
|
||||
<div class=description>
|
||||
{{ .description | safeHTML }}
|
||||
</div>
|
||||
<p>Poste occupé: {{ .post }}</p>
|
||||
{{ if .url }}
|
||||
<p><a href="{{ .url }}">Lien externe <i class="fas fa-link"></i></a></p>
|
||||
{{ end }}
|
||||
{{ if .writername }}
|
||||
<p>Nom d'écriture: {{ .writername }}</p>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ if .href }}
|
||||
</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue