From a77ac9f1f2361020ac154768bc4a9963093557ef Mon Sep 17 00:00:00 2001 From: Darshan Baral Date: Sat, 2 Nov 2019 18:20:47 -0700 Subject: Reorganized header section --- layouts/index.html | 44 +++++++++++++++++------------------------ layouts/partials/header.html | 47 +++++++++++++++++++++++++------------------- 2 files changed, 45 insertions(+), 46 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index 4055817..31d84e1 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,27 +1,19 @@ - - - {{ partial "head.html" . }} +{{ define "main" }} +
+
+ {{ partial "education.html" . }} +
+ {{ partial "language.html" . }} +
+ {{ partial "hobby.html" . }} +
- - {{ partial "header.html" . }} -
-
- {{ partial "education.html" . }} -
- {{ partial "language.html" . }} -
- {{ partial "hobby.html" . }} -
- -
- {{ partial "experience.html" . }} - {{ partial "project.html" . }} - {{ partial "skill.html" . }} -
-
- - {{ partial "footer.html" . }} - - +
+ {{ partial "experience.html" . }} + {{ partial "project.html" . }} + {{ partial "skill.html" . }} +
+
+{{ end }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index fe46ab7..348d6f6 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,25 +1,32 @@ -
-
- - {{ .Site.Params.author }} -

- - brightness_medium - + +
+
+ {{ partial "social.html" . }} +

+ brightness_medium

-
- {{ partial "social.html" . }} -

{{ .Site.Params.profile.name }}

-

{{ .Site.Params.description }}

-

- {{ .Site.Params.aboutme.description | markdownify }} -

+
+
+ {{ .Site.Params.author }} +
+ +
+

{{ .Site.Params.profile.name }}

+

{{ .Site.Params.description }}

+

+ {{ .Site.Params.aboutme.description | markdownify }} +

+
-- cgit v1.2.3