From f722d20725586ee4744d077770ef7a89ab05e360 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Thu, 10 Aug 2023 15:39:23 +0300 Subject: Migrate from brunch to hugo --- layouts/.keep | 0 layouts/home.html | 24 ++++++++++++++++++++++++ layouts/partials/head/metadata.html | 15 +++++++++++++++ layouts/partials/home/education.html | 10 ++++++++++ layouts/partials/home/header.html | 15 +++++++++++++++ layouts/partials/home/projects.html | 11 +++++++++++ layouts/partials/home/skills.html | 11 +++++++++++ layouts/partials/home/summary.html | 6 ++++++ layouts/partials/home/work.html | 20 ++++++++++++++++++++ 9 files changed, 112 insertions(+) create mode 100644 layouts/.keep create mode 100644 layouts/home.html create mode 100644 layouts/partials/head/metadata.html create mode 100644 layouts/partials/home/education.html create mode 100644 layouts/partials/home/header.html create mode 100644 layouts/partials/home/projects.html create mode 100644 layouts/partials/home/skills.html create mode 100644 layouts/partials/home/summary.html create mode 100644 layouts/partials/home/work.html (limited to 'layouts') diff --git a/layouts/.keep b/layouts/.keep new file mode 100644 index 0000000..e69de29 diff --git a/layouts/home.html b/layouts/home.html new file mode 100644 index 0000000..d937da3 --- /dev/null +++ b/layouts/home.html @@ -0,0 +1,24 @@ + + + {{ .Site.Title }} + {{ $web := resources.Get "scss/web.scss" }} + {{ $style := $web | toCSS | minify | fingerprint }} + + {{ $print := resources.Get "scss/print.scss" }} + {{ $style := $print | toCSS | minify | fingerprint }} + + {{ partial "head/metadata" .Site.Data.home.index.Meta }} + + +
+ {{ partial "home/header.html" .Site.Data.home.index.Meta }} + {{ partial "home/summary.html" .Site.Data.home.index.Summary }} + {{ partial "home/skills.html" .Site.Data.home.index.Skills }} + {{ partial "home/work.html" .Site.Data.home.work.Work }} + {{ partial "home/projects.html" .Site.Data.home.writing }} + {{ partial "home/projects.html" .Site.Data.home.projects }} + {{ partial "home/education.html" .Site.Data.home.index.Education }} +
+ + + diff --git a/layouts/partials/head/metadata.html b/layouts/partials/head/metadata.html new file mode 100644 index 0000000..f49b401 --- /dev/null +++ b/layouts/partials/head/metadata.html @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/layouts/partials/home/education.html b/layouts/partials/home/education.html new file mode 100644 index 0000000..e6f82ba --- /dev/null +++ b/layouts/partials/home/education.html @@ -0,0 +1,10 @@ +
+

Education

+
+

{{ .Degree }}

+

{{ .University }}

+

{{ .GPA }}

+ {{ .Location }} + {{ .Duration }} +
+
diff --git a/layouts/partials/home/header.html b/layouts/partials/home/header.html new file mode 100644 index 0000000..7b4d50c --- /dev/null +++ b/layouts/partials/home/header.html @@ -0,0 +1,15 @@ +
+

{{ .Name }}

+ {{ .Title }} +
+
{{ .Location }}
+ + + + + + + + +
+
diff --git a/layouts/partials/home/projects.html b/layouts/partials/home/projects.html new file mode 100644 index 0000000..d9ac5e2 --- /dev/null +++ b/layouts/partials/home/projects.html @@ -0,0 +1,11 @@ +{{ range $header, $projects := . }} +
+

{{ $header }}

+ {{ range $projects }} +
+

{{ .title | safeHTML }}

+

{{ .content | safeHTML }}

+
+ {{ end }} +
+{{ end }} diff --git a/layouts/partials/home/skills.html b/layouts/partials/home/skills.html new file mode 100644 index 0000000..35bda7c --- /dev/null +++ b/layouts/partials/home/skills.html @@ -0,0 +1,11 @@ +
+

Skills

+
+ {{ range $skill := . }} + {{ range $title, $content := $skill }} +
{{ $title }}
+
{{ $content }}
+ {{ end }} + {{ end }} +
+
diff --git a/layouts/partials/home/summary.html b/layouts/partials/home/summary.html new file mode 100644 index 0000000..4f256fd --- /dev/null +++ b/layouts/partials/home/summary.html @@ -0,0 +1,6 @@ +
+

Summary

+

+ {{ . }} +

+
diff --git a/layouts/partials/home/work.html b/layouts/partials/home/work.html new file mode 100644 index 0000000..4af88dc --- /dev/null +++ b/layouts/partials/home/work.html @@ -0,0 +1,20 @@ +
+

Work Experience

+ {{ range . }} +
+
+

{{ .Company | safeHTML }}

+ {{ .Title }} + {{ .Duration }} + {{ .Location }} +
+

{{ .Note | safeHTML }}

+
    + {{ range .Tasks }} +
  • {{ . | safeHTML }}
  • + {{ end }} +
+

{{ .FootNote | safeHTML }}

+
+ {{ end }} +
-- cgit v1.2.3