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

gitlab.com/mertbakir/resume-a4.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormertbakir <2335694-mertbakir@users.noreply.gitlab.com>2020-09-01 12:10:42 +0300
committermertbakir <mertbakxr@gmail.com>2020-09-01 12:10:42 +0300
commit00027c5801c2204a97fe068bcaedfafbb37dfefb (patch)
tree44ee6a0610254565d9def786f7da996c3eaba26e
parent60a6100b3746c498e1c665164382871dd807b549 (diff)
Update Footer
* It's now customizable in config.toml * Remove resume.pdf
-rw-r--r--README.md8
-rw-r--r--assets/sass/_footer.scss15
-rw-r--r--exampleSite/config.toml31
-rw-r--r--layouts/home.html2
-rw-r--r--layouts/partials/footer.html26
-rw-r--r--static/resume.pdfbin61483 -> 0 bytes
6 files changed, 62 insertions, 20 deletions
diff --git a/README.md b/README.md
index 3ca0091..1da6d39 100644
--- a/README.md
+++ b/README.md
@@ -3,8 +3,11 @@
1. ~~Write proper README.~~
2. Projects Section
3. Papers Section
-4. Remove side grid from front config file. > Add new scss and an if statement in head. ez.
-5. Make footer configurable from config file.
+4. Remove side grid from front config file. > Add new scss and an if statement in head. Should be ez, but I'm not sure if ```/resources``` dependency of theme would be a problem.
+5. ~~Make footer configurable from config file.~~
+6. Add multilanguage option.
+7. I'll write a blog post soon.
+8. Add linkedin in resume header (?)
> I'm open to suggestions or contributions.
@@ -39,7 +42,6 @@ $ git clone https://gitlab.com/mertbakir/resume-a4.git
* Enable/Disable Sections in ```config.toml```
* Set avatar link in ```config.toml```, keep your image under ```static``` folder if you want.
-* Contacts, useFontAwesome, dateUpdated pparameters in the config file are used in footer only, not in the resume itself.
* Save your resume as pdf, put it under ```static``` folder in root directory. Name the pdf as ```resume.pdf``` or set it's name to ```download``` param in ```config.yml```.
# License
diff --git a/assets/sass/_footer.scss b/assets/sass/_footer.scss
index 8beb237..aa86bdb 100644
--- a/assets/sass/_footer.scss
+++ b/assets/sass/_footer.scss
@@ -1,13 +1,26 @@
footer {
width: 8.25in;
margin: 36px auto;
- display: block;
text-align: center;
+ display: flex;
+ flex-flow: column;
}
.link-text {
font-weight: 700;
}
+
+.footer-item {
+ //I'm doing nothing here.
+}
+
+#link::after {
+ content: "\00B7";
+}
+
+#link:last-child::after {
+ content: "";
+}
footer {
a {
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 82617b6..be519f1 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -1,11 +1,10 @@
baseURL = "/"
languageCode = "en-us"
-title = "Résumé | MERT BAKIR"
+title = "Resume | MERT BAKIR"
disableKinds = ["taxonomy", "term", "page", "section", "RSS", "sitemap", "robotsTXT", "404"]
theme = "resume-A4"
[params]
-dateUpdated = "01 September, 2020"
useFontAwesome = true
avatar = "avatar.jpg"
@@ -17,16 +16,30 @@ awards = true
skills = true
skills_grouped = false
interests = true
-contact = true
+contact = false
tagline = true
-objective = true
+objective = false
projects = false
papers = false
avatar = true
+
+[params.display.footer]
footer = true
+links = true
+credits = true
+
+[params.footer]
+footnote = "You can print this resume in A4 size or save as pdf. | Last update on 01.09.2020."
+
+[params.footer.links]
+[[params.footer.links.link]]
+prefix = "Contact me on"
+name = "Linkedin"
+url = "https://www.linkedin.com/in/mertbakir/"
+icon = "fab fa-linkedin"
-[params.contacts]
-linkedin = "https://www.linkedin.com/in/mertbakir/"
-gitlab = "https://gitlab.com/mertbakir/resume-A4"
-website = "https://mertbakir.gitlab.io/about/"
-download = "resume.pdf" \ No newline at end of file
+[[params.footer.links.link]]
+prefix = "Check out my"
+name = "Website"
+url = "https://www.mertbakir.gitlab.io/about"
+icon = "fas fa-globe" \ No newline at end of file
diff --git a/layouts/home.html b/layouts/home.html
index 0be6907..8b115fb 100644
--- a/layouts/home.html
+++ b/layouts/home.html
@@ -64,7 +64,7 @@
{{ end }}
</div>
</main>
- {{ if .Site.Params.display.footer }}
+ {{ if .Site.Params.display.footer.footer }}
<footer>{{ partial "footer" .}}</footer>
{{ end }}
</body>
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 16249c6..86947fe 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,6 +1,20 @@
-Last updated on {{ .Site.Params.dateUpdated }}<br>
-This page is print friendly, you can print via your browser or <a href="{{ .Site.Params.contacts.download }}"><span class="link-text">Download <span><i class="fas fa-save"></i></a>
-<br>
-Contact me on <a href="{{ .Site.Params.contacts.linkedin }}"><span class="link-text">Linkedin </span><i class="fab fa-linkedin"></i></a>
-| See, this project at <a href="{{ .Site.Params.contacts.gitlab }}"><span class="link-text">GitLab </span><i class="fab fa-gitlab"></i></a>
-| Checkout my <a href="{{ .Site.Params.contacts.website }}"><span class="link-text">Website </span><i class="fas fa-globe"></i></a> \ No newline at end of file
+{{ if .Site.Params.display.footer.credits }}
+<span class="footer-item" id="credits">
+Resume-A4 project is open-sourced by <a href="https://gitlab.com/mertbakir/resume-A4"><span class="link-text">Mert Bakır </span><i class="fab fa-gitlab"></i></a>
+</span>
+{{ end }}
+
+{{ if .Site.Params.display.footer.links }}
+<span class="footer-item">
+ {{ range .Site.Params.footer.links.link }}
+<span id="link">
+ {{ .prefix }} <a href="{{.url}}"><span class="link-text">{{.name}} </span>
+ {{ if $.Site.Params.useFontAwesome }}<i class="{{.icon}}"></i>{{ end }}
+ </a></span>
+ {{ end }}
+</span>
+{{ end }}
+
+<span class="footer-item">
+ {{ .Site.Params.footer.footnote }}
+</span>
diff --git a/static/resume.pdf b/static/resume.pdf
deleted file mode 100644
index c94527d..0000000
--- a/static/resume.pdf
+++ /dev/null
Binary files differ