Skip to content

Commit

Permalink
add some dummy content
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddenton committed Sep 29, 2024
1 parent 67146e5 commit 128810d
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 13 deletions.
6 changes: 6 additions & 0 deletions src/website/content/blog/example/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
draft: true
title: Example blog
description: Subtitle
---

6 changes: 6 additions & 0 deletions src/website/content/how-to/example/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
draft: true
title: Example title
description: Subtitle
---

6 changes: 6 additions & 0 deletions src/website/content/projects/example/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
draft: true
title: Example project
description: Subtitle
---

6 changes: 6 additions & 0 deletions src/website/content/tutorials/example/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
draft: true
title: Example tutorial
description: Subtitle
---

7 changes: 2 additions & 5 deletions src/website/layouts/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,11 @@
<section class="section py-5">
<div class="container">
<div class="row mb-4 mr-4">
<span class="col-sm-8 display-6 fw-bold text-primary">//page not found</span>
<span class="col-sm-8 display-6 fw-bold text-primary">//404</span>
</div>
<div class="row">
<span class="m-2 mb-5">You seem to have taken a wrong turn! <a href="{{ .Site.Home.RelPermalink }}">Let's get you back on track!</a></span>
<img src="/images/404.png" class="border-radius-34" alt="404" width="50%"/>
<div class="text-end">
<span class="display-7 fw-bold">Image by <a href="https://pixabay.com/users/geralt-9301">Gerd Altmann</a> from <a href="https://pixabay.com/">Pixabay</a></span>
</div>
<img src="/images/404.webp" class="border-radius-34" alt="404" width="50%"/>
</div>
</div>
</section>
Expand Down
8 changes: 0 additions & 8 deletions src/website/layouts/index.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,2 @@
{{ define "main" }}
<main>
{{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }}
{{ range $paginator.Pages }}
{{ .Render "summary" }}
{{ end }}
{{ partial "shared/pagination.html" . }}
</main>
{{ partial "shared/sidebar.html" . }}
{{ end }}
Binary file added src/website/static/images/404.webp
Binary file not shown.

0 comments on commit 128810d

Please sign in to comment.