Update Footer
* It's now customizable in config.toml * Remove resume.pdf
This commit is contained in:
parent
60a6100b37
commit
00027c5801
6 changed files with 63 additions and 21 deletions
|
@ -3,8 +3,11 @@
|
||||||
1. ~~Write proper README.~~
|
1. ~~Write proper README.~~
|
||||||
2. Projects Section
|
2. Projects Section
|
||||||
3. Papers Section
|
3. Papers Section
|
||||||
4. Remove side grid from front config file. > Add new scss and an if statement in head. ez.
|
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.
|
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.
|
> 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```
|
* Enable/Disable Sections in ```config.toml```
|
||||||
* Set avatar link in ```config.toml```, keep your image under ```static``` folder if you want.
|
* 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```.
|
* 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
|
# License
|
||||||
|
|
|
@ -1,13 +1,26 @@
|
||||||
footer {
|
footer {
|
||||||
width: 8.25in;
|
width: 8.25in;
|
||||||
margin: 36px auto;
|
margin: 36px auto;
|
||||||
display: block;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
display: flex;
|
||||||
|
flex-flow: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
.link-text {
|
.link-text {
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.footer-item {
|
||||||
|
//I'm doing nothing here.
|
||||||
|
}
|
||||||
|
|
||||||
|
#link::after {
|
||||||
|
content: "\00B7";
|
||||||
|
}
|
||||||
|
|
||||||
|
#link:last-child::after {
|
||||||
|
content: "";
|
||||||
|
}
|
||||||
|
|
||||||
footer {
|
footer {
|
||||||
a {
|
a {
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
baseURL = "/"
|
baseURL = "/"
|
||||||
languageCode = "en-us"
|
languageCode = "en-us"
|
||||||
title = "Résumé | MERT BAKIR"
|
title = "Resume | MERT BAKIR"
|
||||||
disableKinds = ["taxonomy", "term", "page", "section", "RSS", "sitemap", "robotsTXT", "404"]
|
disableKinds = ["taxonomy", "term", "page", "section", "RSS", "sitemap", "robotsTXT", "404"]
|
||||||
theme = "resume-A4"
|
theme = "resume-A4"
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
dateUpdated = "01 September, 2020"
|
|
||||||
useFontAwesome = true
|
useFontAwesome = true
|
||||||
avatar = "avatar.jpg"
|
avatar = "avatar.jpg"
|
||||||
|
|
||||||
|
@ -17,16 +16,30 @@ awards = true
|
||||||
skills = true
|
skills = true
|
||||||
skills_grouped = false
|
skills_grouped = false
|
||||||
interests = true
|
interests = true
|
||||||
contact = true
|
contact = false
|
||||||
tagline = true
|
tagline = true
|
||||||
objective = true
|
objective = false
|
||||||
projects = false
|
projects = false
|
||||||
papers = false
|
papers = false
|
||||||
avatar = true
|
avatar = true
|
||||||
footer = true
|
|
||||||
|
|
||||||
[params.contacts]
|
[params.display.footer]
|
||||||
linkedin = "https://www.linkedin.com/in/mertbakir/"
|
footer = true
|
||||||
gitlab = "https://gitlab.com/mertbakir/resume-A4"
|
links = true
|
||||||
website = "https://mertbakir.gitlab.io/about/"
|
credits = true
|
||||||
download = "resume.pdf"
|
|
||||||
|
[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.footer.links.link]]
|
||||||
|
prefix = "Check out my"
|
||||||
|
name = "Website"
|
||||||
|
url = "https://www.mertbakir.gitlab.io/about"
|
||||||
|
icon = "fas fa-globe"
|
|
@ -64,7 +64,7 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
{{ if .Site.Params.display.footer }}
|
{{ if .Site.Params.display.footer.footer }}
|
||||||
<footer>{{ partial "footer" .}}</footer>
|
<footer>{{ partial "footer" .}}</footer>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -1,6 +1,20 @@
|
||||||
Last updated on {{ .Site.Params.dateUpdated }}<br>
|
{{ if .Site.Params.display.footer.credits }}
|
||||||
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>
|
<span class="footer-item" id="credits">
|
||||||
<br>
|
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>
|
||||||
Contact me on <a href="{{ .Site.Params.contacts.linkedin }}"><span class="link-text">Linkedin </span><i class="fab fa-linkedin"></i></a>
|
</span>
|
||||||
| See, this project at <a href="{{ .Site.Params.contacts.gitlab }}"><span class="link-text">GitLab </span><i class="fab fa-gitlab"></i></a>
|
{{ end }}
|
||||||
| Checkout my <a href="{{ .Site.Params.contacts.website }}"><span class="link-text">Website </span><i class="fas fa-globe"></i></a>
|
|
||||||
|
{{ 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>
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue