diff options
Diffstat (limited to 'layouts/_default/home.html')
| -rw-r--r-- | layouts/_default/home.html | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/layouts/_default/home.html b/layouts/_default/home.html deleted file mode 100644 index 880f124..0000000 --- a/layouts/_default/home.html +++ /dev/null @@ -1,24 +0,0 @@ -{{- define "main" }} -<div class="homepage"> - <header class="homepage__header"> - <h1 class="homepage__header-title"> - {{ with .Title }}{{ . }}{{ else }}{{ site.Title | default "Welcome to my Blog!" }}{{ end }} - </h1> - {{- with site.Params.author.portrait }} - <img src="{{ . }}" alt="{{ . }}" class="homepage__header-image" /> - {{- end }} - {{- with .Content }} - <div class="homepage__header-content"> - {{ . }} - </div> - {{- end }} - </header> - - {{- partial "list/recent-posts.html" (dict - "count" 5 - "title" (lang.Translate "posts_recent" | default "Recent Articles") - "show_view_all" true - ) - -}} -</div> -{{- end }} |
