summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--content/_index.md15
-rw-r--r--content/knowledge-base/_index.md5
-rw-r--r--content/knowledge-base/videos.md2
-rw-r--r--themes/rusticus/layouts/knowledge-base/list.html22
-rw-r--r--themes/rusticus/layouts/partials/aside.html5
-rw-r--r--themes/rusticus/layouts/partials/aside/about.html7
6 files changed, 47 insertions, 9 deletions
diff --git a/content/_index.md b/content/_index.md
index 4c156f5..e7ada94 100644
--- a/content/_index.md
+++ b/content/_index.md
@@ -1,6 +1,8 @@
---
-title: Rust Community Stuttgart
+title: "
+**Rust Community Stuttgart**
+"
menu:
main:
@@ -8,4 +10,15 @@ menu:
url: "/"
weight: -100
+summary: About
+
---
+
+Rust is a systems programming language that runs blazingly fast, prevents almost all crashes, and eliminates data races.
+
+This interest group discusses topics about
+
+- learning Rust
+- trends in Rust development
+- how to apply Rust to (corporate) projects (migrating to Rust)
+
diff --git a/content/knowledge-base/_index.md b/content/knowledge-base/_index.md
index 3c48925..2ee8b03 100644
--- a/content/knowledge-base/_index.md
+++ b/content/knowledge-base/_index.md
@@ -6,12 +6,9 @@ menu:
name: "Knowledge Base"
weight: 10
-summary: Here you can find the news
+summary: Here you can find valuable information
---
-asdfsdf
-
-
diff --git a/content/knowledge-base/videos.md b/content/knowledge-base/videos.md
index 340f1b1..7e4dc15 100644
--- a/content/knowledge-base/videos.md
+++ b/content/knowledge-base/videos.md
@@ -2,6 +2,8 @@
title: "Videos"
date: 2019-05-17T20:42:50+02:00
draft: true
+
+summary: Useful videos
---
# Game Dev
diff --git a/themes/rusticus/layouts/knowledge-base/list.html b/themes/rusticus/layouts/knowledge-base/list.html
new file mode 100644
index 0000000..970424b
--- /dev/null
+++ b/themes/rusticus/layouts/knowledge-base/list.html
@@ -0,0 +1,22 @@
+
+{{ partial "header/header.html" . }}
+
+<main class="list">
+ <h1>{{ .Title }}</h1>
+ <p>{{ .Summary }}</p>
+ <ul>
+ {{ range .Pages }}
+
+ <li class="list-entry">
+ <a href="{{.Permalink}}">
+ <span class="title">{{.Title}}</span>
+ <span class="summary">{{.Summary}}</span>
+ </a>
+ </li>
+
+ {{ end }}
+ </ul>
+</main>
+{{ partial "aside.html" . }}
+
+{{ partial "footer/footer.html" . }}
diff --git a/themes/rusticus/layouts/partials/aside.html b/themes/rusticus/layouts/partials/aside.html
index c721e0a..9e6e604 100644
--- a/themes/rusticus/layouts/partials/aside.html
+++ b/themes/rusticus/layouts/partials/aside.html
@@ -1,9 +1,6 @@
<aside>
- <div class="about">
- <h2>about</h2>
- <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolores repellat ratione nihil dolore, sed reprehenderit maxime fugit aspernatur officia distinctio esse eum numquam illo nam a provident officiis ipsa soluta.</p>
- </div>
+ {{ partial "aside/about.html" . }}
<div class="categories">
<h2>categories</h2>
diff --git a/themes/rusticus/layouts/partials/aside/about.html b/themes/rusticus/layouts/partials/aside/about.html
new file mode 100644
index 0000000..9104177
--- /dev/null
+++ b/themes/rusticus/layouts/partials/aside/about.html
@@ -0,0 +1,7 @@
+
+{{ if .IsHome }}
+<div class="about">
+ <h2>{{ lower .Summary }}</h2>
+ {{ .Content }}
+</div>
+{{ end }} \ No newline at end of file