Commit d9a68679 authored by Si Mon's avatar Si Mon 😓

change _default/list to display content as javascript elements

parent 1bbc7dce
...@@ -3,6 +3,7 @@ baseURL = "http://petitgraindepeau.art-e-toile.com/" ...@@ -3,6 +3,7 @@ baseURL = "http://petitgraindepeau.art-e-toile.com/"
languageCode = "fr-fr" languageCode = "fr-fr"
DefaultContentLanguage = "fr" DefaultContentLanguage = "fr"
theme = "airspace" theme = "airspace"
disableKinds = ["taxonomy", "taxonomyTerm"]
# The site's parameters # The site's parameters
[params] [params]
......
--- ---
title: "Ceinture Flonflon" title: "Ceinture Flonflon"
date: 2019-01-21T14:50:09+01:00 date: 2019-01-21T14:50:09+01:00
categories: ["ceintures"] categories: "ceintures"
colori: "rouge" colori: "rouge"
dimensions: "2m" dimensions: "2m"
details: ["troisieme detail"] details: ["troisieme detail"]
......
--- ---
title: "Ceinture Tiou" title: "Ceinture Tiou"
date: 2019-01-21T14:51:47+01:00 date: 2019-01-21T14:51:47+01:00
categories: ["ceintures"] categories: "ceintures"
colori: "bleu" colori: "bleu"
dimensions: "2m" dimensions: "2m"
details: ["troisieme detail lol"] details: ["troisieme detail lol"]
......
--- ---
title: "Cartable Larissa" title: "Cartable Larissa"
date: 2019-01-21T09:20:31+01:00 date: 2019-01-21T09:20:31+01:00
categories: ["sac"] categories: "sacs"
colori: "noir" colori: "noir"
dimensions: "230x150x36cm" dimensions: "230x150x36cm"
details: ["premier detail", "deuxieme detail", "troisieme detail"] details: ["premier detail", "deuxieme detail", "troisieme detail"]
......
...@@ -9,25 +9,43 @@ ...@@ -9,25 +9,43 @@
{{ partial "global-header.html" . }} {{ partial "global-header.html" . }}
<section class="blog section"> <section id="portfolio-work">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
{{ range (.Paginator 6).Pages }} <div class="col-md-12">
<div class="col-md-6"> <div class="block">
<article class="blog-post"> <div class="portfolio-menu">
{{ with .Params.image }} <ul>
<img src="{{ . | absURL }}" class="img-responsive" alt="post-thumb"> {{ end }} {{ $categories := slice }}
<a class="post-title" href="{{ .Permalink }}">{{ .Title }}</a> {{ range (readDir "content/productions") }}
<p> {{ $categories = $categories | append .Name }}
{{ .Summary }} {{ end }}
</p> <li class="filter" data-filter="all">Tout</li>
<a href="{{ .Permalink }}" class="btn btn-main">Read More</a> {{ range ( $categories | uniq ) }}
</article> <li class="filter" data-filter=".{{ . }}">{{ . }}</li>
{{ end }}
</ul>
</div>
<div class="portfolio-contant">
<ul id="portfolio-contant-active">
{{ range .Pages }}
<li class="mix {{ .Params.categories }}">
<a href="{{ .URL }}">
<img src="{{ .Params.image | absURL }}" alt="">
<div class="overly">
<div class="position-center">
<h2>{{ .Title }}</h2>
<p>{{ .Summary }}</p>
</div> </div>
</div>
</a>
</li>
{{ end }} {{ end }}
</ul>
</div>
</div>
</div> </div>
<div class="col-12 text-center">
{{ template "_internal/pagination.html" . }}
</div> </div>
</div> </div>
</section> </section>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment