reorganized folder structure
This commit is contained in:
19
gharbeia.net/themes/hyde-rtl/layouts/index.html
Normal file
19
gharbeia.net/themes/hyde-rtl/layouts/index.html
Normal file
@@ -0,0 +1,19 @@
|
||||
{{ define "main" -}}
|
||||
<div class="posts">
|
||||
{{ range .Data.Pages -}}
|
||||
<article class="post">
|
||||
<h1 class="post-title">
|
||||
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
||||
</h1>
|
||||
<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z0700" }}" class="post-date" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" | safeHTML }}"> نُشر في {{ .Date.Day }} {{ index $.Site.Data.months_ar (printf "%d" .Date.Month) }} {{ .Date.Year }} (آخر تعديل {{ .Lastmod.Day }} {{ index $.Site.Data.months_ar (printf "%d" .Lastmod.Month) }} {{ .Lastmod.Year }})</time>
|
||||
|
||||
{{ .Summary }}
|
||||
{{ if .Truncated }}
|
||||
<div class="read-more-link">
|
||||
<a href="{{ .RelPermalink }}">{{ i18n "readmore" }}</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
</article>
|
||||
{{- end }}
|
||||
</div>
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user