Skip to content

Commit

Permalink
list fix
Browse files Browse the repository at this point in the history
  • Loading branch information
maximoospital committed Jun 30, 2024
1 parent dfd862f commit b735351
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 8 deletions.
45 changes: 38 additions & 7 deletions _includes/landings_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,47 @@
{% for landing in site.pages %}
{% if landing.category == 'landings' %}
<li class="row__cols">
<div class="row__title">
Title
</div>
<div class="row__year">
Year
</div>
<div class="row__type">
Category
</div>
</li>
<li class="row__post">
{% if landing.github %}
<a href="{{ landing.github }}">{{ landing.title }}</a>
{% elsif landing.app_url %}
<a href="{{ landing.app_url }}">{{ landing.title }}</a>
{% elsif landing.github and landing.app_url %}
<a href="google.com">{{ landing.title }}</a>
<a href="{{ landing.github }}">
{% else %}
<a href="{{ landing.url | prepend: site.baseurl }}">{{ landing.title }}</a>
<a href="{{ landing.url | prepend: site.baseurl }}">
{% endif %}
</li>
<div class="row__title {% if include.uid == post.id %}row__active{% endif %}">
{{ landing.title }}
</div>
<div class="row__year {% if include.uid == post.id %}row__active{% endif %}">
{{ landing.year }}
</div>
<div class="row__type {% if include.uid == post.id %}row__active{% endif %}">
{{ landing.type }}
</div>
</a>

{% if landing.img %}
<div class="tui-image-window">
<fieldset class="tui-fieldset">
{% if landing.github %}
<legend><a href="{{ landing.github }}">{{ landing.title }}.jpg</a></legend>
<a href="{{ landing.github }}"><img class="row__img" src="{{ landing.img }}" alt="{{ landing.title }}"></a>
{% else %}
<legend><a href="{{ landing.url | prepend: site.baseurl }}">{{ landing.title }}.jpg</a></legend>
<a href="{{ landing.url }}"><img class="row__img" src="{{ landing.img }}" alt="{{ landing.title }}"></a>
{% endif %
</fieldset>
</div>
{% endif %}
</li>
{% endif %}
{% endfor %}
</ul>
3 changes: 2 additions & 1 deletion landings/GitDumbExt.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
layout: landing
title: GitDumbEXT
category: landings
app_url: https://maximoospital.github.io/Climapp/
type: Google Chrome Extension
year: 2024
---
<h1>Welcome to our landing page</h1>
2 changes: 2 additions & 0 deletions landings/GitDumbExt2.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
layout: landing
title: GitDumbEXT2
category: landings
type: Javascript App
github: https://github.com/maximoospital/GitDumb
year: 2023
---
<h1>Welcome to our landing page</h1>
2 changes: 2 additions & 0 deletions landings/GitDumbExt3.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@
layout: landing
title: GitDumbEXT3
category: landings
type: Flutter App
year: 2022
---
<h1>Welcome to our landing page</h1>

0 comments on commit b735351

Please sign in to comment.