39 lines
919 B
HTML
39 lines
919 B
HTML
{{ define "main" }}
|
|
<h1>{{ .Title }}</h1>
|
|
<table>
|
|
<tr>
|
|
<th>Quién</th>
|
|
<td>{{ .Params.quien }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Madrina</th>
|
|
<td>{{ .Params.madrina }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Duracion</th>
|
|
<td>{{ .Params.duracion }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Preferencia</th>
|
|
<td>{{ .Params.preferencia }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Necesita</th>
|
|
<td>{{ partial "comma_separated_list" .Params.necesita }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Tags</th>
|
|
<td>{{ partial "comma_separated_list" .Params.tags }}</td>
|
|
</tr>
|
|
</table>
|
|
{{ .Content }}
|
|
{{ end }}
|
|
|
|
{{ define "sidebar_menu" }}
|
|
<ul>
|
|
{{ range .Parent.Pages }}
|
|
<li><a href="{{ .Permalink }}">{{.Title}}</a></li>
|
|
{{ end }}
|
|
</ul>
|
|
{{ end}}
|