Skip to content

Commit 3bfa583

Browse files
committed
added imprint, data_privacy (partial) and navigation, also header and footer
1 parent e1d9997 commit 3bfa583

37 files changed

+1726
-22
lines changed

_config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020

2121
email: techblog@gematik.de
2222
logo: /assets/img/gematik_logo.svg
23-
title: The gematik tech blog
23+
favicon: /assets/img/favicon.ico
24+
title: gematik tech blog
2425
description: >- # this means to ignore newlines until "baseurl:"
25-
Write an awesome description for your new site here. You can edit this
26-
line in _config.yml. It will appear in your document head meta (for
27-
Google search results) and in your feed.xml site description.
26+
The gematik technology blog has the intention to give back to the community. As open source is part of our DNA, we do not only share our work results on GitHub but also want to share the stories behind that.
27+
We hope, it helps people to prevent mistakes we made and motivates them to explore technologies for modern healthcare!
2828
baseurl: "" # the subpath of your site, e.g. /blog
2929
url: "https://techblog.gematik.de" # the base hostname & protocol for your site, e.g. http://example.com
3030
twitter_username: gematik

_includes/footer.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<footer class="inner">
2+
<p>© gematik GmbH 2022<br/><a href="/imprint/">Imprint (DE)</a> | <a href="/data_privacy/">Data privacy (DE)</a></p>
3+
<p>Published with <a href="https://pages.github.com">GitHub Pages</a></p>
4+
</footer>

_includes/head_custom.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<link rel="shortcut icon" href="{{site.favicon | relative_url}}">

_includes/navigation.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<div>
2+
{% if site.data.navigation.staticnav[0] %}
3+
{% for item in site.data.navigation.staticnav %}
4+
<h3>{{ item.title }}</h3>
5+
{% if item.subfolderitems[0] %}
6+
<ul>
7+
{% for entry in item.subfolderitems %}
8+
<li><a href="{{ entry.url }}">{{ entry.page }}</a><br />
9+
{{ entry.summary }}
10+
{% if entry.subsubfolderitems[0] %}
11+
<ul>
12+
{% for subentry in entry.subsubfolderitems %}
13+
<li>
14+
<a href="{{ subentry.url }}">{{ subentry.page }}</a>
15+
{{ subentry.summary }}
16+
</li>
17+
{% endfor %}
18+
</ul>
19+
{% endif %}
20+
</li>
21+
{% endfor %}
22+
</ul>
23+
{% endif %}
24+
{% endfor %}
25+
{% endif %}
26+
</div>
27+
<h3>Our blog articles</h3>
28+
{% for category in site.categories reversed %}
29+
<h4>{{ category[0] }}</h4>
30+
<ul>
31+
{% for post in category[1] %}
32+
<li>
33+
<a href="{{ post.url }}">{{ post.title }}, {{ post.date | date_to_string }}</a>
34+
{{ post.excerpt }}
35+
</li>
36+
{% endfor %}
37+
</ul>
38+
{% endfor %}

_includes/read_time.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<span class="reading-time" title="Estimated read time">
2+
{% assign words = content | number_of_words %}
3+
{% if words < 360 %}
4+
1 min
5+
{% else %}
6+
{{ words | divided_by:180 }} mins
7+
{% endif %}
8+
</span>

_layouts/default.html

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24,31 +24,17 @@ <h1><a href="{{ "/" | absolute_url }}">{{ site.title | default: site.github.repo
2424
<p>{{ site.description | default: site.github.project_tagline }}</p>
2525

2626
{% if site.github.is_project_page %}
27-
<p class="view"><a href="{{ site.github.repository_url }}">View the Project on GitHub <small>{{ site.github.repository_nwo }}</small></a></p>
27+
<p class="view"><a href="https://github.com/gematik">Visit us on GitHub <small>github/gematik</small></a></p>
2828
{% endif %}
2929

30-
{% if site.github.is_user_page %}
31-
<p class="view"><a href="{{ site.github.owner_url }}">View My GitHub Profile</a></p>
32-
{% endif %}
33-
34-
{% if site.show_downloads %}
35-
<ul class="downloads">
36-
<li><a href="{{ site.github.zip_url }}">Download <strong>ZIP File</strong></a></li>
37-
<li><a href="{{ site.github.tar_url }}">Download <strong>TAR Ball</strong></a></li>
38-
<li><a href="{{ site.github.repository_url }}">View On <strong>GitHub</strong></a></li>
39-
</ul>
40-
{% endif %}
4130
</header>
4231
<section>
4332

4433
{{ content }}
4534

4635
</section>
4736
<footer>
48-
{% if site.github.is_project_page %}
49-
<p>This project is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p>
50-
{% endif %}
51-
<p><small>Hosted on GitHub Pages &mdash; Theme by <a href="https://github.com/orderedlist">orderedlist</a></small></p>
37+
{% include footer.html %}
5238
</footer>
5339
</div>
5440
<script src="{{ "/assets/js/scale.fix.js" | relative_url }}"></script>

_layouts/post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<small>{{ page.date | date: "%-d %B %Y" }}</small>
66
<h1>{{ page.title }}</h1>
77

8-
<p class="view">by {{ page.author | default: site.author }}</p>
8+
<p class="view">by {{ page.author | default: site.author }}, reading time: {% include read_time.html %}</p>
99

1010
{{content}}
1111

_posts/2022-09-13-welcome-to-jekyll.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: post
33
title: "Welcome to Jekyll!"
44
date: 2022-09-13 21:37:16 +0200
5-
categories: jekyll update
5+
categories: jekyll
66
---
77
You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated.
88

about.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
layout: post
33
title: About
4+
author: gematik GmbH
45
permalink: /about/
56
---
67

16.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)