Hugo port

This commit is contained in:
2024-02-21 17:58:07 +01:00
parent 360bfea671
commit d75599d8d8
40 changed files with 343 additions and 294 deletions

View File

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="{{ or site.Language.LanguageCode site.Language.Lang }}" dir="{{ or site.Language.LanguageDirection `ltr` }}">
<head>
{{ partial "head.html" . -}}
</head>
<body>
<header>
{{ partial "header.html" . -}}
</header>
<main>
{{- block "main" . }}{{- end -}}
</main>
<footer>
{{ partial "footer.html" . -}}
</footer>
</body>
</html>

View File

@ -0,0 +1,3 @@
{{ define "main" }}
{{ .Content }}
{{ end }}

View File

@ -0,0 +1,17 @@
{{ define "main" }}
{{ .Content }}
<div class="row center-xs middle-xs">
{{ range .Pages }}
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4">
<img src="/{{ .Params.image }}" alt="Linux Party Image">
</div>
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4">
<p><strong>{{ .Title }}</strong></p>
<p>{{ .Description }}</p>
<p>Fecha: {{ partial "time.html" . }}</p>
<p>Lugar: {{ .Params.place }}</p>
<a class="button" href="{{ .Permalink }}">Más info</a>
</div>
</div>
{{ end }}
{{ end }}

View File

@ -0,0 +1,3 @@
{{ define "main" }}
{{ .Content }}
{{ end }}