Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/schmanat/hugo-highlights-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsampettitdesigns <sampettitdesigns@outlook.com>2017-03-01 03:22:18 +0300
committersampettitdesigns <sampettitdesigns@outlook.com>2017-03-01 03:22:18 +0300
commitc45727cb0fc39c5d1f3b6f810274a7657057a255 (patch)
tree3a25ba530e0f5f9e986f13c2c21f06bfdfab94ab
parentbf264f2cfd07d7c2b15288bf74292b07187411b2 (diff)
About & Skills should use image set in config.toml
About and Skills sections were ignoring the background image they were set to use in config.toml instead all sharing the image set for the Info section. Adjusts About.html and skills.html partials to correctly use the background images set in config.toml
-rw-r--r--layouts/partials/about.html2
-rw-r--r--layouts/partials/skills.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/about.html b/layouts/partials/about.html
index 0cc1b83..ad09814 100644
--- a/layouts/partials/about.html
+++ b/layouts/partials/about.html
@@ -3,7 +3,7 @@
<section id="about" class="main special">
<div class="container">
{{ if eq .Site.Params.backgroundpersection true }}
- <span class="image fit primary"><img src="images/{{ with .Site.Params.infos.picture }}{{ . }}{{ end }}" alt="" /></span>
+ <span class="image fit primary"><img src="images/{{ with .Site.Params.about.picture }}{{ . }}{{ end }}" alt="" /></span>
{{ end }}
<div class="content">
<header class="major">
diff --git a/layouts/partials/skills.html b/layouts/partials/skills.html
index 795c599..1a8fa66 100644
--- a/layouts/partials/skills.html
+++ b/layouts/partials/skills.html
@@ -2,7 +2,7 @@
<section id="skills" class="main special">
<div class="container">
{{ if eq .Site.Params.backgroundpersection true }}
- <span class="image fit primary"><img src="images/{{ with .Site.Params.infos.picture }}{{ . }}{{ end }}" alt="" /></span>
+ <span class="image fit primary"><img src="images/{{ with .Site.Params.skill_list.picture }}{{ . }}{{ end }}" alt="" /></span>
{{ end }}
<div class="content">
<header class="major">