Rehacer la web con Hugo: nuevo diseño, blog integrado y página del 29N
This commit is contained in:
parent
5d229667f0
commit
e75c923f90
59 changed files with 1262 additions and 1352 deletions
11
layouts/partials/cabeza-pagina.html
Normal file
11
layouts/partials/cabeza-pagina.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<header class="cabeza">
|
||||
{{ partial "aspa.html" . }}
|
||||
<div class="cabeza-in">
|
||||
{{ with .Params.antetitulo }}<p class="k">{{ . }}</p>{{ end }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ with .Params.entradilla }}<p class="entradilla">{{ . }}</p>{{ end }}
|
||||
{{ if eq .Section "articulos" }}{{ if .IsPage }}
|
||||
<p class="k k-fino"><time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date | time.Format ":date_long" }}</time> · {{ .ReadingTime }} min de lectura</p>
|
||||
{{ end }}{{ end }}
|
||||
</div>
|
||||
</header>
|
||||
Loading…
Add table
Add a link
Reference in a new issue