From c4a1ddd345f5add274734491f5e1819fa81a43d8 Mon Sep 17 00:00:00 2001 From: mertbakir <2335694-mertbakir@users.noreply.gitlab.com> Date: Tue, 1 Sep 2020 16:27:47 +0300 Subject: Update section objective > about-me --- exampleSite/config.toml | 2 +- layouts/home.html | 4 ++-- layouts/partials/about-me.html | 8 ++++++++ layouts/partials/objective.html | 8 -------- 4 files changed, 11 insertions(+), 11 deletions(-) create mode 100644 layouts/partials/about-me.html delete mode 100644 layouts/partials/objective.html diff --git a/exampleSite/config.toml b/exampleSite/config.toml index be519f1..06f5d53 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -18,7 +18,7 @@ skills_grouped = false interests = true contact = false tagline = true -objective = false +aboutMe = false projects = false papers = false avatar = true diff --git a/layouts/home.html b/layouts/home.html index 8b115fb..baa8102 100644 --- a/layouts/home.html +++ b/layouts/home.html @@ -20,8 +20,8 @@
{{ partial "header" . }}
- {{ if .Site.Params.display.objective }} - {{ partial "objective" . }} + {{ if .Site.Params.display.aboutMe }} + {{ partial "about-me" . }} {{ end }} {{ if .Site.Params.display.experience }} diff --git a/layouts/partials/about-me.html b/layouts/partials/about-me.html new file mode 100644 index 0000000..fd860d8 --- /dev/null +++ b/layouts/partials/about-me.html @@ -0,0 +1,8 @@ +
+

About Me

+

+ {{ range .Site.Data.features.about }} + {{ .details }} + {{ end }} +

+
\ No newline at end of file diff --git a/layouts/partials/objective.html b/layouts/partials/objective.html deleted file mode 100644 index cc02a0a..0000000 --- a/layouts/partials/objective.html +++ /dev/null @@ -1,8 +0,0 @@ -
-

Objective

-

- {{ range .Site.Data.features.about }} - {{ .details }} - {{ end }} -

-
\ No newline at end of file -- cgit v1.2.3