forked from samuel-p/sp-codes.de
added blog references
This commit is contained in:
parent
c783f5cfc2
commit
1399db1deb
5 changed files with 29 additions and 6 deletions
|
@ -38,7 +38,7 @@ title: sp-codes
|
|||
<body>
|
||||
<div class="d-flex justify-content-start flex-wrap p-2 menu border-bottom">
|
||||
{%- 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 %}>
|
||||
<a href="{{ entry.url | url }}" class="mr-2">
|
||||
{% if entry.icon %}<span class="fas fa-{{ entry.icon }} mr-2"></span>{% endif %}{{ entry.title }}
|
||||
|
|
11
src/de/blog.md
Normal file
11
src/de/blog.md
Normal 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
|
||||
---
|
|
@ -13,7 +13,8 @@ eleventyNavigation:
|
|||
<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
|
||||
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>
|
||||
</div>
|
||||
</div>
|
||||
|
|
11
src/en/blog.md
Normal file
11
src/en/blog.md
Normal 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
|
||||
---
|
|
@ -13,7 +13,7 @@ eleventyNavigation:
|
|||
<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.
|
||||
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>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue