Commit e6d064f0 authored by wbar's avatar wbar
Browse files

remove partialCached and put back simple partial on site header

parent fab5820c
{{ partialCached "header.html" . }}
{{ partial "header.html" . }}
<h1>Liste des articles > {{ .Title }}</h1>
{{ range (.Paginator .Site.Params.pagination_articles).Pages }}
......
{{ partialCached "header.html" . }}
{{ partial "header.html" . }}
<article>
<header>
......
{{ partialCached "header.html" . }}
{{ partial "header.html" . }}
<article>
<header>
......
{{ partialCached "header.html" . }}
{{ partial "header.html" . }}
<h1>Liste des articles</h1>
{{ $paginator := .Paginate (where .Site.RegularPages "Section" "in" .Site.Params.section_on_frontpage ) .Site.Params.pagination_articles }}
......
{{ partialCached "header.html" . }}
{{ partial "header.html" . }}
<article>
<header>
<h1><a href="{{ .RelPermalink }}">{{ .Title }}</a><h1>
......
{{ partialCached "header.html" . }}
{{ partial "header.html" . }}
<p>Oups ! on est pas sensé arriver là !</p>
......
{{ partialCached "header.html" . }}
{{ partial "header.html" . }}
<article>
<header>
......
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