Make sections optional

This commit is contained in:
Ines Almeida 2020-08-16 20:49:25 +01:00
parent cf7e62b48e
commit b93bcb9a8b
13 changed files with 33 additions and 14 deletions

View file

@ -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]

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
{"Target":"style.main.min.b7c611a93c956592ba774891606aea4461d163bda3f2d097aaab691ae16c5f17.css","MediaType":"text/css","Data":{"Integrity":"sha256-t8YRqTyVZZK6d0iRYGrqRGHRY72j8tCXqqtpGuFsXxc="}}

View file

Before

Width:  |  Height:  |  Size: 465 KiB

After

Width:  |  Height:  |  Size: 465 KiB

View file

@ -1,5 +1,7 @@
<div class="sideSection avatar">
{{ 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>
{{ end }}

View file

@ -1,4 +1,4 @@
{{ if .Site.Data.content.BasicInfo.Contacts }}
<div class="sideSection contact">
<ul>
{{ range .Site.Data.content.BasicInfo.Contacts }}
@ -6,3 +6,4 @@
{{ end }}
</ul>
</div>
{{ end }}

View file

@ -1,3 +1,4 @@
{{ if .Site.Data.content.Diplomas }}
<div class="sideSection">
<div class="sideSection__heading">
<h2 class="sideSection__title">
@ -12,3 +13,4 @@
</ul>
</div>
</div>
{{ end }}

View file

@ -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 }}

View file

@ -1,3 +1,4 @@
{{ if .Site.Data.content.Experience }}
<div id="experience" class="section">
<div class="section__heading">
<h2 class="section__title">
@ -37,3 +38,4 @@
</div>
</div>
</div>
{{ end }}

View file

@ -1,3 +1,4 @@
{{ if .Site.Data.content.Interests }}
<div class="sideSection">
<div class="sideSection__heading">
<h2 class="sideSection__title">
@ -12,3 +13,4 @@
</ul>
</div>
</div>
{{ end }}

View file

@ -1,3 +1,4 @@
{{ if .Site.Data.content.Languages }}
<div class="sideSection">
<div class="sideSection__heading">
<h2 class="sideSection__title">
@ -12,3 +13,4 @@
</ul>
</div>
</div>
{{ end }}

View file

@ -1,3 +1,4 @@
{{ if .Site.Data.content.Profile }}
<div id="profile" class="section">
<div class="section__heading">
<h2 class="section__title">
@ -10,3 +11,4 @@
</p>
</div>
</div>
{{ end }}

View file

@ -1,3 +1,4 @@
{{ if .Site.Data.content.Skills }}
<div class="sideSection">
<div class="sideSection__heading">
<h2 class="sideSection__title">
@ -19,3 +20,4 @@
</ul>
</div>
</div>
{{ end }}