2018-08-22 22:37:33 +02:00
{{ define "header" }}
2020-08-20 22:28:10 +02:00
{{ partial "masthead.html" . }}
2018-08-22 22:37:33 +02:00
{{ end }}
{{ define "main" }}
< article itemscope itemtype = "http://schema.org/BlogPosting" >
2020-08-20 22:28:10 +02:00
{{ template "_internal/schema.html" . }} < header >
2018-08-22 22:37:33 +02:00
< h1 itemprop = "headline" > {{ .Title }}< / h1 >
< p class = "muted" >
{{ partial "posts/meta.html" . }}
< / p >
{{ if .Description }}
< blockquote itemprop = "description" > {{ .Description }}< / blockquote >
{{ end }}
{{ if .Resources.GetMatch "header" }}
{{ $image600 := (.Resources.GetMatch "header").Fill "600x338 q60 Center" }}
{{ $image900 := (.Resources.GetMatch "header").Fill "900x506 q70 Center" }}
{{ $image1200 := (.Resources.GetMatch "header").Fill "1200x675 q80 Center" }}
{{ $image1600 := (.Resources.GetMatch "header").Fill "1600x900 q90 Center" }}
< img
alt=""
class="lazyload blur-up"
src="{{ $image600.RelPermalink }}"
data-sizes="auto"
data-src="{{ $image1200.RelPermalink }}"
data-srcset="{{ $image600.RelPermalink }} 600w, {{ $image900.RelPermalink }} 900w, {{ $image1200.RelPermalink }} 1200w, {{ $image1600.RelPermalink }} 1600w"
>
{{ end }}
< / header >
{{ partial "toc-maybe.html" . }}
< div itemprop = "articleBody" >
{{ .Content }}
2020-08-27 21:47:54 +02:00
< div > Cualquier duda o comentario, me puedes contactar en los canales descritos en la < a href = "/" > página principal< / a > < / div >
2018-08-22 22:37:33 +02:00
< / div >
< footer >
< hr >
{{ partial "posts/byline.html" . }}
{{ partial "posts/related-content.html" . }}
< div align = "center" > Este obra está bajo una < a rel = "license" href = "http://creativecommons.org/licenses/by-sa/4.0/" > licencia de Creative Commons Reconocimiento-CompartirIgual 4.0 Internacional< / a > < / div >
< / footer >
< / article >
{{ end }}