Skip to content

Commit e384955

Browse files
committed
Hugo 0.123 ignores symbolic links in the layouts tree, so duplicate these templates for now
1 parent 92b511f commit e384955

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed

layouts/_default/home.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

layouts/_default/home.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{{ define "main" }}
2+
<div class="post">
3+
4+
<header class="post-header">
5+
<h1 class="post-title">{{ .Page.Title }}</h1>
6+
{{ if not .Page.IsHome }}{{ with .Page.Date }}<p class="post-meta">{{ .Format "January 2, 2006" }}</p>{{ end }}{{ end -}}
7+
</header>
8+
9+
<article class="post-content">
10+
{{- .Content -}}
11+
</article>
12+
13+
</div>
14+
{{ end }}

layouts/events/single.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

layouts/events/single.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{{ define "main" }}
2+
<div class="post">
3+
4+
<header class="post-header">
5+
<h1 class="post-title">{{ .Page.Title }}</h1>
6+
{{ if not .Page.IsHome }}{{ with .Page.Date }}<p class="post-meta">{{ .Format "January 2, 2006" }}</p>{{ end }}{{ end -}}
7+
</header>
8+
9+
<article class="post-content">
10+
{{- .Content -}}
11+
</article>
12+
13+
</div>
14+
{{ end }}

0 commit comments

Comments
 (0)