diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-01-26 11:38:51 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-01-26 11:38:51 +0100 |
| commit | 23542c9a37a18f1d18c7739241bdef19c0be0124 (patch) | |
| tree | f88de3d0b36530daaf33dd5a8564086375656b29 /themes/bare/layouts/partials/read-more.html | |
| parent | d95fc5ca9e6a9c28894514b77e77b6b0eb58fbe9 (diff) | |
| download | mitjafelicijan.com-23542c9a37a18f1d18c7739241bdef19c0be0124.tar.gz | |
Removal of bare theme
Diffstat (limited to 'themes/bare/layouts/partials/read-more.html')
| -rw-r--r-- | themes/bare/layouts/partials/read-more.html | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/themes/bare/layouts/partials/read-more.html b/themes/bare/layouts/partials/read-more.html deleted file mode 100644 index d604bfc..0000000 --- a/themes/bare/layouts/partials/read-more.html +++ /dev/null | |||
| @@ -1,16 +0,0 @@ | |||
| 1 | <section> | ||
| 2 | <h2 class="text-2xl font-bold mb-6">Read more from this site</h2> | ||
| 3 | <nav itemscope itemtype="https://schema.org/SiteNavigationElement" class="mb-12"> | ||
| 4 | <meta itemprop="name" content="Article list"> | ||
| 5 | <ul> | ||
| 6 | {{ $randomPosts := shuffle (where .Site.RegularPages "Type" "posts") | first 5 }} | ||
| 7 | {{ range $randomPosts }} | ||
| 8 | <li class="mb-6"> | ||
| 9 | <time class="block text-gray-400 font-medium text-xs">{{ .Date.Format "Mon Jan 2, 2006" }}</time> | ||
| 10 | <a href="/{{ .Params.url }}" itemprop="url" class="hover:bg-yellow-100 font-medium">{{ .Title }}</a> | ||
| 11 | <p class="text-gray-600 text-sm">{{ .Summary }}</p> | ||
| 12 | </li> | ||
| 13 | {{ end }} | ||
| 14 | </ul> | ||
| 15 | </nav> | ||
| 16 | </section> | ||
