reorganized folder structure
This commit is contained in:
13
gharbeia.net/themes/hyde-rtl/layouts/_default/single.html
Normal file
13
gharbeia.net/themes/hyde-rtl/layouts/_default/single.html
Normal file
@@ -0,0 +1,13 @@
|
||||
{{ define "main" -}}
|
||||
<div class="post">
|
||||
<h1>{{ .Title }}</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>
|
||||
{{.TableOfContents}}
|
||||
{{ .Content }}
|
||||
</div>
|
||||
|
||||
{{ if .Site.DisqusShortname -}}
|
||||
<h2>{{ i18n "Comments" }}</h2>
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user