blog/themes/mytheme/layouts/_default/single.html

22 lines
593 B
HTML
Raw Normal View History

2023-11-01 22:06:06 +09:00
{{ define "main" }}
<div class="max-w-6xl mx-auto bg-white p-10 pt-16 rounded-lg shadow-xl">
<div class="mb-10 text-center ">
2023-11-02 08:23:15 +09:00
<h1 class="text-xl md:text-3xl font-bold mb-6 text-black">{{ .Title }}</h1>
<div class="date text-lg md:text-2xl">
2023-11-01 22:06:06 +09:00
{{ .Date | time.Format ":date_long" }}
</div>
2023-10-21 16:05:44 +09:00
</div>
2023-11-01 22:06:06 +09:00
<div class="bg-gray-400 h-[1px] mb-8"></div>
2023-11-02 08:23:15 +09:00
<div class="content text-lg md:text-[1.4rem] leading-relaxed">
2023-11-01 22:06:06 +09:00
{{ .Content }}
</div>
</div>
2023-10-21 16:05:44 +09:00
2023-11-01 22:06:06 +09:00
<nav class="text-2xl font-bold mt-10 ml-20">
<a href="#" onclick="window.history.back()">
< Back
</a>
</nav>
2023-10-21 16:05:44 +09:00
2023-11-01 22:06:06 +09:00
{{ end }}