From 2dc3a2643a8824c45462f4768fe9d6df245e00c5 Mon Sep 17 00:00:00 2001 From: gangjun06 Date: Thu, 13 Aug 2020 09:41:37 +0000 Subject: [PATCH] basic layout --- layouts/partials/header.html | 1 + layouts/partials/home.html | 78 ++++++++++++++++++++++++++++++++---- 2 files changed, 71 insertions(+), 8 deletions(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 14872b9..622f609 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -4,3 +4,4 @@ + diff --git a/layouts/partials/home.html b/layouts/partials/home.html index 4ff220a..ee7248b 100644 --- a/layouts/partials/home.html +++ b/layouts/partials/home.html @@ -12,24 +12,86 @@ {{ $data := .Site.Data.home }} -
-
+
+
- {{ partial "home_title" (dict "title" "Skills") }} + {{ partial "home_title" (dict "title" "About Me") }}
- {{ range $data.about.links.link }} + {{ range $data.about.link }} {{end}}
-
+
{{ replace $data.about.text "\n" "
" | safeHTML }}
-
-
+
+
{{ partial "home_title" (dict "title" "Skills") }}
+
+ {{ range $data.skills.list }} +
+
+
+
+ +
+ {{ .name }} +
+
+
+

+ {{ replace .text "\n" "
" | safeHTML }} +

+
+
+ {{end}} +
+
+
+
+ {{ partial "home_title" (dict "title" "Projects") }} +
+
+ {{ range $data.project.list }} +
+ Sunset in the mountains +
+
{{ .title }}
+

+ {{ .text }} +

+
+
+ #photography + #travel + #winter +
+
+ {{end}} +
-