diff options
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/_partials/posts/now-read-this.html | 23 | ||||
| -rw-r--r-- | layouts/_partials/template/post-page.html | 1 |
2 files changed, 0 insertions, 24 deletions
diff --git a/layouts/_partials/posts/now-read-this.html b/layouts/_partials/posts/now-read-this.html deleted file mode 100644 index f7b77fcb..00000000 --- a/layouts/_partials/posts/now-read-this.html +++ /dev/null @@ -1,23 +0,0 @@ -{{ with site.RegularPages.Related . | first 1 }} -{{ range . }} -<a class="-mx-4 mt-4 p-4 pb-7 relative leading-loose block rounded-xl - hover:no-underline hover:bg-neutral-200/25 dark:hover:bg-neutral-700/25 transition-colors" - href="{{ .RelPermalink }}"> - <h4 class="absolute -z-1 bottom-0 right-4 text-8 m-0 opacity-20 font-italic"> - {{ T "nowReadThis" }} - </h4> - <div class="flex justify-between"> - <span class="font-800 text-lg"> - {{ .LinkTitle }} - {{ with .Params.subtitle }} - <span class="text-secondary font-normal">:{{ . }}</span> - {{ end }} - </span> - <span class="text-secondary">⏱️ {{ .ReadingTime }}min </span> - </div> - <div class="font-light"> - <p>{{ .Summary | plainify }}</p> - </div> -</a> -{{ end }} -{{ end }} diff --git a/layouts/_partials/template/post-page.html b/layouts/_partials/template/post-page.html index 872c6588..b05b6b41 100644 --- a/layouts/_partials/template/post-page.html +++ b/layouts/_partials/template/post-page.html @@ -44,6 +44,5 @@ </div> {{ partial "posts/action-menu.html" . }} - {{ partial "posts/now-read-this.html" . }} {{ partial "components/back-to-top.html" . }} </article> |
