Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
add github link
Browse files Browse the repository at this point in the history
  • Loading branch information
wbglaeser committed Dec 19, 2023
1 parent 938164f commit 0b96119
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 1 deletion.
16 changes: 16 additions & 0 deletions assets/css/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added assets/images/github-mark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/_data/nav.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"githubLogo": "assets/images/github-mark.png",
"githubLink": "https://github.com/Citizen-Knowledge-Graph",
"navLogo":"assets/images/new_logo.png",
"navLinks":["de","en"]
}
7 changes: 6 additions & 1 deletion src/_includes/base.njk
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,12 @@
</button>
<div class="collapse navbar-collapse" id="sitenavbar">
<ul class="navbar-nav ml-auto main-nav">
<ul class="navbar-ul navbar-nav ml-auto main-nav">
<li class="nav-item">
<a class="github-link" href="{{nav.githubLink}}">
<img src="{% rootPath %}{{nav.githubLogo}}" alt="nav-logo" />
</a>
</li>
{% for navLink in nav.navLinks %}
<li class="nav-item">
{% if navLink == "de" %}
Expand Down

0 comments on commit 0b96119

Please sign in to comment.