feat: basic style and layout

images de la nef et facades
This commit is contained in:
Matthieu Bessat 2022-09-29 19:00:28 +02:00
parent bb43b2bc9d
commit 2fe8d5a5ae
86 changed files with 625 additions and 92 deletions

View file

@ -21,8 +21,10 @@
<link rel="stylesheet" href="{{ $style.Permalink }}" integrity="{{ $style.Data.Integrity }}">
</head>
<body>
<div class="footer-push">
{{ partial "header" . }}
{{ block "main" . }}{{ end }}
</div>
{{ partial "footer" . }}
</body>
</html>

View file

@ -1,5 +1,5 @@
{{ define "main" }}
<main>
<main class="page-container">
{{ $listtitle := .Title }}
{{ if or .Title .Content }}
<div>

View file

@ -1,16 +1,16 @@
{{ define "main" }}
<main>
<main class="page-container">
<article>
<h1>{{ .Title }}</h1>
<div>Publié le <b><time>{{ .Date | time.Format ":date_full" }}</time></b></div>
{{ range .Params.tags }}
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
{{ end }}
{{ with .Date }}
<div>Publié le <b><time>{{ . | time.Format ":date_full" }}</time></b></div>
{{ end }}
{{ range .Params.tags }}
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
{{ end }}
<div>
{{ .Content }}
</div>
</article>
</main>
{{ partial "sidebar.html" . }}
{{ end }}