mirror of
https://github.com/eiblog/eiblog.git
synced 2026-03-01 00:34:58 +08:00
update
This commit is contained in:
@@ -187,7 +187,7 @@ func generateMarkdown() {
|
|||||||
for i, artc := range archive.Articles {
|
for i, artc := range archive.Articles {
|
||||||
if i == 0 && gt12Month {
|
if i == 0 && gt12Month {
|
||||||
buffer.WriteString("* *[" + artc.Title + "](/post/" + artc.Slug +
|
buffer.WriteString("* *[" + artc.Title + "](/post/" + artc.Slug +
|
||||||
".html)* <span class=\"date\">(" + artc.CreateTime.Format("Jan 02, 2006") + ")</span>\n")
|
".html) <span class=\"date\">(" + artc.CreateTime.Format("Jan 02, 2006") + ")</span>*\n")
|
||||||
} else {
|
} else {
|
||||||
buffer.WriteString("* [" + artc.Title + "](/post/" + artc.Slug +
|
buffer.WriteString("* [" + artc.Title + "](/post/" + artc.Slug +
|
||||||
".html) <span class=\"date\">(" + artc.CreateTime.Format("Jan 02, 2006") + ")</span>\n")
|
".html) <span class=\"date\">(" + artc.CreateTime.Format("Jan 02, 2006") + ")</span>\n")
|
||||||
|
|||||||
Reference in New Issue
Block a user