index — crispy-website @ 553503c752751ecbd71d5f2269b1adba887cd3f6

My personal homepage (very crispy)

css: center blog pages
crispy-caesus crispy@crispy-caesus.eu
Wed, 25 Mar 2026 00:13:56 +0100
commit

553503c752751ecbd71d5f2269b1adba887cd3f6

parent

810cbdde8f2469bf1126ac2c9cf5c3a7fe1da5de

4 files changed, 24 insertions(+), 12 deletions(-)

jump to
M static/blog.cssstatic/blog.css

@@ -1,3 +1,8 @@

+body{ + display: flex; + justify-content: center; +} + p{ max-width: 80ch; text-wrap: wrap;
M static/blogPage.cssstatic/blogPage.css

@@ -1,3 +1,8 @@

+body{ + display: flex; + justify-content: center; +} + ul { list-style-type: none; }
M templates/blogpost.gotmpltemplates/blogpost.gotmpl

@@ -8,10 +8,12 @@ <link rel="stylesheet" href="../static/blog.css" />

<link rel="icon" type="image/png" href="../static/banan_icon.png" /> </head> <body> -<h1>{{.Title}}</h1> -{{.Date}} -<br> -<p> - {{.Text}} -</p> + <div> + <h1>{{.Title}}</h1> + {{.Date}} + <br> + <p> + {{.Text}} + </p> + </div> </body>
M templates/blogposts.gotmpltemplates/blogposts.gotmpl

@@ -8,10 +8,10 @@ <link rel="stylesheet" href="../static/blogPage.css" />

<link rel="icon" type="image/png" href="../static/banan_icon.png" /> </head> <body> -<h1>Crispy Blog</h1> -<ul class=bloglist> - {{range .}} - <li>{{.Date}} <a href="{{.URL}}">{{.Title}}</a></li> - {{end}} -</ul> + <div> + <h1>Crispy Blog</h1> + {{range .}} + <p>{{.Date}} <a href="{{.URL}}">{{.Title}}</a></p> + {{end}} + </div> </body>