the links now work as well

This commit is contained in:
Robin Müller 2023-12-09 02:12:35 +01:00
parent 0029ff98c4
commit bfe6038f20
Signed by: muellerr
GPG Key ID: A649FB78196E3849

View File

@ -1,17 +1,18 @@
{{ define "main" }} {{ define "main" }}
<main aria-role="main"> <main aria-role="main">
<!-- Note that the content for index.html, as a sort of list page, will pull from content/_index.md --> <!-- Note that the content for index.html, as a sort of list page, will pull from content/_index.md -->
<div class="container"> <div class="container">
<h1 class="display-6"> <h1 class="display-6">{{ .Content }}</h1>
{{ .Content }}
</h1>
</div> </div>
<!-- TODO: Find a way that the content of these boxes can be specified in front matter. -->
<div class="container"> <div class="container">
<div class="container py-4 text-center overflow-hidden"> <div class="container py-4 text-center overflow-hidden">
<div class="row row-cols-2"> <div class="row row-cols-2">
<div class="col d-flex flex-column justify-content-center"> <a
href="projects/fsfw"
class="col d-flex flex-column justify-content-center text-decoration-none"
>
<div <div
class="bg-body-tertiary rounded d-flex flex-column flex-wrap justify-content-center my-2" class="bg-body-tertiary rounded d-flex flex-column flex-wrap justify-content-center my-2"
> >
@ -19,21 +20,19 @@
Flight Software Framework (FSFW) Flight Software Framework (FSFW)
</h2> </h2>
</div> </div>
</div> </a>
<div class="col d-flex flex-column justify-content-center"> <a
href="projects/sat-rs"
class="col d-flex flex-column justify-content-center text-decoration-none"
>
<div <div
class="bg-body-tertiary rounded d-flex flex-column flex-wrap justify-content-center my-2 h-100" class="bg-body-tertiary rounded d-flex flex-column flex-wrap justify-content-center my-2 h-100"
> >
<h2 class="display-6 py-5 mx-2">sat-rs</h2> <h2 class="display-6 py-5 mx-2">sat-rs</h2>
</div> </div>
</div> </a>
</div> </div>
</div> </div>
</div> </div>
<div>
<!-- TODO: Somehow display the site summary as flexboxes? -->
{{ range first 10 .Site.RegularPages }} {{ .Render "summary" }} {{ end }}
</div>
</main> </main>
{{ end }} {{ end }}