Add intro message to list pages

alternate-navbar
Maik de Kruif 2 years ago
parent 61efdb4b46
commit 8f1572a8a3
Signed by: maik
GPG Key ID: 44A55AD1F0673FA6
  1. 9
      content/portfolio/_index.md
  2. 7
      content/posts/_index.md
  3. 7
      content/writeups/_index.md
  4. 8
      themes/maik-blog/assets/scss/_main.scss
  5. 2
      themes/maik-blog/layouts/_default/list.html
  6. 2
      themes/maik-blog/layouts/portfolio/list.html
  7. 2
      themes/maik-blog/layouts/writeups/list.html

@ -0,0 +1,9 @@
+++
author = "Maik de Kruif"
title = "Portfolio"
description = "Over the years I have developed various pieces of software and accomplished many goals. Most of them can be found on my GitHub, but I have also listed some here with a bit of extra information."
+++
Over the years I have developed various pieces of software and accomplished many goals.
Most of them can be found on [my GitHub](https://github.com/maikka39/), but I have also listed some here with a bit of extra information.

@ -0,0 +1,7 @@
+++
author = "Maik de Kruif"
title = "Posts"
description = "Every now and then I'll write a post. Here's a collection of my previous ones."
+++
Every now and then I'll write a post. Here's a collection of my previous ones.

@ -0,0 +1,7 @@
+++
author = "Maik de Kruif"
title = "Writeups"
description = "A collection of my write-ups on Capture The Flag (CTF) events, hardware challenges and real life encounters. They explain how the goal was accomplished and try to teach you how to approach these kinds of challenges."
+++
A collection of my write-ups on Capture The Flag (CTF) events, hardware challenges and real life encounters. They explain how the goal was accomplished and try to teach you how to approach these kinds of challenges.

@ -304,11 +304,11 @@ ol ol {
}
.content {
display: flex;
flex-direction: column;
// display: flex;
// flex-direction: column;
flex: 1 auto;
align-items: center;
justify-content: center;
// align-items: center;
// justify-content: center;
margin: 0;
@media #{$media-size-phone} {

@ -4,7 +4,7 @@
<main class="posts">
<h1>{{ .Title }}</h1>
{{- if .Content }}
{{- if and .Content (not .Paginator.HasPrev) }}
<div class="content">{{ .Content }}</div>
{{- end }}

@ -3,7 +3,7 @@
<main class="portfolios">
<h1>Portfolio</h1>
{{- if .Content }}
{{- if and .Content (not .Paginator.HasPrev) }}
<div class="content">{{ .Content }}</div>
{{- end }}

@ -4,7 +4,7 @@
<main class="posts">
<h1>{{ .Title }}</h1>
{{- if .Content }}
{{- if and .Content (not .Paginator.HasPrev) }}
<div class="content">{{ .Content }}</div>
{{- end }}

Loading…
Cancel
Save