fix(paragraphs): fix ordered list rendering

Signed-off-by: Sphericalkat <amolele@gmail.com>
This commit is contained in:
sphericalkat committed 2023-05-28 17:53:41 +05:30
1 parent f1ec8f7729
commit de151f4895
5 files changed
+54 -29

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ .Title }}</title>
<link rel="stylesheet" href="/assets/index-d9a17752.css">
<link rel="stylesheet" href="/assets/index-1eb94859.css">
</head>
<body>
<h1 class="text-2xl">Hello, World!</h1>
+4 -4
View File
@@ -14,13 +14,13 @@
rel="stylesheet">
<title>{{ .Title }}</title>
<link rel="stylesheet" href="/assets/show-9b4da228.css">
<link rel="stylesheet" href="/assets/show-d7d0e271.css">
</head>
<body class="flex flex-col h-full w-full items-center">
<article class="prose lg:prose-xl p-20">
<h2 class="text-2xl">{{.Title}}</h2>
<p><a href="https://medium.com/u/{{.UserId}}">{{.Author}}</a> on {{.PublishDate}}</p>
<article class="prose lg:prose-lg sm:prose-sm py-20">
<h1 class="text-2xl">{{.Title}}</h1>
<p class="pb-8"><a href="https://medium.com/u/{{.UserId}}">{{.Author}}</a> on {{.PublishDate}}</p>
{{.Paragraphs}}
</article>
</body>
+3 -3
View File
@@ -17,9 +17,9 @@
</head>
<body class="flex flex-col h-full w-full items-center">
<article class="prose lg:prose-xl p-20">
<h2 class="text-2xl">{{.Title}}</h2>
<p><a href="https://medium.com/u/{{.UserId}}">{{.Author}}</a> on {{.PublishDate}}</p>
<article class="prose lg:prose-lg sm:prose-sm py-20">
<h1 class="text-2xl">{{.Title}}</h1>
<p class="pb-8"><a href="https://medium.com/u/{{.UserId}}">{{.Author}}</a> on {{.PublishDate}}</p>
{{.Paragraphs}}
</article>
</body>