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.~~
|
||||
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
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
footer = true
|
||||
|
||||
[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"
|
||||
[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.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 }}
|
||||
</div>
|
||||
</main>
|
||||
{{ if .Site.Params.display.footer }}
|
||||
{{ if .Site.Params.display.footer.footer }}
|
||||
<footer>{{ partial "footer" .}}</footer>
|
||||
{{ end }}
|
||||
</body>
|
||||
|
|
|
@ -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>
|
||||
{{ 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>
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue