Skip to content

Commit

Permalink
list page content styling (#2)
Browse files Browse the repository at this point in the history
* feat: tailwind typography added & project scripts
pnpm can be used to:
-  start hugo server
- watch and build css with tailwind

* feat: single page typography content styling

* feat: content styling for list pages
  • Loading branch information
byanthny authored Mar 30, 2023
1 parent 4facb21 commit 6006428
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
<div class="m-auto w-fit">
<h1 class="px-5 py-2 text-4xl bg-rose-500 w-fit">{{ .Title | title }}</h1>
</div>
<div class="mt-5 text-left">
{{ .Content }}
<div class="w-full mt-5 text-left">
<article class="w-full prose prose-base max-w-none prose-invert">
{{ .Content }}
</article>
</div>
{{ end }}

0 comments on commit 6006428

Please sign in to comment.