Skip to content

Commit

Permalink
Update home page
Browse files Browse the repository at this point in the history
  • Loading branch information
Masood Azizi committed Feb 5, 2025
1 parent f9d917f commit c089379
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions themes/paper/layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ <h1 class="mb-14">#{{ .Title }}</h1>
{{ end }}

<section class="relative my-10 first-of-type:mt-0 last-of-type:mb-0">
<hr> <!-- Adds a horizontal line between posts -->
{{ if gt .Weight 0 }}
<span class="mb-1 inline-block text-xs tracking-wider text-orange-500"
>Featured</span
Expand All @@ -58,6 +59,9 @@ <h2 class="!my-0"><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
<time class="text-xs antialiased opacity-60"
>{{ .Date | time.Format ":date_medium" }}</time
>
{{ if .Description }}
<p>{{ .Description }}</p>
{{ end }}
{{ if .Params.image }}
<div class="mt-4">
<a href="{{ .Permalink }}">
Expand Down

0 comments on commit c089379

Please sign in to comment.