move some content out of the .html file

This commit is contained in:
Robin Müller 2023-12-09 02:01:11 +01:00
parent b81022f7cf
commit 0029ff98c4
Signed by: muellerr
GPG Key ID: A649FB78196E3849
5 changed files with 19 additions and 13 deletions

View File

@ -4,3 +4,6 @@ date = 2023-01-01T08:00:00-07:00
draft = false
+++
This is a collection of open-source software projects maintained by the
satellite division of the Institute of Space Systems at the University of
Stuttgart.

View File

@ -2,10 +2,9 @@
title = 'FSFW'
date = 2023-01-01T08:00:00-07:00
draft = false
hidden = true
+++
<div class="container text-center">
<h1>FSFW</h1>
<p>Free Software Free World</p>
<p>Hello!</p>
</div>

View File

@ -1,7 +0,0 @@
+++
title = 'sat-rs'
date = 2023-01-01T08:00:00-07:00
draft = false
+++
sat-rs test

View File

@ -0,0 +1,10 @@
+++
title = 'FSFW'
date = 2023-01-01T08:00:00-07:00
draft = false
+++
<div class="container text-center">
<h1>sat-rs</h1>
<p>Hello!</p>
</div>

View File

@ -1,13 +1,14 @@
{{ define "main" }}
<main aria-role="main">
<!-- Note that the content for index.html, as a sort of list page, will pull from content/_index.md -->
<div class="container">
<h1 class="display-6">
This is a collection of open-source software projects maintained by the
satellite division of the Institute of Space Systems at the University of
Stuttgart.
{{ .Content }}
</h1>
</div>
<div class="container">
<div class="container py-4 text-center overflow-hidden">
<div class="row row-cols-2">
<div class="col d-flex flex-column justify-content-center">
@ -29,7 +30,7 @@
</div>
</div>
</div>
{{ .Content }}
<div>
<!-- TODO: Somehow display the site summary as flexboxes? -->
{{ range first 10 .Site.RegularPages }} {{ .Render "summary" }} {{ end }}