Skip to content

Commit

Permalink
Update sidebars.
Browse files Browse the repository at this point in the history
  • Loading branch information
mblayman committed Sep 2, 2024
1 parent 9c6841b commit 6990fe4
Showing 1 changed file with 8 additions and 23 deletions.
31 changes: 8 additions & 23 deletions themes/tailwind-site/layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,13 @@ <h1 class="text-xl uppercase tracking-widest font-thin hover:underline">Matt Lay
</script>

{{ if eq .Kind "page" }}
<div class="border border-red-600 p-4 bg-red-500 text-white">
<div class="mt-4">
<a href="{{ "understand-django/" | absURL }}" class="hover:underline">
<img src="/img/understand-django-cover.png">
</a>
</div>

<div class="border border-red-600 mt-8 p-4 bg-red-500 text-white">
<a href="https://www.patreon.com/mblayman" target="_blank" rel="noopener">
<img class="px-4" src="{{ "img/patreon.png" | absURL }}">
</a>
Expand All @@ -117,27 +123,6 @@ <h1 class="text-xl uppercase tracking-widest font-thin hover:underline">Matt Lay
<p>
</div>

<div class="mt-8">
<a href="{{ "understand-django/" | absURL }}" class="hover:underline">
<img src="/img/understand-django-cover.png">
</a>
</div>

<div class="border border-green-800 p-4 bg-white mt-8">
<a href="https://open.spotify.com/show/1RtdveQIz5m5MqLKPWbhnD" target="_blank" rel="noopener">
<img src="{{ "img/django-riffs-banner.png" | absURL }}">
</a>
<p class="mt-4 mb-2 text-sm font-serif">
Django Riffs is my podcast devoted entirely
to learning the Django web framework.
Give it a listen!
</p>
<p class="text-sm font-serif">
All the shows are
on the <a class="underline" href="{{ "django-riffs/" | absURL }}">Show Notes</a> page.
<p>
</div>

<div class="border border-blue-700 p-4 bg-blue-600 text-white mt-8">
<a href="{{ "book-recommendations/" | absURL }}">
<p class="font-semibold text-2xl tracking-wide">Book Recommendations</p>
Expand All @@ -160,7 +145,7 @@ <h1 class="text-xl uppercase tracking-widest font-thin hover:underline">Matt Lay
<h2 class="text-lg text-grey-800 font-semibold">If you enjoyed this article, you may also be interested in&hellip;</h2>
{{ range . }}
<h3 class="text-base text-blue-500 pt-4"><a class="hover:underline" href="{{ .Permalink }}">{{ .Title }}</a></h3>
<p class="text-sm text-gray-600">{{ .Description | markdownify }}</p>
<p class="text-sm text-gray-600">{{ .Description | markdownify | truncate 150 }}</p>
{{ end }}
</div>
</div>
Expand Down

0 comments on commit 6990fe4

Please sign in to comment.