reorganized folder structure

This commit is contained in:
2026-03-25 12:28:35 -04:00
parent 0d4833f940
commit 1f0f0fd8fe
1426 changed files with 348 additions and 9678 deletions

View File

@@ -0,0 +1,10 @@
{{ partial "head.html" . }}
<body class="{{ .Site.Params.themeColor }} {{if .Site.Params.layoutReverse}}layout-reverse{{end}}">
{{ partial "sidebar.html" . }}
<main class="content container">
{{ block "main" . -}}{{- end }}
</main>
{{ template "_internal/google_analytics_async.html" . }}
</body>
</html>

View File

@@ -0,0 +1,9 @@
{{ define "main" -}}
<ul class="posts">
{{ range .Data.Pages -}}
<li>
<span><a href="{{ .Permalink }}">{{ .Title }}</a> <time class="pull-right post-list" datetime="{{ .Date.Format "2006-01-02T15:04:05Z0700" }}">{{ .Date.Format "Mon, Jan 2, 2006" }}</time></span>
</li>
{{- end }}
</ul>
{{- end }}

View 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 }}