mirror of
https://github.com/aljazceru/njump.git
synced 2026-01-20 22:54:24 +01:00
tailwind body, html and other stuff.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html class="theme--default">
|
||||
<html class="theme--default text-lg sm:text-xl font-light print:text-base">
|
||||
<meta charset="UTF-8" />
|
||||
<head>
|
||||
<title>{{.TitleizedContent}}</title>
|
||||
@@ -52,7 +52,9 @@
|
||||
{{template "head_common" .}}
|
||||
</head>
|
||||
|
||||
<body class="note">
|
||||
<body
|
||||
class="note | mb-16 print:text-black text-gray-600 dark:text-neutral-50 bg-white dark:bg-stone-900"
|
||||
>
|
||||
{{template "top" .}}
|
||||
|
||||
<div class="sm:flex sm:justify-center sm:items-center mx-auto px-4 sm:px-0">
|
||||
@@ -72,22 +74,22 @@
|
||||
{{.Metadata.Name}}
|
||||
<!---->
|
||||
{{if not (eq .Metadata.Name .Metadata.DisplayName)}}
|
||||
<span class="text-sm sm:text-xl text-slate-400"
|
||||
<span class="text-sm sm:text-xl text-stone-400"
|
||||
>{{.Metadata.DisplayName}}</span
|
||||
>
|
||||
{{end}}
|
||||
</div>
|
||||
<div class="text-sm sm:text-base text-slate-400">
|
||||
<div class="text-sm sm:text-base text-stone-400">
|
||||
{{.NpubShort}}
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</header>
|
||||
<div class="w-full text-right text-sm text-slate-400">
|
||||
<div class="w-full text-right text-sm text-stone-400">
|
||||
{{.CreatedAt}}
|
||||
</div>
|
||||
|
||||
<div class="w-full text-right text-sm text-slate-400">
|
||||
<div class="w-full text-right text-sm text-stone-400">
|
||||
{{ if not (eq "" .ParentLink) }} In reply to
|
||||
<span class="text-strongpink">{{ .ParentLink }}</span> {{ end }}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user