better single page
This commit is contained in:
parent
50377f4479
commit
d261361cb4
10 changed files with 79 additions and 30 deletions
|
|
@ -1,11 +1,13 @@
|
|||
{{ define "main" }}
|
||||
<div>
|
||||
<h2>Programme</h2>
|
||||
{{ partial "events/program.html" . }}
|
||||
</div>
|
||||
<div class="home">
|
||||
<div>
|
||||
<h2>Programme</h2>
|
||||
{{ partial "events/program.html" . }}
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<h2>Évènements à venir</h2>
|
||||
{{ partial "events/upcoming.html" . }}
|
||||
<div>
|
||||
<h2>Évènements à venir</h2>
|
||||
{{ partial "events/upcoming.html" . }}
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
{{ define "main" }}
|
||||
{{ .Content }}
|
||||
<p>This line is from <code>layouts/_default/single.html</code>.</p>
|
||||
<div class="event">{{ .Content }}</div>
|
||||
{{ end }}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<div class="concerts">
|
||||
{{ $sites := where site.RegularPages "Section" "event" }}
|
||||
{{ $sites := where site.RegularPages "Section" "events" }}
|
||||
{{ range sort $sites ".Params.ConcertDate" }}
|
||||
<div class="concert-entry">
|
||||
<p class="concert-date">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue