diff options
Diffstat (limited to 'layouts/index.html')
| -rw-r--r-- | layouts/index.html | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/layouts/index.html b/layouts/index.html deleted file mode 100644 index 85558ad..0000000 --- a/layouts/index.html +++ /dev/null @@ -1,25 +0,0 @@ -{{- /* HOMEPAGE */ -}} -{{- 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 }} |
