2
2
3
3
{{ #post }}
4
4
5
+ <article class =" {{ post_class }} pt-8 pb-16 lg:pt-16 lg:pb-24 antialiased flex flex-col justify-between px-4 mx-auto max-w-screen" >
6
+
7
+ <section class =" mx-auto text-center w-full max-w-4xl prose-neutral prose-sm prose-ul:list-disc prose-ol:list-disc sm:prose-base lg:prose-lg format-blue dark:format-invert" >
8
+
9
+ <time class =" w-full text-slate-600 dark:text-slate-400 font-extrabold text-xs xs:text-xs sm:text-xs md:text-sm lg:text-sm xl:text-sm 2xl:text-sm " datetime =" {{ date format =' YYYY-MM-DD' }} " >{{ date format =" DD MMMM YYYY" }} </time >
10
+ <h1 class =" mb-4 text-3xl font-extrabold text-center leading-tight text-gray-900 lg:mb-6 lg:text-6xl dark:text-white" > {{ title }} </h1 >
11
+ <p class =" text-slate-600 dark:text-slate-400 text-xs xs:text-xs sm:text-xs md:text-sm lg:text-2xl " >{{ excerpt }} </p >
5
12
6
- {{!-- Pass reading_time time to authors partials with block , learn more about about block https://ghost.org/docs/themes/helpers/block/ --}}
7
- {{ #contentFor " fastestReadingTime" }}
8
13
9
- <p class =" text-slate-600 dark:text-slate-400 text-xs xs:text-xs sm:text-xs md:text-sm lg:text-sm xl:text-sm 2xl:text-sm " >
10
- {{ reading_time }}
11
- </p >
14
+ <header class =" mb-4 lg:mb-6 not-prose mx-auto" >
15
+ <address class =" flex items-center justify-center mb-6 not-italic" >
16
+ <div class =" inline-flex items-center mr-3 text-sm text-gray-900 dark:text-white" >
17
+ <img class =" mr-4 w-16 h-16 rounded-full" src =" {{ primary_author.profile_image }} " alt =" {{ primary_author.name }} " >
18
+ <div >
19
+ <a href =" {{ primary_author.url }} " rel =" author" class =" text-xl font-bold text-gray-900 dark:text-white" >{{ primary_author.name }} </a >
20
+ </div >
21
+ </div >
22
+ </address >
23
+ </header >
12
24
13
- {{ /contentFor }}
25
+ < div class = " my-5 " >
14
26
15
- <article class =" {{ post_class }} w-6/6 p-2" >
27
+ {{ #foreach tags visibility =" public" }}
28
+
16
29
17
- <!-- article thumbnail with partials/authors -->
18
- {{> featureImage }}
30
+ <a href =" {{ url }} " class =" bg-purple-100 text-purple-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-gray-700 dark:text-purple-400 border border-purple-400" > # {{ name }} </a >
19
31
20
- <!-- Heading section -->
21
- <div class =" m-auto mb-4 w-6/6 xs:w-5/6 sm:w-5/6 md:w-5/6 lg:w-5/6 xl:w-5/6 2xl:w-5/6" >
22
- <h1 class =" mt-8 text-3xl xs:text-4xl sm:text-5xl md:text-5xl xl:text-5xl 2xl:text-5xl" >
23
- {{ title }}
24
- </h1 >
25
- <p class =" text-slate-600 dark:text-slate-500 mt-2 text-1xl" >
26
- {{ excerpt }}
27
- </p >
28
- </div >
29
-
30
- <!-- Author card partials/authors -->
31
- {{> authors }}
32
+ {{ /foreach }}
33
+
34
+ </div >
35
+ </section >
36
+
37
+ {{> featureImage }}
38
+
39
+ <section class =" mx-auto w-full max-w-4xl prose-neutral prose-sm prose-ul:list-disc prose-ol:list-disc sm:prose-base lg:prose-lg format-blue dark:format-invert" >
40
+ {{ content }}
41
+ </section >
42
+ </article >
32
43
33
- <!-- article body -->
34
- <div class =" prose-lg prose-neutral m-auto p-2 my-10 w-10/12" >
35
- {{ content }}
36
- </div >
37
44
38
- </article >
39
45
40
46
41
47
{{!-- partials/comment --}}
54
60
55
61
{{!-- loop all post --}}
56
62
{{ #foreach posts }}
57
- {{> postCard }}
63
+ {{> card }}
58
64
{{ /foreach }}
59
65
60
66
{{ /if }}
61
67
62
68
{{ /get }}
63
69
64
70
65
- {{ /post }}
66
-
67
- {{!-- newsletter partials --}}
68
- {{> newsletter }}
71
+ {{ /post }}
0 commit comments