mirror of
https://github.com/ineesalmeida/almeida-cv.git
synced 2024-11-22 23:37:53 +00:00
Allow swapping bar left and right bar in config
This commit is contained in:
parent
80bcfa8449
commit
f7d1aa9766
3 changed files with 21 additions and 0 deletions
|
@ -32,4 +32,15 @@
|
|||
|
||||
@include shadow(0.5);
|
||||
}
|
||||
|
||||
&__swapped {
|
||||
&__left {
|
||||
float: right;
|
||||
}
|
||||
|
||||
&__right {
|
||||
float: left;
|
||||
left: 1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -25,3 +25,5 @@ colorRightColumnBodyText = "#666"
|
|||
colorRightColumnIconPrimary = "#fff"
|
||||
colorRightColumnIconBackground = "#e3bfb8"
|
||||
pages = 1
|
||||
# Set this param to 'true' to swap the bar positions
|
||||
swapColumns = false
|
||||
|
|
|
@ -5,14 +5,22 @@
|
|||
{{ partial "head.html" . }}
|
||||
<body>
|
||||
<div class="content">
|
||||
{{ if .Site.Params.swapColumns }}
|
||||
<div class="content__left content__swapped__left">
|
||||
{{ else }}
|
||||
<div class="content__left">
|
||||
{{ end }}
|
||||
<h1 class="mainHeading">{{ $data.BasicInfo.FirstName }} <span>{{ $data.BasicInfo.LastName }}</span></h1>
|
||||
{{ partial "_profile.html" $data }}
|
||||
{{ partial "_experience.html" $data }}
|
||||
{{ partial "_education.html" $data }}
|
||||
{{ partial "_references.html" $data }}
|
||||
</div>
|
||||
{{ if .Site.Params.swapColumns }}
|
||||
<div class="content__right content__swapped__right">
|
||||
{{ else }}
|
||||
<div class="content__right">
|
||||
{{ end }}
|
||||
{{ partial "_avatar.html" $data }}
|
||||
{{ partial "_contacts.html" $data }}
|
||||
{{ partial "_skills.html" $data }}
|
||||
|
|
Loading…
Reference in a new issue