Repos / s4g / cce6ba4c2c
commit cce6ba4c2cae21c353959e59c5b744e093591a12
Author: Nhân <hi@imnhan.com>
Date:   Thu Aug 24 15:18:35 2023 +0700

    fix post date format

diff --git a/docs/_s4g/theme/base.css b/docs/_s4g/theme/base.css
index c10cd1f..90ac997 100644
--- a/docs/_s4g/theme/base.css
+++ b/docs/_s4g/theme/base.css
@@ -28,14 +28,14 @@ footer {
 pre,
 .sidenote {
   border: 1px solid black;
-  background-color: #eee;
   padding: 0.5rem;
 }
 pre {
-  overflow-y: scroll;
+  overflow-x: auto;
 }
 .sidenote {
   margin-left: 2rem;
+  background-color: #eee;
 }
 .sidenote p {
   margin: 0;
diff --git a/docs/_s4g/theme/home.tmpl b/docs/_s4g/theme/home.tmpl
index 0c286f0..8e75915 100644
--- a/docs/_s4g/theme/home.tmpl
+++ b/docs/_s4g/theme/home.tmpl
@@ -30,7 +30,7 @@
   <li class="article">
     <a href="{{.WebPath}}">{{.Title}}</a>
     <br>
-    <span>{{.PostedAt.Local.Format "January 1, 2006"}}</span>
+    <span>{{.PostedAt.Local.Format "January 2, 2006"}}</span>
   </li>
   {{- end}}
   {{- end}}
diff --git a/docs/_s4g/theme/series-index.tmpl b/docs/_s4g/theme/series-index.tmpl
index aee5b53..b68b8e5 100644
--- a/docs/_s4g/theme/series-index.tmpl
+++ b/docs/_s4g/theme/series-index.tmpl
@@ -15,7 +15,7 @@
   <li style="margin-bottom: 1rem;">
     <a href="{{.WebPath}}">{{.Title}}</a>
     <br>
-    <span>{{.PostedAt.Local.Format "January 1, 2006"}}</span>
+    <span>{{.PostedAt.Local.Format "January 2, 2006"}}</span>
   </li>
 {{- end}}
 {{ end }}
diff --git a/docs/index.html b/docs/index.html
index e9dddfd..3ad81fb 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -41,12 +41,12 @@ <h1 class="site-title">CoolZone</h1>
   <li class="article">
     <a href="/s4g/mfws.html">This is a motherfucking website.</a>
     <br>
-    <span>April 4, 2023</span>
+    <span>April 5, 2023</span>
   </li>
   <li class="article">
     <a href="/s4g/scale/">I&#39;m Going To Scale My Foot Up Your Ass</a>
     <br>
-    <span>April 4, 2008</span>
+    <span>April 24, 2008</span>
   </li>
 </ul>
 
diff --git a/theme/home.tmpl b/theme/home.tmpl
index 0c286f0..8e75915 100644
--- a/theme/home.tmpl
+++ b/theme/home.tmpl
@@ -30,7 +30,7 @@
   <li class="article">
     <a href="{{.WebPath}}">{{.Title}}</a>
     <br>
-    <span>{{.PostedAt.Local.Format "January 1, 2006"}}</span>
+    <span>{{.PostedAt.Local.Format "January 2, 2006"}}</span>
   </li>
   {{- end}}
   {{- end}}
diff --git a/theme/series-index.tmpl b/theme/series-index.tmpl
index aee5b53..b68b8e5 100644
--- a/theme/series-index.tmpl
+++ b/theme/series-index.tmpl
@@ -15,7 +15,7 @@
   <li style="margin-bottom: 1rem;">
     <a href="{{.WebPath}}">{{.Title}}</a>
     <br>
-    <span>{{.PostedAt.Local.Format "January 1, 2006"}}</span>
+    <span>{{.PostedAt.Local.Format "January 2, 2006"}}</span>
   </li>
 {{- end}}
 {{ end }}