Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Chagratt
bwog-notes-v2
Commits
e6d064f0
Commit
e6d064f0
authored
Feb 10, 2020
by
wbar
Browse files
remove partialCached and put back simple partial on site header
parent
fab5820c
Changes
7
Hide whitespace changes
Inline
Side-by-side
layouts/_default/taxonomy.html
View file @
e6d064f0
{{ partial
Cached
"header.html" . }}
{{ partial "header.html" . }}
<h1>
Liste des articles > {{ .Title }}
</h1>
{{ range (.Paginator .Site.Params.pagination_articles).Pages }}
...
...
layouts/_default/terms.html
View file @
e6d064f0
{{ partial
Cached
"header.html" . }}
{{ partial "header.html" . }}
<article>
<header>
...
...
layouts/archives/list.html
View file @
e6d064f0
{{ partial
Cached
"header.html" . }}
{{ partial "header.html" . }}
<article>
<header>
...
...
layouts/index.html
View file @
e6d064f0
{{ partial
Cached
"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 }}
...
...
layouts/pages/single.html
View file @
e6d064f0
{{ partial
Cached
"header.html" . }}
{{ partial "header.html" . }}
<article>
<header>
<h1><a
href=
"{{ .RelPermalink }}"
>
{{ .Title }}
</a><h1>
...
...
layouts/posts/list.html
View file @
e6d064f0
{{ partial
Cached
"header.html" . }}
{{ partial "header.html" . }}
<p>
Oups ! on est pas sensé arriver là !
</p>
...
...
layouts/posts/single.html
View file @
e6d064f0
{{ partial
Cached
"header.html" . }}
{{ partial "header.html" . }}
<article>
<header>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment