added blog references
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Samuel Philipp 2020-09-20 02:25:23 +02:00
parent c783f5cfc2
commit 1399db1deb
5 changed files with 29 additions and 6 deletions

View file

@ -38,7 +38,7 @@ title: sp-codes
<body> <body>
<div class="d-flex justify-content-start flex-wrap p-2 menu border-bottom"> <div class="d-flex justify-content-start flex-wrap p-2 menu border-bottom">
{%- for entry in collections.all | eleventyNavigation %} {%- for entry in collections.all | eleventyNavigation %}
{% if entry.url.includes(locale) %} {% if not entry.url.startsWith("https") and entry.url.includes(locale) or entry.locale == locale %}
<div {% if entry.url == page.url %} class="active"{% endif %}> <div {% if entry.url == page.url %} class="active"{% endif %}>
<a href="{{ entry.url | url }}" class="mr-2"> <a href="{{ entry.url | url }}" class="mr-2">
{% if entry.icon %}<span class="fas fa-{{ entry.icon }} mr-2"></span>{% endif %}{{ entry.title }} {% if entry.icon %}<span class="fas fa-{{ entry.icon }} mr-2"></span>{% endif %}{{ entry.title }}

11
src/de/blog.md Normal file
View file

@ -0,0 +1,11 @@
---
key: blog
eleventyNavigation:
key: blog
title: Blog
icon: book
url: https://blog.sp-codes.de/
locale: de
order: 1
permalink: false
---

View file

@ -3,9 +3,9 @@ layout: home.njk
key: home key: home
title: Home title: Home
eleventyNavigation: eleventyNavigation:
key: home key: home
title: Home title: Home
icon: home icon: home
--- ---
<div class="row justify-content-center py-4 border-top"> <div class="row justify-content-center py-4 border-top">
<div class="col-lg-8 col-md-10 col-12"> <div class="col-lg-8 col-md-10 col-12">
@ -13,7 +13,8 @@ eleventyNavigation:
<p class="lead text-center mb-2"> <p class="lead text-center mb-2">
Schön, dass du hergefunden hast. Mein Name ist Samuel Philipp und ich bin ein Software Engineer aus Schön, dass du hergefunden hast. Mein Name ist Samuel Philipp und ich bin ein Software Engineer aus
Magdeburg. Auf dieser Seite findest du Informationen über mich und eine Übersicht über die von mir Magdeburg. Auf dieser Seite findest du Informationen über mich und eine Übersicht über die von mir
bereitgestellten Dienste. Schau dich gerne um oder nutze die verschiedenen Tools. bereitgestellten Dienste. Schau dich gerne um, lies meinen <a href="https://blog.sp-codes.de">Blog</a> oder
nutze die verschiedenen Tools.
</p> </p>
</div> </div>
</div> </div>

11
src/en/blog.md Normal file
View file

@ -0,0 +1,11 @@
---
key: blog
eleventyNavigation:
key: blog
title: Blog
icon: book
url: https://blog.sp-codes.de/
locale: en
order: 1
permalink: false
---

View file

@ -13,7 +13,7 @@ eleventyNavigation:
<p class="lead text-center mb-2"> <p class="lead text-center mb-2">
Glad you found your way here. My name is Samuel Philipp and I am a software engineer from Magdeburg. Glad you found your way here. My name is Samuel Philipp and I am a software engineer from Magdeburg.
On this site you will find information about me and an overview of the services I provide. Feel free On this site you will find information about me and an overview of the services I provide. Feel free
to look around or use the various services. to look around, read my <a href="https://blog.sp-codes.de">Blog</a> (in German) or use the various services.
</p> </p>
</div> </div>
</div> </div>