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

github.com/ineesalmeida/almeida-cv.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInes Almeida <ines.almeida@perspectum.com>2020-08-16 22:49:25 +0300
committerInes Almeida <ines.almeida@perspectum.com>2020-08-16 22:49:25 +0300
commitb93bcb9a8b1abdb6fea25e612cc55bd36cca90fc (patch)
treed6b6332efef28a4cd347e649fabed39c3b6009a8
parentcf7e62b48ecf4607ebe8f0a1fc33ee272efc32c7 (diff)
Make sections optional
-rw-r--r--exampleSite/config.toml4
-rw-r--r--exampleSite/resources/_gen/assets/scss/sass/main.scss_545d7c693f5b5f74d129019eb310e64e.content1
-rw-r--r--exampleSite/resources/_gen/assets/scss/sass/main.scss_545d7c693f5b5f74d129019eb310e64e.json1
-rw-r--r--images/tn.png (renamed from images/thumbnail.png)bin475927 -> 475927 bytes
-rw-r--r--layouts/partials/_avatar.html10
-rw-r--r--layouts/partials/_contacts.html5
-rw-r--r--layouts/partials/_diplomas.html4
-rw-r--r--layouts/partials/_education.html2
-rw-r--r--layouts/partials/_experience.html4
-rw-r--r--layouts/partials/_interests.html4
-rw-r--r--layouts/partials/_languages.html4
-rw-r--r--layouts/partials/_profile.html4
-rw-r--r--layouts/partials/_skills.html4
13 files changed, 33 insertions, 14 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 67ba84d..c341a04 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -1,6 +1,6 @@
-baseURL = "cv/"
+baseURL = "https://example.com/"
languageCode = "en-us"
-title = "Inês Almeida - CV"
+title = "Example - CV"
theme = "cv-almeida"
[params]
diff --git a/exampleSite/resources/_gen/assets/scss/sass/main.scss_545d7c693f5b5f74d129019eb310e64e.content b/exampleSite/resources/_gen/assets/scss/sass/main.scss_545d7c693f5b5f74d129019eb310e64e.content
new file mode 100644
index 0000000..02918c8
--- /dev/null
+++ b/exampleSite/resources/_gen/assets/scss/sass/main.scss_545d7c693f5b5f74d129019eb310e64e.content
@@ -0,0 +1 @@
+@charset "UTF-8";.content{position:absolute;overflow:hidden}.content__left{float:left;width:56rem;height:100%;padding:3rem 4rem}@media print{.content__left::after{content:"2020 © by Inês Almeida | ines-almeida.com";height:4rem;width:100%;position:absolute;bottom:.5rem;color:#ddd}}.content__right{position:absolute;float:right;width:24rem;background-color:#f5f5f5;height:100%;padding:2rem 3rem;right:1rem;-webkit-box-shadow:.5rem 1rem 1.5rem rgba(102,102,102,.15);-moz-box-shadow:.5rem 1rem 1.5rem rgba(102,102,102,.15);box-shadow:.5rem 1rem 1.5rem rgba(102,102,102,.15)}*,*::after,*::before{margin:0;padding:0;box-sizing:inherit}html{font-size:62.5%;background-color:#ddd}@media print{html{background-color:#fff}}.content{width:80rem;min-height:113.16129036rem;background-color:#fff}@media screen and (min-width:60rem){.content{margin:6rem 0;-webkit-box-shadow:1rem 2rem 3rem rgba(102,102,102,.3);-moz-box-shadow:1rem 2rem 3rem rgba(102,102,102,.3);box-shadow:1rem 2rem 3rem rgba(102,102,102,.3);position:absolute;left:50%;transform:translateX(-50%)}}@media print{.content{margin:0}}body{box-sizing:border-box}@media print{@page{margin:0;size:A4}}::selection{color:#fff;background-color:rgba(213,158,147,.6)}body{font-family:roboto,sans-serif;font-weight:300;line-height:1.7;font-size:1.12rem;color:#666}.mainHeading{text-transform:uppercase;font-size:5rem;color:#aaa}.mainHeading span{color:#e3bfb8}.section__title{font-size:2.1rem;color:#aaa}h1,h2{text-transform:uppercase;font-family:oswald,sans-serif}.section{display:block;margin-bottom:2rem}.section__heading{width:100%;overflow:hidden}.section__title{position:relative}.section__title::after{content:"";position:absolute;border-top:1px solid;border-bottom:1px solid;border-color:#aaa;width:50rem;height:4px;margin-left:1.5rem;margin-top:1.5rem;transition:all .5s ease-in-out}.section__title:hover::after{border-color:#e3bfb8}.sideSection{display:block;margin-bottom:3rem}.sideSection__heading{width:100%;overflow:hidden;text-align:center;margin-bottom:1rem}.sideSection__title{position:relative}.sideSection__title::after,.sideSection__title::before{content:"";position:absolute;border-top:1px solid #aaa;border-bottom:1px solid #aaa;width:10rem;height:4px;margin-top:1.1rem}.sideSection__title::after{margin-left:1rem}.sideSection__title::before{margin-left:-11rem}.sideSection li{list-style:none}.experience__item{display:block;margin-bottom:1.5rem}.experience__header,.experience__subheader{display:block;width:100%;height:2.4rem}.experience__job{position:relative;transition:transform .2s cubic-bezier(0.63,0.21,0.76,1.58)}.experience__job:hover{transform:translateX(0.5rem)}.experience__company,.experience__position{text-align:left;width:70%;float:left}.experience__company{color:#999}.experience__position{text-transform:uppercase;font-size:1.3rem;color:#666}.experience__date,.experience__place{float:right;text-align:right;width:30%;color:#aaa}.experience__date{font-weight:400}.experience__place::before{font-family:material icons;color:#e3bfb8;font-size:1.4rem;content:"place";display:inline-block;padding-right:3px;vertical-align:middle;font-weight:900}.experience__bullet{list-style-position:inside}.experience__badges{display:block;text-align:right;margin-top:.5rem;margin-bottom:.5rem}.experience__badge{font-size:.9rem;font-weight:400;display:inline-block;background-color:#e3bfb8;color:#fff;border-radius:1rem;padding:.1rem .6rem}.contact{line-height:2rem}.contact__item{position:relative;font-size:1rem}.contact__item>i{background-color:#e3bfb8;color:#fff;font-size:1rem;text-align:center;border-radius:50%;padding-top:.5rem;width:2rem;height:2rem;margin-right:.5rem;margin-bottom:.5rem}.contact__item>span{position:absolute;top:50%;transform:translateY(-50%)}.avatar{width:100%;height:18rem;position:relative;overflow:hidden}.avatar__container{position:absolute;left:50%;transform:translateX(-50%);width:100%;clip-path:circle(50% at 50% 56%);height:16rem;text-align:center;transition:all .3s cubic-bezier(0.63,0.21,0.76,1.58)}.avatar__container:hover{width:110%}.avatar__img{object-fit:cover;width:110%;transition:all .3s cubic-bezier(0.63,0.21,0.76,1.58);position:absolute;top:50%;left:50%;transform:translateX(-50%)translateY(-50%)}.avatar__img:hover{width:105%}.skills__group span{font-weight:700;display:inline-block}.skills__group span::after{content:":"}.skills__group span:hover~li{background-color:#e3bfb8;color:#fff}.skills__group li{display:inline-block;font-weight:400;transition:all .2s ease-in-out;padding:0 1px;border-radius:2px}.skills__group li:not(:last-child)::after{content:", "}.skills__group li:hover{background-color:#e3bfb8;color:#fff}.language__item{display:table;width:100%}.language__name,.language__level{display:table-cell;width:50%}.language__level{text-align:right}.interests{display:block;-moz-column-count:2;column-count:2;width:100%;text-align:right}.interests__item:nth-child(n+4){text-align:left}.pageNotFound{padding-top:8rem;position:absolute;left:50%;transform:translateX(-50%)}.pageNotFound__text{padding-top:3rem} \ No newline at end of file
diff --git a/exampleSite/resources/_gen/assets/scss/sass/main.scss_545d7c693f5b5f74d129019eb310e64e.json b/exampleSite/resources/_gen/assets/scss/sass/main.scss_545d7c693f5b5f74d129019eb310e64e.json
new file mode 100644
index 0000000..44213b0
--- /dev/null
+++ b/exampleSite/resources/_gen/assets/scss/sass/main.scss_545d7c693f5b5f74d129019eb310e64e.json
@@ -0,0 +1 @@
+{"Target":"style.main.min.b7c611a93c956592ba774891606aea4461d163bda3f2d097aaab691ae16c5f17.css","MediaType":"text/css","Data":{"Integrity":"sha256-t8YRqTyVZZK6d0iRYGrqRGHRY72j8tCXqqtpGuFsXxc="}} \ No newline at end of file
diff --git a/images/thumbnail.png b/images/tn.png
index 5fc0164..5fc0164 100644
--- a/images/thumbnail.png
+++ b/images/tn.png
Binary files differ
diff --git a/layouts/partials/_avatar.html b/layouts/partials/_avatar.html
index 3d07527..b903168 100644
--- a/layouts/partials/_avatar.html
+++ b/layouts/partials/_avatar.html
@@ -1,5 +1,7 @@
-<div class="sideSection avatar">
- <div class="avatar__container">
- <img class="avatar__img" src="{{ .Site.Data.content.BasicInfo.Photo }}" alt="photo of me">
+{{ if .Site.Data.content.BasicInfo.Photo }}
+ <div class="sideSection avatar">
+ <div class="avatar__container">
+ <img class="avatar__img" src="{{ .Site.Data.content.BasicInfo.Photo }}" alt="photo of me">
+ </div>
</div>
-</div> \ No newline at end of file
+{{ end }} \ No newline at end of file
diff --git a/layouts/partials/_contacts.html b/layouts/partials/_contacts.html
index ff3af9f..7fe6663 100644
--- a/layouts/partials/_contacts.html
+++ b/layouts/partials/_contacts.html
@@ -1,8 +1,9 @@
-
+{{ if .Site.Data.content.BasicInfo.Contacts }}
<div class="sideSection contact">
<ul>
{{ range .Site.Data.content.BasicInfo.Contacts }}
<li class="contact__item"><i class="{{ .Icon }}"></i><span>{{ .Info }}</span></li>
{{ end }}
</ul>
-</div> \ No newline at end of file
+</div>
+{{ end }} \ No newline at end of file
diff --git a/layouts/partials/_diplomas.html b/layouts/partials/_diplomas.html
index 996aa10..fc6a806 100644
--- a/layouts/partials/_diplomas.html
+++ b/layouts/partials/_diplomas.html
@@ -1,3 +1,4 @@
+{{ if .Site.Data.content.Diplomas }}
<div class="sideSection">
<div class="sideSection__heading">
<h2 class="sideSection__title">
@@ -11,4 +12,5 @@
{{ end }}
</ul>
</div>
-</div> \ No newline at end of file
+</div>
+{{ end }} \ No newline at end of file
diff --git a/layouts/partials/_education.html b/layouts/partials/_education.html
index 253ca1c..717307a 100644
--- a/layouts/partials/_education.html
+++ b/layouts/partials/_education.html
@@ -1,3 +1,4 @@
+{{ if .Site.Data.content.Education }}
<div id="education" class="section">
<div class="section__heading">
<h2 class="section__title">
@@ -15,3 +16,4 @@
{{ end }}
</div>
</div>
+{{ end }}
diff --git a/layouts/partials/_experience.html b/layouts/partials/_experience.html
index caa7ecf..0a5140f 100644
--- a/layouts/partials/_experience.html
+++ b/layouts/partials/_experience.html
@@ -1,3 +1,4 @@
+{{ if .Site.Data.content.Experience }}
<div id="experience" class="section">
<div class="section__heading">
<h2 class="section__title">
@@ -36,4 +37,5 @@
{{ end }}
</div>
</div>
-</div> \ No newline at end of file
+</div>
+{{ end }} \ No newline at end of file
diff --git a/layouts/partials/_interests.html b/layouts/partials/_interests.html
index aca46cc..abcba77 100644
--- a/layouts/partials/_interests.html
+++ b/layouts/partials/_interests.html
@@ -1,3 +1,4 @@
+{{ if .Site.Data.content.Interests }}
<div class="sideSection">
<div class="sideSection__heading">
<h2 class="sideSection__title">
@@ -11,4 +12,5 @@
{{ end }}
</ul>
</div>
-</div> \ No newline at end of file
+</div>
+{{ end }} \ No newline at end of file
diff --git a/layouts/partials/_languages.html b/layouts/partials/_languages.html
index 039c9bf..494a44d 100644
--- a/layouts/partials/_languages.html
+++ b/layouts/partials/_languages.html
@@ -1,3 +1,4 @@
+{{ if .Site.Data.content.Languages }}
<div class="sideSection">
<div class="sideSection__heading">
<h2 class="sideSection__title">
@@ -11,4 +12,5 @@
{{ end }}
</ul>
</div>
-</div> \ No newline at end of file
+</div>
+{{ end }} \ No newline at end of file
diff --git a/layouts/partials/_profile.html b/layouts/partials/_profile.html
index 4ed5a15..7d310f5 100644
--- a/layouts/partials/_profile.html
+++ b/layouts/partials/_profile.html
@@ -1,3 +1,4 @@
+{{ if .Site.Data.content.Profile }}
<div id="profile" class="section">
<div class="section__heading">
<h2 class="section__title">
@@ -9,4 +10,5 @@
{{.Site.Data.content.Profile}}
</p>
</div>
-</div> \ No newline at end of file
+</div>
+{{ end }} \ No newline at end of file
diff --git a/layouts/partials/_skills.html b/layouts/partials/_skills.html
index 8d3b5ed..7ff831e 100644
--- a/layouts/partials/_skills.html
+++ b/layouts/partials/_skills.html
@@ -1,3 +1,4 @@
+{{ if .Site.Data.content.Skills }}
<div class="sideSection">
<div class="sideSection__heading">
<h2 class="sideSection__title">
@@ -18,4 +19,5 @@
</li>
</ul>
</div>
-</div> \ No newline at end of file
+</div>
+{{ end }} \ No newline at end of file