Skip to content

Commit

Permalink
Hugo 0.123 ignores symbolic links in the layouts tree, so duplicate t…
Browse files Browse the repository at this point in the history
…hese templates for now
  • Loading branch information
jhenstridge committed Jan 14, 2025
1 parent 92b511f commit e384955
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
1 change: 0 additions & 1 deletion layouts/_default/home.html

This file was deleted.

14 changes: 14 additions & 0 deletions layouts/_default/home.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{{ define "main" }}
<div class="post">

<header class="post-header">
<h1 class="post-title">{{ .Page.Title }}</h1>
{{ if not .Page.IsHome }}{{ with .Page.Date }}<p class="post-meta">{{ .Format "January 2, 2006" }}</p>{{ end }}{{ end -}}
</header>

<article class="post-content">
{{- .Content -}}
</article>

</div>
{{ end }}
1 change: 0 additions & 1 deletion layouts/events/single.html

This file was deleted.

14 changes: 14 additions & 0 deletions layouts/events/single.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{{ define "main" }}
<div class="post">

<header class="post-header">
<h1 class="post-title">{{ .Page.Title }}</h1>
{{ if not .Page.IsHome }}{{ with .Page.Date }}<p class="post-meta">{{ .Format "January 2, 2006" }}</p>{{ end }}{{ end -}}
</header>

<article class="post-content">
{{- .Content -}}
</article>

</div>
{{ end }}

0 comments on commit e384955

Please sign in to comment.