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/articulos/single.html
Normal file
11
layouts/articulos/single.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{{ define "main" }}
|
||||
{{ partial "cabeza-pagina.html" . }}
|
||||
<article class="bloque bloque-crema">
|
||||
<div class="prosa prosa-capitular">{{ .Content }}</div>
|
||||
<nav class="prosa navega" aria-label="Más artículos">
|
||||
{{ with .NextInSection }}<a href="{{ .RelPermalink }}"><span class="k k-fino">← Anterior</span>{{ .Title }}</a>{{ else }}<span></span>{{ end }}
|
||||
{{ with .PrevInSection }}<a class="der" href="{{ .RelPermalink }}"><span class="k k-fino">Siguiente →</span>{{ .Title }}</a>{{ end }}
|
||||
</nav>
|
||||
</article>
|
||||
{{ partial "llamada.html" . }}
|
||||
{{ end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue