diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2022-10-16 23:51:43 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2022-10-16 23:51:43 +0200 |
| commit | 854ae471a01bb13cb73a38143f43d97a9ca62ce5 (patch) | |
| tree | 3929f9f2b54db993bda6cc717ac465409f50acbf /themes/simple/layouts/_default/single.html | |
| parent | 5c39d767ffbecefa447dac60b8f0adc0ef2064dc (diff) | |
| download | mitjafelicijan.com-854ae471a01bb13cb73a38143f43d97a9ca62ce5.tar.gz | |
Added new draft post
Diffstat (limited to 'themes/simple/layouts/_default/single.html')
| -rwxr-xr-x | themes/simple/layouts/_default/single.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/simple/layouts/_default/single.html b/themes/simple/layouts/_default/single.html index e8f27d1..c8e786a 100755 --- a/themes/simple/layouts/_default/single.html +++ b/themes/simple/layouts/_default/single.html | |||
| @@ -34,7 +34,7 @@ | |||
| 34 | <!-- Read more --> | 34 | <!-- Read more --> |
| 35 | {{ if in .Type "posts" }} | 35 | {{ if in .Type "posts" }} |
| 36 | <section> | 36 | <section> |
| 37 | <h1 class="text-2xl font-bold mb-6">Read more from this site</h1> | 37 | <h2 class="text-2xl font-bold mb-6">Read more from this site</h2> |
| 38 | <nav itemscope itemtype="https://schema.org/SiteNavigationElement" class="mb-12"> | 38 | <nav itemscope itemtype="https://schema.org/SiteNavigationElement" class="mb-12"> |
| 39 | <meta itemprop="name" content="Article list"> | 39 | <meta itemprop="name" content="Article list"> |
| 40 | <ul> | 40 | <ul> |
| @@ -42,7 +42,7 @@ | |||
| 42 | {{ range $randomPosts }} | 42 | {{ range $randomPosts }} |
| 43 | <li class="mb-6"> | 43 | <li class="mb-6"> |
| 44 | <time class="block text-gray-400 font-medium text-xs">{{ .Date.Format "Mon Jan 2, 2006" }}</time> | 44 | <time class="block text-gray-400 font-medium text-xs">{{ .Date.Format "Mon Jan 2, 2006" }}</time> |
| 45 | <a href="{{.Permalink}}" itemprop="url" class="hover:bg-yellow-100 font-medium">{{.Title}}</a> | 45 | <a href="/{{.Params.url}}" itemprop="url" class="hover:bg-yellow-100 font-medium">{{.Title}}</a> |
| 46 | <p class="text-gray-600 text-sm">{{.Summary}}</p> | 46 | <p class="text-gray-600 text-sm">{{.Summary}}</p> |
| 47 | </li> | 47 | </li> |
| 48 | {{end}} | 48 | {{end}} |
