diff --git a/layouts/index.html b/layouts/index.html index b482c42..4931c8a 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -7,5 +7,6 @@ {{ partial "navbar.html" . }} {{ partial "home.html" . }} + {{ partial "footer.html" . }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index e69de29..fb50194 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -0,0 +1,3 @@ + diff --git a/layouts/partials/header.html b/layouts/partials/header.html index a970e0d..14872b9 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -3,3 +3,4 @@ + diff --git a/layouts/partials/home.html b/layouts/partials/home.html index 161c837..4ff220a 100644 --- a/layouts/partials/home.html +++ b/layouts/partials/home.html @@ -5,8 +5,31 @@
-
asdf
-
asdf
+
+ {{ $.Site.Params.maintitle }} +
+
{{ $.Site.Params.maintext }}
+ {{ $data := .Site.Data.home }} +
+
+
+ {{ partial "home_title" (dict "title" "Skills") }} +
+ {{ range $data.about.links.link }} + {{end}} +
+
+
+
{{ replace $data.about.text "\n" "
" | safeHTML }}
+
+
+
+
+ {{ partial "home_title" (dict "title" "Skills") }} +
+
+
+
diff --git a/layouts/partials/home_title.html b/layouts/partials/home_title.html new file mode 100644 index 0000000..5337fde --- /dev/null +++ b/layouts/partials/home_title.html @@ -0,0 +1,3 @@ +
+ {{ .title }} +
diff --git a/static/css/index.css b/static/css/index.css index 2fbcc51..6e83f65 100644 --- a/static/css/index.css +++ b/static/css/index.css @@ -71,3 +71,17 @@ background-position-x: -1000px; } } + +.title-deco { + position: relative; +} + +.title-deco::after { + position: absolute; + content: ""; + width: 42px; + height: 4px; + background: #EE7785; + left: 0; + bottom: 0px; +}