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/"
languageCode = "fr-fr"
DefaultContentLanguage = "fr"
theme = "airspace"
disableKinds = ["taxonomy", "taxonomyTerm"]
# The site's parameters
[params]
......
---
title: "Ceinture Flonflon"
date: 2019-01-21T14:50:09+01:00
categories: ["ceintures"]
categories: "ceintures"
colori: "rouge"
dimensions: "2m"
details: ["troisieme detail"]
......
---
title: "Ceinture Tiou"
date: 2019-01-21T14:51:47+01:00
categories: ["ceintures"]
categories: "ceintures"
colori: "bleu"
dimensions: "2m"
details: ["troisieme detail lol"]
......
---
title: "Cartable Larissa"
date: 2019-01-21T09:20:31+01:00
categories: ["sac"]
categories: "sacs"
colori: "noir"
dimensions: "230x150x36cm"
details: ["premier detail", "deuxieme detail", "troisieme detail"]
......
......@@ -9,27 +9,45 @@
{{ partial "global-header.html" . }}
<section class="blog section">
<div class="container">
<div class="row">
{{ range (.Paginator 6).Pages }}
<div class="col-md-6">
<article class="blog-post">
{{ with .Params.image }}
<img src="{{ . | absURL }}" class="img-responsive" alt="post-thumb"> {{ end }}
<a class="post-title" href="{{ .Permalink }}">{{ .Title }}</a>
<p>
{{ .Summary }}
</p>
<a href="{{ .Permalink }}" class="btn btn-main">Read More</a>
</article>
</div>
{{ end }}
</div>
<div class="col-12 text-center">
{{ template "_internal/pagination.html" . }}
</div>
</div>
<section id="portfolio-work">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="block">
<div class="portfolio-menu">
<ul>
{{ $categories := slice }}
{{ range (readDir "content/productions") }}
{{ $categories = $categories | append .Name }}
{{ end }}
<li class="filter" data-filter="all">Tout</li>
{{ range ( $categories | uniq ) }}
<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>
</a>
</li>
{{ end }}
</ul>
</div>
</div>
</div>
</div>
</div>
</section>
{{ partial "footer.html" . }}
......
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