Made github link conditional
This commit is contained in:
parent
10ef143933
commit
610c141a4a
2 changed files with 5 additions and 5 deletions
|
|
@ -2,9 +2,9 @@
|
||||||
"projects": [
|
"projects": [
|
||||||
{
|
{
|
||||||
"name": "Raytracer",
|
"name": "Raytracer",
|
||||||
"text": "A raytracer written completely in C++ I made for a university assignment. It's not the most advanced, but I am proud of it (and the fact the entire thing was made in like 1.5 weeks)",
|
"text": "A raytracer written completely in C++ I made for a university assignment. It's not the most advanced, but I am proud of it (and the fact the entire thing was made in 9 days), Unfortunately, the university bars me from putting the source code online.",
|
||||||
"photo": "/static/raytracer.webp",
|
"photo": "/static/raytracer.webp",
|
||||||
"link": "https://github.com/KoenDR06/Raytracer"
|
"link": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Comedy TUI",
|
"name": "Comedy TUI",
|
||||||
|
|
@ -14,9 +14,9 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Mandelbrot",
|
"name": "Mandelbrot",
|
||||||
"text": "A Mandelbrot renderer I made for a university course written in C#. It is multithreaded, has multiple color modes, and the ability to export and import renders as .mandel files, which is a file format specially created for this project.",
|
"text": "A Mandelbrot renderer I made for a university course written in C#. It is multithreaded, has multiple color modes, and the ability to export and import renders as .mandel files, which is a file format specially created for this project. Unfortunately, the university bars me from putting the source code online.",
|
||||||
"photo": "/static/mandelbrot.jpg",
|
"photo": "/static/mandelbrot.jpg",
|
||||||
"link": "https://github.com/KoenDR06/UniMandelbrot"
|
"link": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "AulaControl",
|
"name": "AulaControl",
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ title: Koen de Ruiter
|
||||||
|
|
||||||
<div class="project__text">
|
<div class="project__text">
|
||||||
<div class="project__title-line">
|
<div class="project__title-line">
|
||||||
<a href="{{ p.link }}" target="_blank"><img src="/static/github.svg"></a>
|
{% if p.link != "" %}<a href="{{ p.link }}" target="_blank"><img src="/static/github.svg"></a> {% endif %}
|
||||||
<h2>{{ p.name }}</h2>
|
<h2>{{ p.name }}</h2>
|
||||||
</div>
|
</div>
|
||||||
<p>{{ p.text }}</p>
|
<p>{{ p.text }}</p>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue