-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: use login layout for homepage
because why not
- Loading branch information
Showing
10 changed files
with
563 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
{%- if collection.label == 'okd' -%} | ||
{% case collection.label %} | ||
{%- when 'okd' -%} | ||
{%- include logo-okd.html %} | ||
{%- elsif collection.label == 'od' -%} | ||
{%- when 'od' -%} | ||
{%- include logo-od.html %} | ||
{%- elsif collection.label == 'rosa' -%} | ||
{%- when 'rosa' -%} | ||
{%- include logo-rosa.html %} | ||
{%- elsif collection.label == 'ocp' -%} | ||
{%- when 'ocp' -%} | ||
{%- include logo-ocp.html %} | ||
{%- else -%} | ||
{%- when 'rho' -%} | ||
{%- include logo-rho.html %} | ||
{%- endif -%} | ||
{%- else -%} | ||
|
||
{% endcase %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,23 @@ | ||
--- | ||
layout: index | ||
layout: base | ||
--- | ||
|
||
<h1 class="pf-v6-c-title pf-m-h1 pf-m-page-title">{{site.title}}</h1> | ||
{% for collection in site.collections %} | ||
<section class="pf-v6-l-flex"> | ||
<h1 class="pf-v6-c-title pf-m-h1 pf-m-page-title">{{site.title}}</h1> | ||
{% for collection in site.collections %} | ||
{% if collection.label != "posts" %} | ||
<h2 class="pf-v6-c-title pf-m-h2">{{ collection.name }}</h2> | ||
<ul class="pf-v6-c-list"> | ||
{% for doc in collection.docs %} | ||
<li> | ||
<a href="{{ doc.url | remove_first:'/' }}">{{ doc.layout }}</a> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
<div class="pf-v6-c-card pf-m-compact pf-v6-l-flex__item"> | ||
<div class="pf-v6-c-card__title"> | ||
<h2 class="pf-v6-c-card__title-text">{{ collection.name }}</h2> | ||
</div> | ||
<div class="pf-v6-c-card__footer"> | ||
{% for doc in collection.docs %} | ||
<a class="pf-v6-c-button pf-m-secondary" href="{{ doc.url | remove_first:'/' }}"> | ||
<span class="pf-v6-c-button__text">{{ doc.layout }}</span> | ||
</a> | ||
{% endfor %} | ||
</div> | ||
</div> | ||
{% endif %} | ||
{% endfor %} | ||
{% endfor %} | ||
</section> |