Skip to content

Commit 0618542

Browse files
committed
small edits
1 parent 86bdfc6 commit 0618542

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

_layout/head.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@
7272

7373
<div class="content">
7474

75-
{{ispage index.html 404.html}}
75+
{{ispage / /404/}}
7676
<section class="container centered">
7777

78-
{{else}} {{ispage /posts/index.html}}
78+
{{else}} {{ispage /posts/}}
7979
<section class="container list">
8080
<h1 class="title">
8181
<a class="title-link" href="/posts/">

_layout/post_header.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ <h1 class="title">
88
</div>
99

1010
<div class="post-meta">
11-
{{isdef date}}
11+
{{isnotempty date}}
1212
<div class="date">
1313
<span class="posted-on">
1414
<i class="fa fa-calendar" aria-hidden="true"></i>

posts/index.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
+++
2+
title = "News"
23
header = "News"
34
+++
45

utils.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function hfun_list_posts(t::String)
5151
node("ul",
5252
(
5353
node("li",
54-
node("span", class="date", Dates.format(p.date, "U d, yyyy")),
54+
node("span", class="date", Dates.format(p.date, "U d, yyyy") * ""),
5555
node("a", class="title", href=p.href, p.title)
5656
)
5757
for p in get_posts(t)

0 commit comments

Comments
 (0)