-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
Side Bars (#811)
* WIP * WIP * WIP * updating posts * lint * move to 5 & 5 recommendations
Adam Gordon Bell
authored
Mar 27, 2024
1 parent
c9738e2
commit d7bc9ec
Showing
68 changed files
with
6,864 additions
and
1,847 deletions.
There are no files selected for viewing
Binary file not shown.
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{% comment %} | ||
Input: | ||
- slug | ||
- invert: true | ||
|
||
{% endcomment %} | ||
|
||
{% comment %} | ||
############################### | ||
# Related Articles 1 | ||
############################### | ||
{% endcomment %} | ||
|
||
{% if site.data.indexes.related1[page.slug].size > 0 %} | ||
<!-- First Block for items 1-3 --> | ||
<div class="group mt-4 bg-blue-50 p-4"> | ||
<header> | ||
<h4 class="font-semibold text-md mb-2">Related</h4> | ||
</header> | ||
<div> | ||
<ul> | ||
{% for relate in site.data.indexes.related1[page.slug] %} | ||
{% if forloop.index <= 5 and relate %} | ||
<li class="mb-1 series-item"><a class="text-sm text-gray-600 hover:underline" href="{{ relate.url | relative_url }}">‣ {{ relate.title | truncate: 30, "..." }}</a></li> | ||
{% endif %} | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
</div> | ||
<div onclick="window.location.href='https://earthly.dev/';" class="group mt-4 p-4 pr-4 pl-4 cursor-pointer hover:bg-blue-100"> | ||
<header> | ||
<h4 class="font-semibold text-md mb-2">Learn More About Earthly</h4> | ||
</header> | ||
<div class=""> | ||
<p class="prose"> | ||
Earthly makes builds super simple. <a href="https://earthly.dev/">Learn More</a> | ||
</p> | ||
</div> | ||
</div> | ||
{% endif %} |
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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{% comment %} | ||
Input: | ||
- slug | ||
- invert: true | ||
|
||
{% endcomment %} | ||
{% comment %} | ||
############################### | ||
# Related Articles | ||
############################### | ||
{% endcomment %} | ||
{% unless page.sidebar.nav %} | ||
{% if site.data.indexes.related1[page.slug].size > 0 %} | ||
<div class="group mt-4 group mt-4 p-4 pr-4 pl-4 bg-blue-50"> | ||
<header> | ||
<h4 class="font-semibold text-md mb-2">Related</h4> | ||
</header> | ||
<div class=""> | ||
<ul> | ||
{% for relate in site.data.indexes.related1[page.slug] %} | ||
{% if forloop.index > 5 and relate %} | ||
<li class="mb-1 series-item"><a class="text-sm text-gray-600 hover:underline" href="{{ relate.url | relative_url }}">‣ {{ relate.title | truncate: 30, "..." }}</a></li> | ||
{% endif %} | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
</div> | ||
{% endif %} | ||
{% endunless page.sidebar.nav %} | ||
|
||
{% comment %} | ||
######################## | ||
Non-Inverted Learn More | ||
######################## | ||
{% endcomment %} | ||
|
||
{% unless include.invert == true %} | ||
<div onclick="window.location.href='https://earthly.dev/';" class="group mt-4 p-4 pr-4 pl-4 cursor-pointer hover:bg-blue-100"> | ||
<header> | ||
<h4 class="font-semibold text-md mb-2">Learn More About Earthly</h4> | ||
</header> | ||
<div class=""> | ||
<p class="prose"> | ||
Earthly makes builds super simple. <a href="">Learn More</a> | ||
</p> | ||
</div> | ||
</div> | ||
{% endunless %} |
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
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
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
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
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
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
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
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
Oops, something went wrong.